Verifying OSPF and VRRP Configuration Status

  1. Verify the OSPF (Open Shortest Path First) neighbor adjacencies are established and that the DR and BDR status is correct.
  2. Verify that the VRRP (Virtual Router Redundancy Protocol) virtual router (VR) is running and the VRRP master/backup status is correct.

    OSPF and VRRP verification example:

    * AGG-SWITCH#1.35 # show ospf neighbor
    Neighbor ID Pri State Up/Dead Time Address Interface
    172.16.1.2 100 FULL /BDR 00:18:01:08/00:00:00:03 172.16.3.2 orange-1
    172.16.1.2 100 FULL /BDR 00:18:01:08/00:00:00:03 172.16.4.2 red-1
    172.16.1.2 100 FULL /BDR 00:17:54:17/00:00:00:03 172.16.1.2 green-1
    172.16.1.2 100 FULL /BDR 00:17:54:07/00:00:00:03 172.16.2.2 purple-1
    * AGG-SWITCH#1.36 # show vrrp
    VLAN Name VRID Pri Virtual IP Addr State Master Mac Address TP/TR/TV/P/T
    green-1(En) 0001 110 172.16.1.254 MSTR 00:00:5e:00:01:01 0 0 0 Y 1
    purple-(En) 0001 110 172.16.2.254 MSTR 00:00:5e:00:01:01 0 0 0 Y 1
    orange-(En) 0001 110 172.16.3.254 MSTR 00:00:5e:00:01:01 0 0 0 Y 1
    red-1(En) 0001 110 172.16.4.254 MSTR 00:00:5e:00:01:01 0 0 0 Y 1
    En-Enabled, Ds-Disabled, Pri-Priority, T-Advert Timer, P-Preempt
    TP-Tracked Pings, TR-Tracked Routes, TV-Tracked VLANs
    * AGG-SWITCH#2.35 # show ospf neighbor
    Neighbor ID Pri State Up/Dead Time Address Interface
    172.16.1.1 110 FULL /DR 00:18:01:08/00:00:00:03 172.16.3.1 orange-1
    172.16.1.1 110 FULL /DR 00:18:01:08/00:00:00:03 172.16.4.1 red-1
    172.16.1.1 110 FULL /DR 00:17:54:17/00:00:00:03 172.16.1.1 green-1
    172.16.1.1 110 FULL /DR 00:17:54:07/00:00:00:03 172.16.2.1 purple-1
    * AGG-SWITCH#2.36 # show vrrp
    VLAN Name VRID Pri Virtual IP Addr State Master Mac Address TP/TR/TV/P/T
    green-1(En) 0001 100 172.16.1.254 BKUP 00:00:5e:00:01:01 0 0 0 Y 1
    purple-(En) 0001 100 172.16.2.254 BKUP 00:00:5e:00:01:01 0 0 0 Y 1
    orange-(En) 0001 100 172.16.3.254 BKUP 00:00:5e:00:01:01 0 0 0 Y 1
    red-1(En) 0001 100 172.16.4.254 BKUP 00:00:5e:00:01:01 0 0 0 Y 1
    En-Enabled, Ds-Disabled, Pri-Priority, T-Advert Timer, P-Preempt
    TP-Tracked Pings, TR-Tracked Routes, TV-Tracked VLANs