This example shows how to configure the information to be applied to routes learned from RTM in SEFOS1. The IPv6 address prefix is 3333::1111:0:0, with a length of 96. A metric value of 100 is applied to the route before it is advertised to the OSPFv3 domain. A tag with the value 10 is applied to the sample route.
SEFOS# configure terminal SEFOS(config)# ipv6 router ospf
SEFOS(config-router)# redistribute static
SEFOS(config-router)# redist-config 3333::1111:0:0 96 metric-value 100 metric-type asExttype1 tag 10 SEFOS(config-router)# exit
SEFOS(config)# ipv6 route 3333::1111:0:0 96 fec0::1111:0:2 SEFOS(config)# end SEFOS#
An external LSA is generated for 3333::1111:0:0 with metric as 100, metric type as asExtType1, and tag as 10.
SEFOS# show ipv6 ospf database as-external detail Age: 0 Seconds LS Type: External Lsa Link State Id: 0.0.0.1 Adv Rtr Id: 10.0.0.1 Sequence: 0x80000001 Checksum: 0x6151 Length: 60 Metric Type: Ext Type1 Metric: 0x64 Prefix Length: 96 Prefix Options: 0x00 Referenced LS Type: 0 Addres Prefix: 3333::1111:0:0 Fw Addres Prefix: 3333::1111:fec0:0 External Route Tag: 10
View the external route 3333::1111:0:0 with metric as 101.
SEFOS# show ipv6 ospf route OSPFV3 Process Routing Table Dest/Prefix-Length NextHop/IfIndex Cost Rt.Type Area 3333::1111:0:0/96 fec0::1111:0:2/vlan11 101 type1Ext 0.0.0.0 fec0::1111:0:0/96 ::/vlan11 1 intraArea 0.0.0.0 fec0::4444:0:0/96 ::/vlan4 1 intraArea 0.0.0.3