Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Verification
Purpose
The following verification commands (with sample output) can be used to confirm OSPF configuration in the data center.
Results
- Verify that all OSPF sessions are up (command outputs
provided for all configured routers).
root@VDC-edge-r01-re0>show ospf neighbor
Address Interface State ID Pri Dead 192.168.1.2 ae0.0 Full 192.168.168.2 254 38 192.168.26.3 irb.0 Full 192.168.168.3 128 39 192.168.26.2 irb.0 Full 192.168.168.2 254 37
root@VDC-edge-r2-re0>show ospf neighbor
Address Interface State ID Pri Dead 192.168.1.1 ae0.0 Full 192.168.168.1 254 35 192.168.26.3 irb.0 Full 192.168.168.3 128 34 192.168.26.1 irb.0 Full 192.168.168.1 254 39
root@VDC-edge-fw01-n1>show ospf neighbor
Address Interface State ID Pri Dead 192.168.25.2 reth0.0 Full 192.168.168.5 255 34 192.168.25.1 reth0.0 Full 192.168.168.4 255 35 192.168.26.2 reth1.0 Full 192.168.168.2 254 35 192.168.26.1 reth1.0 Full 192.168.168.1 254 36
root@VDC-core-sw1-re0>show ospf neighbor
Address Interface State ID Pri Dead 192.168.2.2 ae20.0 Full 192.168.168.5 255 33 192.168.25.2 irb.10 Full 192.168.168.5 255 39 192.168.25.3 irb.10 Full 192.168.168.3 128 39 192.168.50.2 irb.50 Full 192.168.168.5 255 35 192.168.50.3 irb.50 Full 192.168.168.6 128 37 192.168.51.2 irb.51 Full 192.168.168.5 255 36 192.168.51.3 irb.51 Full 192.168.168.6 128 35 192.168.52.2 irb.52 Full 192.168.168.5 255 38 192.168.52.3 irb.52 Full 192.168.168.6 128 31 192.168.53.2 irb.53 Full 192.168.168.5 255 37 192.168.53.3 irb.53 Full 192.168.168.6 128 33 192.168.54.2 irb.54 Full 192.168.168.5 255 34 192.168.54.3 irb.54 Full 192.168.168.7 128 36 192.168.55.2 irb.55 Full 192.168.168.5 255 33 192.168.55.3 irb.55 Full 192.168.168.7 128 35 192.168.20.2 irb.20 Full 192.168.168.5 255 39 192.168.20.3 irb.20 Full 192.168.168.20 128 39
root@VDC-core-sw2-re0>show ospf neighbor
Address Interface State ID Pri Dead 192.168.2.1 ae20.0 Full 192.168.168.4 255 38 192.168.25.1 irb.10 Full 192.168.168.4 255 32 192.168.25.3 irb.10 Full 192.168.168.3 128 31 192.168.50.3 irb.50 Full 192.168.168.6 128 38 192.168.50.1 irb.50 Full 192.168.168.4 255 34 192.168.51.1 irb.51 Full 192.168.168.4 255 39 192.168.51.3 irb.51 Full 192.168.168.6 128 37 192.168.52.1 irb.52 Full 192.168.168.4 255 35 192.168.52.3 irb.52 Full 192.168.168.6 128 33 192.168.53.1 irb.53 Full 192.168.168.4 255 39 192.168.53.3 irb.53 Full 192.168.168.6 128 34 192.168.54.1 irb.54 Full 192.168.168.4 255 35 192.168.54.3 irb.54 Full 192.168.168.7 128 38
root@VDC-pod1-sw1>show ospf neighbor
Address Interface State ID Pri Dead 192.168.50.2 vlan.50 Full 192.168.168.5 255 34 192.168.50.1 vlan.50 Full 192.168.168.4 255 39 192.168.51.2 vlan.51 Full 192.168.168.5 255 35 192.168.51.1 vlan.51 Full 192.168.168.4 255 39 192.168.52.2 vlan.52 Full 192.168.168.5 255 36 192.168.52.1 vlan.52 Full 192.168.168.4 255 35 192.168.53.2 vlan.53 Full 192.168.168.5 255 37 192.168.53.1 vlan.53 Full 192.168.168.4 255 38 192.168.55.1 irb.55 Full 192.168.168.4 255 32 192.168.55.3 irb.55 Full 192.168.168.7 128 37 192.168.20.1 irb.20 Full 192.168.168.4 255 34 192.168.20.3 irb.20 Full 192.168.168.20 128 31
root@VDC-pod2-m00-me4>show ospf neighbor
Address Interface State ID Pri Dead 192.168.54.2 irb.54 Full 192.168.168.5 255 35 192.168.54.1 irb.54 Full 192.168.168.4 255 31 192.168.55.2 irb.55 Full 192.168.168.5 255 33 192.168.55.1 irb.55 Full 192.168.168.4 255 33
- Verify OSPF conditional default route advertisement.
root@VDC-core-sw1-re0>show route 0/0
inet.0: 84 destinations, 87 routes (84 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0.0.0.0/0 *[OSPF/150] 15:58:16, metric 1025, tag 0 > to 192.168.25.3 via irb.10
root@VDC-core-sw2-re0>show route protocol ospf 0/0
inet.0: 84 destinations, 87 routes (84 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0.0.0.0/0 *[OSPF/150] 15:55:51, metric 1025, tag 0 > to 192.168.25.3 via irb.10
root@VDC-pod1-sw1>show route protocol ospf 0/0
inet.0: 24 destinations, 24 routes (24 active, 0 holddown, 0 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 0.0.0.0/0 *[OSPF/10] 15:57:29, metric 1100 > to 192.168.50.1 via vlan.50 to 192.168.50.2 via vlan.50 to 192.168.51.1 via vlan.51 to 192.168.51.2 via vlan.51 to 192.168.52.1 via vlan.52 to 192.168.52.2 via vlan.52 to 192.168.53.1 via vlan.53 to 192.168.53.2 via vlan.53
root@VDC-pod2-m00-me4>show route protocol ospf 0/0
inet.0: 29 destinations, 29 routes (29 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0.0.0.0/0 *[OSPF/10] 15:57:30, metric 1100 to 192.168.54.1 via irb.54 > to 192.168.54.2 via irb.54 to 192.168.55.1 via irb.55 to 192.168.55.2 via irb.55
- Verify OSPF LFA routes.
root@VDC-edge-r01-re0>show ospf backup coverage
Topology default coverage: Node Coverage: Area Covered Total Percent Nodes Nodes Covered 0.0.0.1 2 4 50.00% Route Coverage: Path Type Covered Total Percent Routes Routes Covered Intra 4 7 57.14% Inter 0 32 0.00% Ext1 1 1 100.00% Ext2 1 3 33.33% All 6 43 13.95%
root@VDC-edge-r2-re0%cli
{master}
root@VDC-edge-r2-re0>show ospf backup coverage
Topology default coverage: Node Coverage: Area Covered Total Percent Nodes Nodes Covered 0.0.0.1 1 4 25.00% Route Coverage: Path Type Covered Total Percent Routes Routes Covered Intra 2 7 28.57% Inter 0 32 0.00% Ext1 1 1 100.00% Ext2 0 3 0.00% All 3 43 6.98%
root@VDC-core-sw1-re0>show ospf backup coverage
Topology default coverage: Node Coverage: Area Covered Total Percent Nodes Nodes Covered 0.0.0.0 0 1 0.00% 0.0.0.1 0 4 0.00% 0.0.0.10 2 2 100.00% 0.0.0.11 2 2 100.00% 0.0.0.2 0 2 0.00% Route Coverage: Path Type Covered Total Percent Routes Routes Covered Intra 16 39 41.03% Inter 0 0 100.00% Ext1 0 1 0.00% Ext2 0 3 0.00% All 16 43 37.21%
root@VDC-core-sw2-re0>show ospf backup coverage
Topology default coverage: Node Coverage: Area Covered Total Percent Nodes Nodes Covered 0.0.0.0 0 1 0.00% 0.0.0.1 0 4 0.00% 0.0.0.10 2 2 100.00% 0.0.0.11 2 2 100.00% 0.0.0.2 0 2 0.00% Route Coverage: Path Type Covered Total Percent Routes Routes Covered Intra 16 39 41.03% Inter 0 0 100.00% Ext1 0 1 0.00% Ext2 0 3 0.00% All 16 43 37.21%
root@VDC-pod2-m00-me4>show ospf backup coverage
Topology default coverage: Node Coverage: Area Covered Total Percent Nodes Nodes Covered 0.0.0.11 2 2 100.00% Route Coverage: Path Type Covered Total Percent Routes Routes Covered Intra 2 7 28.57% Inter 1 1 100.00% Ext1 0 0 100.00% Ext2 0 0 100.00% All 3 8 37.50%