Viewing VRRP configuration data

Viewing the VRRP global configuration

Syntax:

show vrrp config global

Displays the configuration state for the global VRRP configuration and VRRP trap generation.

Output showing the default global VRRP configuration (IPv4/IPv6)

HP Switch(config)# show vrrp config global

VRRP Global Configuration Information

  VRRP Enabled                              : No
  Traps Enabled                             : Yes
  Virtual Routers Responde to Ping Requests : No
  VRRP Nonstop Enabled                      : No

Viewing all VR configurations on the router

Syntax:

show vrrp config

Displays the configuration for the global VRRP configuration and all VRs configured on the router.

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

Viewing a specific VR configuration

Syntax:

show vrrp vlan 23 vrid 10 config

Displays the configuration for a specific VR in a specific VLAN.

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

Viewing VRRP statistics data

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

statistics command output if global VRRP is disabled

VRRP Global Statistics Information

   VRRP Enabled           : No

Viewing global VRRP statistics only

Syntax:

show vrrp statistics global

show vrrp ipv6 statistics global

Displays the global VRRP statistics for the router:

  • VRRP Enabled [Yes/No]

  • Invalid VRID Pkts Rx: VRRP packets received for a VRID that is not configured on the specific VLAN of the VRRP router.

  • Checksum Error Pkts Rx: VRRP packets received with a bad checksum

  • Bad Version Pkts Rx: VRRP advertisement packets received with a version number other than 2 or 3.

  • Virtual Routes Respond to Ping Requests [Yes/No]

Example

Global VRRP statistics output

The output is the same for IPv4 and IPv6.

HP Switch(config)# show vrrp statistics global

 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

Viewing statistics for all VRRP instances on the router

Syntax:

show vrrp [statistics]

show vrrp ipv6 statistics

Displays the following VRRP statistics:

  • Global VRRP statistics for the router

  • VRRP statistics for all VRs configured on the router:

State

Indicates whether the router is a backup or the current master of the VR.

Uptime

The amount of time the router has been up since the last reboot.

Virtual MAC Address

The virtual MAC address for the VR instance.

master's IP Address

The IP address used as the source IP address in the last advertisement packet received from the VR master. If this VR is the master, this is the primary IP address of the VR. If the VR is disabled, this value appears as 0.0.0.0 for IPv4, and 0:0:0:0:0:ffff:0:0 for IPv6.

Associated IP Address Count

Number of VIPs.

Advertise Packets Rx

The number of VRRP master advertisements the VR has received from other VRRP routers since the last reboot.

Zero Priority Tx

The number of VRRP advertisement packets received with the priority field set to 0 (zero.)

Bad Length Pkts

The number of VRRp packets received with missing fields of information.

Mismatched Interval Pkts

The number of VRRP packets received from other routers (since the last reboot) with an advertisement interval that is different from the interval configured on the current VR.

VRRP packets received with an interval mismatch are dropped.

Mismatched IP TTL Pkts

The number of VRRP packets received with the IP TTL field not set to 255. Such packets are dropped.

Near Failovers

Tracks the occurrence 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.

Become master

The number of times the VR has become the master since the last reboot.

Zero Priority Tx

The number of VRRP advertisement packets sent with the priority field set to 0 (zero.)

Bad Type Pkts

The number of VRRP packets received with packet type not equal to 1 (that is, not an advertisement packet.)

Mismatched Addr List Pkts

The number of VRRP packets received wherein the list of VIPs does not match the locally configured VIPs for a VR.

Mismatched Auth Type Pkts

The number of VRRP packets received with the authentication type not equal to 0 (zero, which is no authentication.)


[NOTE: ]

NOTE: The commands show vrrp and show vrrp statistics result in the same output.


Note that

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

Viewing statistics for all VRRP instances in a VLAN

Syntax:

show vrrp vlan vid [statistics]

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 vid and show vrrp vlan vid statistics produce the same output.

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

Viewing statistics for a specific VRRP instance

Syntax:

show vrrp vlan vid vrid 1-255 [statistics]

show vrrp ipv6 vlanvidvrid 1-255 statistics

Displays the VRRP statistics for a specific VR configured on a specific VLAN.

The actual statistics data per VR is the same as for the show vrrp [statistics] command.

Note that show vrrp vlan vid vrid 1 - 255 and show vrrp vlan vid vrid 1 - 255 statistics produce the same output.

Viewing the "near-failovers" statistic

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