3.10 Configure, verify, and troubleshoot single area and multi-area OSPFv3 for IPv6 (excluding authentication, filtering, manual summarization, redistribution, stub, virtual-link, and LSAs)

Starting with the following network:

Screenshot_2018-04-21_16-23-59.png

Configuring OSPFv3 for IPv6 is very similar to the IPv4 configuration:

First configure a router ID and enable IPv6 routing:

Router(config)ipv6 unicast-routing
Router(config)#ipv6 router ospf 1 
Router(config-rtr)#router-id 1.1.1.1

Building configuration…

Configure interfaces and enable OSPFv3 on each interface:

Router(config-if)#ipv6 address 2001:db8:0:3::/64 eui-64 
Router(config-if)#ipv6 ospf 1 area 0
Router(config-if)#no shutdown

Use the same “show” commands. Except use “ipv6” instead of “ip”.

Router#show ipv6 route
IPv6 Routing Table - Default - 6 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
 B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
 I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
 D - EIGRP, EX - EIGRP external
 O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C 2001:DB8:0:1::/64 [0/0]
 via GigabitEthernet0/0, directly connected
L 2001:DB8:0:1:C801:16FF:FE67:8/128 [0/0]
 via GigabitEthernet0/0, receive
O 2001:DB8:0:2::/64 [110/2]
 via FE80::C802:16FF:FE76:8, GigabitEthernet0/0
 via FE80::C803:16FF:FE85:1C, GigabitEthernet1/0
C 2001:DB8:0:3::/64 [0/0]
 via GigabitEthernet1/0, directly connected
L 2001:DB8:0:3:C801:16FF:FE67:1C/128 [0/0]
 via GigabitEthernet1/0, receive
L FF00::/8 [0/0]
 via Null0, receive
Router#show ipv6 protocols
IPv6 Routing Protocol is "connected"
IPv6 Routing Protocol is "ospf 1"
 Interfaces (Area 0):
 GigabitEthernet1/0
 GigabitEthernet0/0
 Redistribution:
 None
Router#show ipv6 ospf 
 Routing Process "ospfv3 1" with ID 1.1.1.1
 SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
 Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
 LSA group pacing timer 240 secs
 Interface flood pacing timer 33 msecs
 Retransmission pacing timer 66 msecs
 Number of external LSA 0. Checksum Sum 0x000000
 Number of areas in this router is 1. 1 normal 0 stub 0 nssa
 Reference bandwidth unit is 100 mbps
 Area BACKBONE(0)
 Number of interfaces in this area is 2
 SPF algorithm executed 3 times
 Number of LSA 13. Checksum Sum 0x08DDED
 Number of DCbitless LSA 0
 Number of indication LSA 0
 Number of DoNotAge LSA 0
 Flood list length 0

Router#

To debug OSPFv3 use similar debug commands:

Router#debug ipv6 ospf e
Router#debug ipv6 ospf events 
 OSPFv3 events debugging is on
Router#debug ipv6 ospf adj 
 OSPFv3 adjacency events debugging is on
