device# configure terminal
device(config)# ipv6 router ospf
device(config-ipv6-router-ospf-vrf-default-vrf)# default-information-originate always metric 2 metric-type type1
The following example creates and advertises a default route with a metric of 2 and a type 1 external route.
device# configure terminal device(config)# ipv6 router ospf device(config-ipv6-router-ospf-vrf-default-vrf)# default-information-originate always metric 2 metric-type type1