This command displays information for all active VRRPv3 groups no optional parameters), all active VRRPv3 groups configured in an IPv4 or IPv6 address family, or the active VRRPv3 groups configured in an IPv4 or IPv6 address family for the specified interface.
| Format | show vrrp [{ipv4 | ipv6}] [{unit/slot/port | vlan vlan-id} vr-id] |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| ipv4 | (Optional) indicates the Virtual router group belongs to IPv4 address family. |
| ipv6 | (Optional) indicates the Virtual router group belongs to IPv6 address family. |
| unit/slot/port | (Optional) indicates the interface number to which the Virtual router belongs. |
| vlan-id | (Optional) indicates the VLAN number to which the Virtual router belongs. |
| vr-id | (Optional) Virtual router group number. The range is from 1 to 255. |
Example: This example shows command output when no parameters are specified.
(Routing)#show vrrp Admin Mode..................................... Enable 1/0/2 - VRID 1 - Address-Family IPv4 Virtual IP address............................. 1.1.1.9 Secondary IP Address(es)....................... 1.1.1.4 ............................................... 1.1.1.5 ............................................... 1.1.1.6 Virtual MAC Address............................ 00:00:5e:00:01:01 Priority....................................... 0 Configured Priority............................ 111 State.......................................... Initialized Master Router IP / Priority.................... 1.1.1.3 (local) / 100 Master Advertisement interval.................. 120 centisec Master Down interval........................... 360 centisec Track Interface State DecrementPriority BFD-Neighbor --------------- ----- ------------------ ------------ 1/0/9 Down 222 23.10.8.6 Track Route(pfx/len) Reachable DecrementPriority --------------------- --------- ------------------ 14.14.14.0/24 True 14 1/0/3 - VRID 2 - Address-Family IPv4 Virtual IP address............................. 3.3.2.9 Secondary IP Address(es)....................... 3.3.2.4 ............................................... 3.3.2.5 ............................................... 3.3.2.6 Virtual MAC Address............................ 00:00:5e:00:01:06 Priority....................................... 0 Configured Priority............................ 130 Advertisement Interval......................... 120 centisec Pre-empt Mode.................................. Enable Accept Mode.................................... Enable Administrative Mode............................ Enable State.......................................... Initialized Master Router IP / Priority.................... 1.1.1.3 (local) / 100 Master Advertisement interval.................. 120 centisec Master Down interval........................... 360 centisec Track Interface State DecrementPriority BFD-Neighbor --------------- ----- ------------------ ------------ 1/0/7 Down 125 55.16.27.8 Track Route(pfx/len) Reachable DecrementPriority --------------------- --------- ------------------ 14.14.14.0/24 True 30 1/0/12 - VRID 3 - Address-Family IPv6 Virtual IP address............................. 4001::2 Secondary IP Address(es)....................... 4001::5 ............................................... 4001::6 ............................................... 4001::7 Virtual MAC Address............................ 00:00:5e:00:01:06 Priority....................................... 0 Configured Priority............................ 130 Advertisement Interval......................... 120 centisec Pre-empt Mode.................................. Enable Accept Mode.................................... Enable Administrative Mode............................ Enable State.......................................... Initialized Master Router IP / Priority.................... 4001::3 (local) / 100 Master Advertisement interval.................. 120 centisec Master Down interval........................... 360 centisec Advertisement Interval......................... 120 centisec Pre-empt Mode.................................. Enable Accept Mode.................................... Enable Administrative Mode............................ Enable Track Interface State DecrementPriority BFD-Neighbor --------------- ----- ------------------ ------------ 1/0/2 Down 250 5001::3 Track Route(pfx/len) Reachable DecrementPriority --------------------- --------- ------------------ 4004::3/32 True 20
Example: This example shows command output when the IPv4 parameter is specified.
(Routing)#show vrrp ipv4 Admin Mode..................................... Enable 1/0/2 - VRID 1 - Address-Family IPv4 Virtual IP address............................. 1.1.1.9 Secondary IP Address(es)....................... 1.1.1.4 ............................................... 1.1.1.5 ............................................... 1.1.1.6 Virtual MAC Address............................ 00:00:5e:00:01:01 Priority....................................... 0 Configured Priority............................ 111 Advertisement Interval......................... 120 centisec Pre-empt Mode.................................. Enable Accept Mode.................................... Enable Administrative Mode............................ Enable State.......................................... Initialized Master Router IP / Priority.................... 1.1.1.3 (local) / 100 Master Advertisement interval.................. 120 centisec Master Down interval........................... 360 centisec Track Interface State DecrementPriority --------------- ----- ------------------ 1/0/9 Down 222 Track Route(pfx/len) Reachable DecrementPriority --------------------- --------- ------------------ 14.14.14.0/24 True 14 1/0/3 - VRID 2 - Address-Family IPv4 Virtual IP address............................. 3.3.2.9 Secondary IP Address(es)....................... 3.3.2.4 ............................................... 3.3.2.5 ............................................... 3.3.2.6 Virtual MAC Address............................ 00:00:5e:00:01:06 Priority....................................... 0 Configured Priority............................ 130 Advertisement Interval......................... 120 centisec Pre-empt Mode.................................. Enable Accept Mode.................................... Enable Administrative Mode............................ Enable State.......................................... Initialized Master Router IP / Priority.................... 1.1.1.3 (local) / 100 Master Advertisement interval.................. 120 centisecsec Master Down interval........................... 360 Track Interface State DecrementPriority --------------- ----- ------------------ 1/0/7 Down 125 Track Route(pfx/len) Reachable DecrementPriority --------------------- --------- ------------------ 14.14.14.0/24 True 30
Example: This example shows command output when the IPv6 parameter is specified.
(Routing)#show vrrp ipv6 Admin Mode..................................... Enable 1/0/2 - VRID 1 - Address-Family IPv6 Virtual IP address............................. 1001::8 Secondary IP Address(es)....................... 1001::5 ............................................... 1001::6 ............................................... 1001::7 Virtual MAC Address............................ 00:00:5e:00:01:01 Priority....................................... 0 Configured Priority............................ 100 Advertisement Interval......................... 100 centisec Pre-empt Mode.................................. Enable Accept Mode.................................... Enable Administrative Mode............................ Enable State.......................................... Initialized Master Router IP / Priority.................... 1001::1 (local) / 100 Master Advertisement interval.................. 100 centisec Master Down interval........................... 300 centisec Track Interface State DecrementPriority --------------- ----- ------------------ 1/0/9 Down 222 Track Route(pfx/len) Reachable DecrementPriority --------------------- --------- ------------------ 2001::2/32 True 14 1/0/12 - VRID 3 - Address-Family IPv6 Virtual IP address............................. 4001::2 Secondary IP Address(es)....................... 4001::5 ............................................... 4001::6 ............................................... 4001::7 Virtual MAC Address............................ 00:00:5e:00:01:06 Priority....................................... 130 Configured Priority............................ 130 Advertisement Interval......................... 120 centisec Pre-empt Mode.................................. Enable Accept Mode.................................... Enable Administrative Mode............................ Enable State.......................................... Master Master Router IP / Priority.................... 4001::3 (local) / 130 Master Advertisement interval.................. 120 centisec Master Down interval........................... 360 centisec Track Interface State DecrementPriority --------------- ----- ------------------ 1/0/24 Down 320 Track Route(pfx/len) Reachable DecrementPriority --------------------- --------- ------------------ 7003::4/32 True 50
Example:
(Routing)#show vrrp ipv4 1/0/3 1 Virtual IP address............................. 1.1.1.9 Secondary IP Address(es)....................... 1.1.1.4 ............................................... 1.1.1.5 ............................................... 1.1.1.6 Virtual MAC Address............................ 00:00:5e:00:01:01 Priority....................................... 0 Configured Priority............................ 111 Advertisement Interval......................... 222 centisec Pre-empt Mode.................................. Enable Accept Mode.................................... Enable Administrative Mode............................ Enable State.......................................... Initialized Master Router IP / Priority.................... 1.1.1.3 (local) / 100 Master Advertisement interval.................. 1000 centisec Master Down interval........................... 3000 centisec Track Interface State Decrement-Priority --------------- ----- ------------------ 0/9 Down 222 Track Route(pfx/len) Reachable Decrement-Priority --------------------- --------- ------------------ 14.14.14.0/24 True 14