Show commands
Use these M4500 CLI commands to display VRRPv3 group details, brief status, and statistics.
show vrrp
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.
| Default | None |
| Format | show vrrp [{ipv4 | ipv6} [{<slot/port> | vlan <vlan-id>} <vr-id>]] |
| Mode | Privileged Exec |
Display Message
| Fields | Definition |
|---|---|
| ipv4 | (Optional) indicates the Virtual router group belongs to IPv4 address family. |
| ipv6 | (Optional) indicates the Virtual router group belongs to IPv6 address family. |
| slot/port | (Optional) indicates the interface number to which the Virutal router belongs. |
| vlan-id | (Optional) indicates the VLAN number to which the Virtual router belongs. |
| vrid | (Optional) Virtual router group number. The range is from 1 to 255. |
Example:
(IX2) (config-if-vrrp)#show vrrp
vlan 2 - VRID 2 - Address-Family IPv4
Virtual IP address............................. 192.168.2.254
Secondary IP Address(es).......................
Virtual MAC Address............................ 00:00:5e:00:01:02
Priority....................................... 100
Configured Priority............................ 100
Advertisement Interval......................... 100 millisecs
Pre-empt Mode.................................. Enable
Accept Mode.................................... Disable
Administrative Mode............................ Enable
State.......................................... Master
Master Router IP / Priority.................... 192.168.2.250 / 100
Master Advertisement interval.................. 100 millisecs
Master Down interval........................... 300 millisecs
Track Interface State DecrementPriority
--------------- ----- ------------------
Track Route(pfx/len) Reachable DecrementPriority
--------------------- --------- ------------------
(IX2) (config-if-vrrp)#
show vrrp brief
This command displays brief information for all active VRRPv3 groups.
| Default | None |
| Format | show vrrp brief |
| Mode | Privileged Exec |
Display Message
| Fields | Definition |
|---|---|
| Interface | Interface on which VRRP is configured. |
| VRID | ID of the virtual router. |
| A-F | IP address family type (IPv4 or IPv6) this Virtual Router belongs to. |
| Pri | Priority range of the virtual router.. |
| AdvIntvl | Advertisement interval configured for this virtual router. |
| Pre | Preemption state of the virtual router. |
| Acc | Accept Mode of the virtual router |
| State | VRRP group state. The state can be one of the following: Init, Backup, Master |
| VR IP address | Virtual IP address for a VRRP group. |
Example:
(IX8D) (Config)#show vrrp brief
Interface VRID A-F Pri AdvIntvl Pre Acc State VR IP Address
----------- ---- ---- --- -------- --- --- ------ -------------
0/1 1 IPv4 100 1 N N Backup 10.255.255.123
show vrrp statistics
This command displays statistical information for a given VRRPv3 group or displays the global statistics. If this command is issued without the optional arguments then the global statistics are displayed. If the optional arguments are specified, the statistics are displayed for the virtual router corresponding to the given (IP address family, interface and VR-id) combination.
| Default | None |
| Format | show vrrp statistics [{ipv4| ipv6} {<slot/port> | vlan <vlan-id>} <vr-id>] |
| Mode | Privileged Exec |
Display Message
| Fields | Definition |
|---|---|
| ipv4 | (Optional) indicates the Virtual router group belongs to IPv4 address family. |
| ipv6 | (Optional) indicates the Virtual router group belongs to IPv6 address family. |
| 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:
(IX8D) (Config)#show vrrp statistics ipv4 0/1 1
Master Transitions............................. 0
New Master Reason.............................. notMaster(0)
Advertisements Received........................ 153317
Advertisements Sent............................ 0
Advertisement Interval Errors.................. 0
IP TTL Errors.................................. 0
Last Protocol Error Reason..................... noError(0)
Zero Priority Packets Received................. 0
Zero Priority Packets Sent..................... 0
Invalid Type Packets Received.................. 0
Address List Errors............................ 0
Packet Length Errors........................... 0
Row Discontinuity Time......................... 0 days 0 hrs 0 mins 0 secs
Refresh Rate (in milliseconds)................. 0