Router#
*Apr 21 17:02:23.835: Insert LSA 5 adv_rtr 2.2.2.2, type 0x2002 in maxage
*Apr 21 17:02:23.835: Insert LSA 5120 adv_rtr 2.2.2.2, type 0x2009 in maxage
*Apr 21 17:02:27.239: OSPFv3: Cannot see ourself in hello from 2.2.2.2 on GigabitEthernet0/0, state INIT
*Apr 21 17:02:27.243: OSPFv3: Neighbor change Event on interface GigabitEthernet0/0
*Apr 21 17:02:27.243: OSPFv3: DR/BDR election on GigabitEthernet0/0 
*Apr 21 17:02:27.243: OSPFv3: Elect BDR 1.1.1.1
*Apr 21 17:02:27.247: OSPFv3: Elect DR 1.1.1.1
*Apr 21 17:02:27.247: OSPFv3: Elect BDR 0.0.0.0
*Apr 21 17:02:27.247: OSPFv3: Elect DR 1.1.1.1
*Apr 21 17:02:27.247: DR: 1.1.1.1 (Id) BDR: none 
*Apr 21 17:02:27.247: OSPFv3: Remember old DR 2.2.2.2 (id)
*Apr 21 17:02:27.271: OSPFv3: 2 Way Communication to 2.2.2.2 on GigabitEthernet0/0, state 2WAY
*Apr 21 17:02:27.275: OSPFv3: Neighbor change Event on interface GigabitEthernet0/0
*Apr 21 17:02:27.275: OSPFv3: DR/BDR election on GigabitEthernet0/0 
*Apr 21 17:02:27.275: OSPFv3: Elect BDR 2.2.2.2
*Apr 21 17:02:27.275: OSPFv3: Elect DR 1.1.1.1
*Apr 21 17:02:27.275: DR: 1.1.1.1 (Id) BDR: 2.2.2.2 (Id)
*Apr 21 17:02:27.275: OSPFv3: GigabitEthernet0/0 Nbr 2.2.2.2: Prepare dbase exchange
*Apr 21 17:02:27.275: OSPFv3: Send DBD to 2.2.2.2 on GigabitEthernet0/0 seq 0x7A7 opt 0x0013 flag 0x7 len 28
*Apr 21 17:02:32.075: OSPFv3: Send DBD to 2.2.2.2 on GigabitEthernet0/0 seq 0x7A7 opt 0x0013 flag 0x7 len 28
*Apr 21 17:02:32.075: OSPFv3: Retransmitting DBD to 2.2.2.2 on GigabitEthernet0/0 [1]
*Apr 21 17:02:32.263: OSPFv3: Rcv DBD from 2.2.2.2 on GigabitEthernet0/0 seq 0xD64 opt 0x0013 flag 0x7 len 28 mtu 1500 state EXSTART
*Apr 21 17:02:32.267: OSPFv3: NBR Negotiation Done. We are the SLAVE
*Apr 21 17:02:32.267: OSPFv3: GigabitEthernet0/0 Nbr 2.2.2.2: Summary list built, size 11
*Apr 21 17:02:32.267: OSPFv3: Send DBD to 2.2.2.2 on GigabitEthernet0/0 seq 0xD64 opt 0x0013 flag 0x2 len 248
*Apr 21 17:02:32.279: OSPFv3: Rcv DBD from 2.2.2.2 on GigabitEthernet0/0 seq 0xD65 opt 0x0013 flag 0x1 len 248 mtu 1500 state EXCHANGE
*Apr 21 17:02:32.283: OSPFv3: Exchange Done with 2.2.2.2 on GigabitEthernet0/0
*Apr 21 17:02:32.283: OSPFv3: Send LS REQ to 2.2.2.2 length 12 LSA count 1
*Apr 21 17:02:32.283: OSPFv3: Send DBD to 2.2.2.2 on GigabitEthernet0/0 seq 0xD65 opt 0x0013 flag 0x0 len 28
*Apr 21 17:02:32.319: OSPFv3: Rcv LS UPD from 2.2.2.2 on GigabitEthernet0/0 length 76 LSA count 1
*Apr 21 17:02:32.319: OSPFv3: Synchronized with 2.2.2.2 on GigabitEthernet0/0, state FULL
*Apr 21 17:02:32.323: %OSPFv3-5-ADJCHG: Process 1, Nbr 2.2.2.2 on GigabitEthernet0/0 from LOADING to FULL, Loading Done
*Apr 21 17:02:32.823: Insert LSA 0 adv_rtr 1.1.1.1, type 0x2009 in maxage
*Apr 21 17:02:33.835: OSPFv3: service_maxage: Trying to delete MAXAGE LSA
*Apr 21 17:02:33.835: processing 2.2.2.2/5, type 2002
*Apr 21 17:02:33.835: free check failed 0 0 0 0 0 0 1
*Apr 21 17:02:33.835: processing 2.2.2.2/1400, type 2009
*Apr 21 17:02:33.839: free check failed 0 0 0 0 0 0 1
*Apr 21 17:02:33.839: processing 1.1.1.1/0, type 2009
*Apr 21 17:02:33.839: free check failed 0 0 0 0 0 0 1
*Apr 21 17:02:34.503: Insert LSA 0 adv_rtr 2.2.2.2, type 0x2009 in maxage
*Apr 21 17:02:35.379: free check failed 0 0 0 0 0 0 1
*Apr 21 17:02:35.383: Insert LSA 0 adv_rtr 1.1.1.1, type 0x2009 in maxage

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s