Syntax:
Syntax:
VRRP IPv4 configuration listing with two owner VRs configured
This example lists output indicating two owner VRs configured on the router.
HP Switch(config)# show vrrp config VRRP Global Configuration Information VRRP Enabled : Yes Traps Enabled : Yes Virtual Routers Respond To Ping Requests : Yes VRRP Nonstop Enabled : No VRRP Virtual Router Configuration Information VLAN ID : 2 Virtual Router ID : 10 Administrative Status [Disabled] : Disabled Mode [Uninitialized] : Owner Priority [100] : 255 Advertisement Interval [1] : 1 Preempt Mode [True] : True Preempt Delay Time [0] : 0 Respond To Virtual IP Ping Requests [Yes] : Yes Version [2] : 2 Null authentication compatibility [False] : False Primary IP Address : Lowest IP Address --------------- 10.10.10.100 VRRP Virtual Router Configuration Information VLAN ID : 20 Virtual Router ID : 20 Administrative Status [Disabled] : Enabled Mode [Uninitialized] : Owner Priority [100] : 255 Advertisement Interval [1] : 1 Preempt Mode [True] : True Preempt Delay Time [0] : 0 Respond To Virtual IP Ping Requests [Yes] : Yes Version [2] : 2 Null authentication compatibility [False] : False Primary IP Address : Lowest IP Address --------------- 10.10.20.100
Example
VRRP IPv6 Configuration Listing
HP Switch# show vrrp ipv6 config VRRP Global Configuration Information VRRP Enabled : Yes Traps Enabled : Yes Virtual Routers Respond To Ping Requests : No VRRP Nonstop Enabled : No VRRP Virtual Router Configuration Information VLAN ID : 10 Virtual Router ID : 10 Administrative Status [Disabled] : Enabled Mode [Uninitialized] : Owner Priority [100] : 255 Advertisement Interval [1] : 1 Preempt Mode [True] : True Preempt Delay Time [0] : 0 Respond To Virtual IP Ping Requests [Yes] : Yes Version [2] : 3 RFC2338 authentication compatibility : True IPv6 Address ------------- fe80::216:b9ff:fed1:5280
Syntax:
Displaying the IPv4 configuration for a specific VR
The following command displays the configuration of a VR identified as VR 10 in VLAN 23:
HP Switch(config)# show vrrp vlan 23 vrid 10 config VRRP Virtual Router Configuration Information Vlan ID : 23 Virtual Router ID : 10 Administrative Status [Disabled] : Disabled Mode [Uninitialized] : Owner Priority [100] : 255 Advertisement Interval [1] : 1 Preempt Mode [True] : True Prempt Delay Time [0] : 0 Respond to Virtual IP Ping Requests [Yes} : Yes Verson [2] : 2 Null authentication compatibility [False] : False Primary IP Address : Lowest IP Address --------------- 10.10.10.1
Displaying the IPv6 configuration for a specific VR
HP Switch# show vrrp ipv6 vlan 10 vrid 4 config VRRP Virtual Router Configuration Information VLAN ID : 10 Virtual Router ID : 1 Administrative Status [Disabled] : Enabled Mode [Uninitialized] : Owner Priority [100] : 255 Advertisement Interval [1] : 1 Preempt Mode [True] : True Preempt Delay Time [0] : 0 Respond To Virtual IP Ping Requests [Yes] : Yes Version [2] : 3 IPv6 Address --------------------------- fe80::216:b9ff:fed1:5280
All command outputs shown in this section assume that VRRP is enabled at the global configuration level. If global VRRP is disabled, these commands produce the following output:
Example
Syntax:
Example
Syntax:
Displays the following VRRP statistics:
NOTE: The commands
show vrrp
andshow vrrp statistics
result in the same output.
Example
Output for show vrrp
command includes global and VR statistics
The following output shows the VRRP statistics on a router having one VR (VR 1 in VLAN 10) configured.
HP Switch(config)# show vrrp VRRP Global Statistics Information VRRP Enabled : Yes Invalid VRID Pkts Rx : 0 Checksum Error Pkts Rx : 0 Bad Version Pkts Rx : 0 Virtual Routers Respond to Ping Requests : No VRRP Virtual Router Statistics Information Vlan ID : 10 Virtual Router ID : 1 Protocol Version : 2 State : Master Up Time : 31 mins Virtual MAC Address : 00005e-000101 Master's IP Address : 10.10.10.2 Associated IP Addr Count : 1 Near Failovers : 0 Advertise Pkts Rx : 1213 Become Master : 2 Zero Priority Rx : 0 Zero Priority Tx : 0 Bad Length Pkts : 0 Bad Type Pkts : 0 Mismatched Interval Pkts : 0 Mismatched Addr List Pkts : 0 Mismatched IP TTL Pkts : 0 Mismatched Auth Type Pkts : 0
Output for show vrrp ipv6 statistics
command includes global and IPv6 VR statistics
HP Switch# show vrrp ipv6 statistics VRRP Global Statistics Information VRRP Enabled : Yes Invalid VRID Pkts Rx : 0 Checksum Error Pkts Rx : 0 Bad Version Pkts Rx : 0 Virtual Routers Respond To Ping Requests : Yes VRRP Virtual Router Statistics Information VLAN ID : 10 Virtual Router ID : 1 Protocol Version : 3 State : Master Up Time : 26 mins Virtual MAC Address : 00005e-000101 Master's IP Address : 2130::21 Associated IP Addr Count : 1 Near Failovers : 0 Advertise Pkts Rx : 0 Become Master : 1 Zero Priority Rx : 0 Zero Priority Tx : 0 Bad Length Pkts : 0 Bad Type Pkts : 0 Mismatched Interval Pkts : 0 Mismatched Addr List Pkts : 0 Mismatched IP TTL Pkts : 0 Mismatched Auth Type Pkts : 0
Syntax:
Displays the VRRP statistics for all VRs configured on the specified VLAN.
The actual statistics data per VR is the same as for the
show vrrp [statistics]
command shown on pages A-24 and Output for show vrrp command includes global and VR statistics.Note that
show vrrp vlan
andvid
show vrrp vlan
produce the same output.vid
statistics
Displaying IPv4 statistics for all VRs in a VLAN
In the following example, there is one VR configured in VLAN 10.
HP Switch(config)# show vrrp vlan 10 VRRP Virtual Router Statistics Information Vlan ID : 10 Virtual Router ID : 10 Protocol Version : 2 State : Master Up Time : 6 mins Virtual MAC Address : 00005e-00010a Master's IP Address : 10.10.10.1 Associated IP Addr Count : 1 Near Failovers : 0 Advertise Pkts Rx : 1 Become Master : 1 Zero Priority Rx : 0 Zero Priority Tx : 0 Bad Length Pkts : 0 Bad Type Pkts : 0 Mismatched Interval Pkts : 0 Mismatched Addr List Pkts : 0 Mismatched IP TTL Pkts : 0 Mismatched Auth Type Pkts : 0
Displaying IPv6 statistics for all VRs in a VLAN
HP Switch# show vrrp ipv6 vlan 10 statistics VRRP Virtual Router Statistics Information VLAN ID : 10 Virtual Router ID : 1 Protocol Version : 3 State : Master Up Time : 26 mins Virtual MAC Address : 00005e-000101 Master's IP Address : 2130::21 Associated IP Addr Count : 1 Near Failovers : 0 Advertise Pkts Rx : 0 Become Master : 1 Zero Priority Rx : 0 Zero Priority Tx : 0 Bad Length Pkts : 0 Bad Type Pkts : 0 Mismatched Interval Pkts : 0 Mismatched Addr List Pkts : 0 Mismatched IP TTL Pkts : 0 Mismatched Auth Type Pkts : 0
Syntax:
The "near failovers" statistic tracks occurrences of near failovers on the backup VRRP routers. This makes visible any difficulties the VRRP routers are having receiving the "heartbeat" advertisement from the master router. (A "near failover" is one that is within one missed VRRP advertisement packet of beginning the master determination process.)
The show vrrp
or show vrrp ipv6 statistics
command displays this statistic.
Example
The show vrrp
command with statistics
Near Failovers statistic displayed is shown in bold below.
HP Switch(config)# show vrrp
VRRP Global Statistics Information
VRRP Enabled : Yes
Invalid VRID Pkts Rx : 0
Checksum Error Pkts Rx : 0
Bad Version Pkts Rx : 0
Virtual Routers Respond to Ping Requests : No
VRRP Virtual Router Statistics Information
Vlan ID : 22
Virtual Router ID : 1
Protocol Version : 2
State : Initialize
Up Time : 64 mins
Virtual MAC Address : 00005e-000101
Master's IP Address : 10.10.20.2
Associated IP Addr Count : 1
Near Failovers : 0
Advertise Pkts Rx : 0 Become Master : 0
Zero Priority Rx : 0 Zero Priority Tx : 0
Bad Length Pkts : 0 Bad Type Pkts : 0
Mismatched Interval Pkts : 0 Mismatched Addr List Pkts : 0
Mismatched IP TTL Pkts : 0 Mismatched Auth Type Pkts : 0
The show vrrp ipv6 statistics
command
HP Switch# show vrrp ipv6 statistics VRRP Global Statistics Information VRRP Enabled : Yes Invalid VRID Pkts Rx : 0 Checksum Error Pkts Rx : 0 Bad Version Pkts Rx : 0 Virtual Routers Respond To Ping Requests : Yes VRRP Virtual Router Statistics Information VLAN ID : 10 Virtual Router ID : 1 Protocol Version : 3 State : Master Up Time : 26 mins Virtual MAC Address : 00005e-000101 Master's IP Address : 2130::21 Associated IP Addr Count : 1 Near Failovers : 0 Advertise Pkts Rx : 0 Become Master : 1 Zero Priority Rx : 0 Zero Priority Tx : 0 Bad Length Pkts : 0 Bad Type Pkts : 0 Mismatched Interval Pkts : 0 Mismatched Addr List Pkts : 0 Mismatched IP TTL Pkts : 0 Mismatched Auth Type Pkts : 0