Show commands

Use these M4500 CLI commands to display VRRP global status, virtual router details, interface statistics, and clear VRRP statistics.

show ip vrrp

This command displays whether VRRP functionality is enabled or disabled. It also displays some global parameters which are required for monitoring.

Default None
Format show ip vrrp
Mode

Privileged Exec

User Exec

Display Message

Fields Definition
Admin Mode Displays the administrative mode for VRRP functionality on the switch.
Active-Active Mode Displays the Active-Active mode for VRRP functionality on the switch.
Router Checksum Errors Represents the total number of VRRP packets received with an invalid VRRP checksum value.
Router Version Errors Represents the total number of VRRP packets received with Unknown or unsupported version number.
Router VRID Errors Represents the total number of VRRP packets received with invalid VRID for this virtual router.

show ip vrrp brief

This command displays information about each virtual router configured on the switch.

Default None
Format show ip vrrp brief
Mode

Privileged Exec

User Exec

Display Message

Fields Definition
Interface Valid slot and port number separated by forward slashes.
VRID Represents the router ID of the virtual router.
IP Address Is the IP Address that was configured on the virtual router.
Mode Represents whether the virtual router is enabled or disabled.
State Represents the state (Master/backup) of the virtual router.

show ip vrrp interface

This command displays all configuration information of a virtual router configured on a specific interface. Note that the information will be displayed only when the IP address of the specific interface is configured.

Default None
Format show ip vrrp interface {<slot/port> | vlan <vlan-id>} [<vrid>]
Mode

Privileged Exec

User Exec

Fields Definition
<slot/port> Valid slot and port number separated by forward slashes.
<vrid> Represents the router ID of the virtual router.
<vlan-id> VLAN ID. The range of VLAN ID is 1 to 4093.

Display Message

Fields Definition
VRID Represents the router ID of the virtual router.
Primary IP Address This field represents the configured IP Address for the Virtual router.
VMAC address Represents the VMAC address of the specified router.
Authentication type Represents the authentication type for the specific virtual router.
Priority Represents the priority value for the specific virtual router.
Configured Priority The priority configured through the ip vrrp vrid priority 1-254 command.
Advertisement interval Represents the advertisement interval in seconds for the specific virtual router.
Pre-Empt Mode Is the preemption mode configured on the specified virtual router.
Administrative Mode Represents the status (Enable or Disable) of the specific router.
Accept Mode When enabled, the VRRP Master can accept ping packets sent to one of the virtual router’s IP addresses.
State Represents the state (Master/backup) of the specific virtual router.

show ip vrrp interface stats

This command displays the statistical information about each virtual router configured on the switch.

Default None
Format show ip vrrp interface stats {<slot/port> | vlan <vlan-id>} [<vrid>]
Mode

Privileged Exec

User Exec

Fields Definition
<slot/port> Valid slot and port number separated by forward slashes.
<vrid> Virtual router ID.
<vlan-id> VLAN ID. The range of VLAN ID is 1 to 4093.

Display Message

Fields Definition
VRID Represents the router ID of the virtual router.
Uptime Is the time that the virtual router has been up, in days, hours, minutes and seconds.
Protocol Represents the protocol configured on the interface.
State Transitioned to Master Represents the total number of times virtual router state has changed to MASTER.
Advertisement Received Represents the total number of VRRP advertisements received by this virtual router.
Advertisement Interval Errors Represents the total number of VRRP advertisements received for which advertisement interval is different than the configured value for this virtual router.
Authentication Failure Represents the total number of VRRP packets received that don't pass the authentication check.
IP TTL errors Represents the total number of VRRP packets received by the virtual router with IP TTL (time to live) not equal to 255.
Zero Priority Packets Received Represents the total number of VRRP packets received by virtual router with a priority of '0'.
Zero Priority Packets Sent Represents the total number of VRRP packets sent by the virtual router with a priority of '0'.
Invalid Type Packets Received Represents the total number of VRRP packets received by the virtual router with invalid 'type' field.
Address List Errors Represents the total number of VRRP packets received for which address list does not match the locally configured list for the virtual router.
Invalid Authentication Type Represents the total number of VRRP packets received with unknown authentication type.
Authentication Type Mismatch Represents the total number of VRRP advertisements received for which 'auth type' not equal to locally configured one for this virtual router.
Packet Length Errors Represents the total number of VRRP packets received with packet length less than length of VRRP header.
Advertisement Sent Represents the total number of VRRP advertisement packets sent by the virtual router.

clear ip vrrp interface stat

This command clears IPv4 multicast route entries.

Default None
Format clear ip vrrp interface stat {<slot/port> <vrid> | vlan <1-4093> {<vrid>}}
Mode Privileged Exec