Step 3: Verify Neighbors or Adjacencies at the IP Layer
Action
To verify neighbors (OSPF) or adjacencies (IS-IS), enter the following commands from the ingress, transit, and egress routers:
user@host>show ospf neighbor extensiveuser@host>show isis adjacency extensiveSample Output 1
user@R1>show ospf neighbor extensiveAddress Interface State ID Pri Dead10.1.12.2 so-0/0/0.0 Full 10.0.0.2 128 34area 0.0.0.0, opt 0x42, DR 0.0.0.0, BDR 0.0.0.0Up 1d 04:45:20, adjacent 1d 04:45:2010.1.15.2 so-0/0/1.0 Full 10.0.0.5 128 35area 0.0.0.0, opt 0x42, DR 0.0.0.0, BDR 0.0.0.0Up 1d 04:45:20, adjacent 1d 04:45:10<<< no adjacency with R3 so-0/0/2user@R3>show ospf neighbor extensiveAddress Interface State ID Pri Dead10.1.23.1 so-0/0/1.0 Full 10.0.0.2 128 35area 0.0.0.0, opt 0x42, DR 0.0.0.0, BDR 0.0.0.0Up 1w2d 04:54:30, adjacent 1w2d 04:54:2110.1.36.2 so-0/0/3.0 Full 10.0.0.6 128 39area 0.0.0.0, opt 0x42, DR 0.0.0.0, BDR 0.0.0.0Up 1w2d 04:54:30, adjacent 1w2d 04:54:30<<< no adjacency with R1 so-0/0/2user@R6>show ospf neighbor extensiveAddress Interface State ID Pri Dead10.1.56.1 so-0/0/0.0 Full 10.0.0.5 128 39area 0.0.0.0, opt 0x42, DR 0.0.0.0, BDR 0.0.0.0Up 1d 02:59:35, adjacent 1d 02:59:3510.1.26.1 so-0/0/2.0 Full 10.0.0.2 128 36area 0.0.0.0, opt 0x42, DR 0.0.0.0, BDR 0.0.0.0Up 1w2d 04:57:30, adjacent 1w2d 04:57:3010.1.36.1 so-0/0/3.0 Full 10.0.0.3 128 36area 0.0.0.0, opt 0x42, DR 0.0.0.0, BDR 0.0.0.0Up 1w2d 04:56:11, adjacent 1w2d 04:56:11Sample Output 2
user@R1>show isis adjacency extensiveR2Interface: so-0/0/0.0,Level: 2, State: Up, Expires in 23 secsPriority: 0, Up/Down transitions: 1, Last transition: 05:57:16 agoCircuit type: 2,Speaks: IP, IPv6Topologies: UnicastRestart capable: YesIP addresses: 10.1.12.2Transition log:When State ReasonFri Oct 15 14:58:35 Up SeenselfR5Interface: so-0/0/1.0,Level: 2, State: Up, Expires in 26 secsPriority: 0, Up/Down transitions: 1, Last transition: 05:56:52 agoCircuit type: 2,Speaks: IP, IPv6Topologies: UnicastRestart capable: YesIP addresses: 10.1.15.2Transition log:When State ReasonFri Oct 15 14:59:00 Up SeenselfR3Interface: so-0/0/2.0, Level: 2, State: Up, Expires in 26 secsPriority: 0, Up/Down transitions: 1, Last transition: 05:56:51 agoCircuit type: 2,Speaks: IP, IPv6Topologies: UnicastRestart capable: YesIP addresses: 10.1.13.2Transition log:When State ReasonFri Oct 15 14:59:01 Up Seenselfuser@R3>show isis adjacency extensiveR4Interface: so-0/0/0.0,Level: 2, State: Up, Expires in 25 secsPriority: 0, Up/Down transitions: 1, Last transition: 1w1d 00:22:51 agoCircuit type: 2,Speaks: IP, IPv6Topologies: UnicastRestart capable: YesIP addresses: 10.1.34.2Transition log:When State ReasonThu Oct 28 15:13:12 Up SeenselfR2Interface: so-0/0/1.0,Level: 2, State: Up, Expires in 25 secsPriority: 0, Up/Down transitions: 1, Last transition: 2w2d 18:02:48 agoCircuit type: 2,Speaks: IP, IPv6Topologies: UnicastRestart capable: YesIP addresses: 10.1.23.1Transition log:When State ReasonTue Oct 19 21:33:15 Up SeenselfR1Interface: so-0/0/2.0,Level: 2, State: Up, Expires in 22 secsPriority: 0, Up/Down transitions: 1, Last transition: 2w2d 17:24:06 agoCircuit type: 2,Speaks: IP, IPv6Topologies: UnicastRestart capable: YesIP addresses: 10.1.13.1Transition log:When State ReasonTue Oct 19 22:11:57 Up SeenselfR6Interface: so-0/0/3.0,Level: 2, State: Up, Expires in 21 secsPriority: 0, Up/Down transitions: 1, Last transition: 2w1d 00:07:00 agoCircuit type: 2,Speaks: IP, IPv6Topologies: UnicastRestart capable: YesIP addresses: 10.1.36.2Transition log:When State ReasonThu Oct 21 15:29:03 Up Seenselfuser@R6>show isis adjacency extensiveR5Interface: so-0/0/0.0,Level: 2, State: Up, Expires in 23 secsPriority: 0, Up/Down transitions: 1, Last transition: 1w2d 01:10:03 agoCircuit type: 2,Speaks: IP, IPv6Topologies: UnicastRestart capable: YesIP addresses: 10.1.56.1Transition log:When State ReasonWed Oct 27 14:35:32 Up SeenselfR4Interface: so-0/0/1.0,Level: 2, State: Up, Expires in 25 secsPriority: 0, Up/Down transitions: 1, Last transition: 1w1d 00:26:50 agoCircuit type: 2,Speaks: IP, IPv6Topologies: UnicastRestart capable: YesIP addresses: 10.1.46.1Transition log:When State ReasonThu Oct 28 15:18:45 Up SeenselfR2Interface: so-0/0/2.0,Level: 2, State: Up, Expires in 24 secsPriority: 0, Up/Down transitions: 1, Last transition: 2w1d 00:11:40 agoCircuit type: 2,Speaks: IP, IPv6Topologies: UnicastRestart capable: YesIP addresses: 10.1.26.1Transition log:When State ReasonThu Oct 21 15:33:55 Up SeenselfR3Interface: so-0/0/3.0,Level: 2, State: Up, Expires in 19 secsPriority: 0, Up/Down transitions: 1, Last transition: 2w1d 00:11:40 agoCircuit type: 2,Speaks: IP, IPv6Topologies: UnicastRestart capable: YesIP addresses: 10.1.36.1Transition log:When State ReasonThu Oct 21 15:33:55 Up SeenselfWhat It Means
Sample Output 1 from the ingress, transit, and egress routers shows that
R1andR3are not established OSPF neighbors. Considering that the two interfacesso-0/0/2.0(R1andR3) are configured with identical IP addresses, you would expect this. The OSPF protocol routes IP packets based solely on the destination IP address contained in the IP packet header. Therefore, identical IP addresses in the autonomous system (AS) result in neighbors not establishing.Sample Output 2 from the ingress, transit, and egress routers shows that
R1andR3have established an IS-IS adjacency despite the identical IP addresses configured on interfacesso-0/0/2.0onR1andR3. The IS-IS protocol behaves differently from the OSPF protocol because it does not rely on IP to establish an adjacency. However, if the LSP is not up, it is still useful to check the IP subnet addressing in case there is a mistake in that layer. Correcting the addressing error might bring the LSP back up.