Configuring default external routes

  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the ipv6 router ospf command to enter OSPFv3 router configuration mode and enable OSPFv3 globally.
    device(config)# ipv6 router ospf
  3. Enter the default-information-originate command with the always, metric, and metric-type parameters.
    device(config-ipv6-router-ospf-vrf-default-vrf)# default-information-originate always metric 2 metric-type type1
    A default type 1 external route with a metric of 2 is created and advertised.

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