Chapter 7 OSPFv3 Configuration
S2(config-if-loopback5)#exit
S2(config)#ipv6 router ospf 1
S2(config-ospfv3-1)#router-id 10.10.10.10
S2(config-ospfv3-1)#interface vlan10
area 0
S2(config-ospfv3-1-if-vlan10)#exit
S2(config-ospfv3-1)#interface loopback5 area 0
S2(config-ospfv3-1-if-loopback5)#exit
S2(config-ospfv3-1)#exit
Configuration Verification
After completing the above configuration, run the commands
show ipv6 ospf neighbor
and
show ipv6 forwarding route
on each router to check the established neighbors and routes.
Ping the peer loopback interface from each router. If both routers can ping the loopback
interface of the peer router, the configuration is successful.
Check and verify the configuration results as follows on S1:
S1(config)#show ipv6 ospf neighbor
OSPFv3 Process 1
Neighbor ID
Pri
State
Dead Time
Interface ID
Interface
10.10.10.10
1
FULL/BDR
00:00:35
46
vlan10
S1#show ipv6 forwarding route 3550::55
IPv6 Routing Table:
Dest
Owner
Metric
Interface
Pri
Gw
3550::55/128 ospf6
10
vlan10
0
fe80:12::2d0:d0ff:feaf:cc10
S1#ping6 3550::55
sending 5,100-byte ICMP echoes to 3550::55,timeout is 2 seconds.
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 0/0/0 ms.
Check and verify the configuration results as follows on S2:
S2(config)#show ipv6 ospf neighbor
OSPFv3 Process 1
Neighbor ID
Pri
State
Dead Time
Interface ID
Interface
11.11.11.11
1
FULL/DR
00:00:37
18
vlan10
S2#show ipv6 forwarding route 3555::55
IPv6 Routing Table:
Dest
Owner
Metric
Interface
Pri
Gw
3555::55/128
ospf6
0
vlan10
0
fe80:2e::2d0:d0ff:fe78:99dd
S2#ping6 3555::55
sending 5,100-byte ICMP echoes to 3555::55,timeout is 2 seconds.
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 0/0/0 ms.
7-15
SJ-20150114102049-011|2015-01-15 (R1.0)
ZTE Proprietary and Confidential