Traditional OSPFv3 implements OSPF routing for IPv6. In this part of the lab, you will configure traditional OSPFv3 for routing IPv6 on D1, which is in the IPv6-only area.
a. OSPFv3 messages are sourced from the router’s IPv6 link-local address. Earlier in this lab, IPv6 GUA and link-local addresses were statically configured on each router’s interface. The link-local addresses were statically configured to make these addresses more recognizable than being automatically created using EUI-64. Issue the show ipv6 interface brief command to verify the GUA and link-local addresses on the router’s interfaces.
Open configuration window
D1# show ipv6 interface brief <output omitted> GigabitEthernet0/1 [up/up] FE80::D1:2 2001:DB8:ACAD:1001::2 <output omitted> GigabitEthernet0/3 [up/up] FE80::D1:1 2001:DB8:ACAD:1002::1 <output omitted> |
b. IPv6 routing is disabled by default. Enable IPv6 routing using the ipv6 unicast-routing command in global configuration mode.
D1(config)# ipv6 unicast-routing |
c. Most Cisco IOS versions have IPv6 CEF enabled by default when IPv6 routing is enabled. Use the show ipv6 cef command to verify whether IPv6 CEF is enabled. If you need to enable IPv6 CEF, use the ipv6 cef command. If IPv6 CEF is disabled you will see the an IOS message similar to “%IPv6 CEF not running”.
D1# show ipv6 cef ::/0 no route ::/127 discard 2001:DB8:ACAD:1001::/64 attached to GigabitEthernet0/1 2001:DB8:ACAD:1001::2/128 receive for GigabitEthernet0/1 2001:DB8:ACAD:1002::/64 attached to GigabitEthernet0/3 2001:DB8:ACAD:1002::1/128 receive for GigabitEthernet0/3 FE80::/10 receive for Null0 FF00::/8 multicast FF02::/16 receive |
d. Configure the OSPFv3 process on D1. Similar to OSPFv2, the process ID does not have to match other routers to form neighbor adjacencies, although that is considered best practice. Configure the 32-bit OSPFv3 router ID on each router. Enable OSPFv3 directly on the interfaces using the interface ipv6 ospf pid area area command.
D1(config)# ipv6 unicast-routing D1(config)# ipv6 router ospf 123 D1(config-rtr)# router-id 1.1.1.2 D1(config-rtr)# exit D1(config)# interface g0/1 D1(config-if)# ipv6 ospf 123 area 1 D1(config-if)# exit D1(config)# interface g0/3 D1(config-if)# ipv6 ospf 123 area 1 D1(config-if)# exit |
e. The show ipv6 ospf command can be used to verify the OSPF router ID. If the OSPFv3 router ID is uses a 32-bit value other than the one specified by the router-id command, you can reset the router ID by using the clear ipv6 ospf pid process command and re-verify using the command show ipv6 ospf.
D1# show ipv6 ospf Routing Process “ospfv3 123” with ID 1.1.1.2 Supports NSSA (compatible with RFC 3101) Supports Database Exchange Summary List Optimization (RFC 5243) Event-log enabled, Maximum number of events: 1000, Mode: cyclic Router is not originating router-LSAs with maximum metric Initial SPF schedule delay 50 msecs Minimum hold time between two consecutive SPFs 200 msecs Maximum wait time between two consecutive SPFs 5000 msecs Initial LSA throttle delay 50 msecs Minimum hold time for LSA throttle 200 msecs Maximum wait time for LSA throttle 5000 msecs Minimum LSA arrival 100 msecs LSA group pacing timer 240 secs Interface flood pacing timer 33 msecs Retransmission pacing timer 66 msecs Retransmission limit dc 24 non-dc 24 EXCHANGE/LOADING adjacency limit: initial 300, process maximum 300 Number of external LSA 0. Checksum Sum 0x000000 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Graceful restart helper support enabled Reference bandwidth unit is 100 mbps RFC1583 compatibility enabled Area 1 Number of interfaces in this area is 2 SPF algorithm executed 5 times Number of LSA 12. Checksum Sum 0x0486C1 Number of DCbitless LSA 0 Number of indication LSA 0 Number of DoNotAge LSA 0 Flood list length 0 |
f. The show ipv6 protocols command can be used to verify general OSPFv3 information such as areas and enabled interfaces.
D1# show ipv6 protocols IPv6 Routing Protocol is “connected” IPv6 Routing Protocol is “ND” IPv6 Routing Protocol is “ospf 123” Router ID 1.1.1.2 Number of areas: 1 normal, 0 stub, 0 nssa Interfaces (Area 1): GigabitEthernet0/3 GigabitEthernet0/1 Redistribution: None |