Controlling ping responses
Syntax:
[no] virtual-ip-ping enabled
Enables or disables the response to a ping request to a specific VR. The command applies to all VIPs on the VR.
Must be executed in VRRP context (
vlan
vid
vrrp vrid
vrid
)
NOTE:
The VR should be configured as a backup.
Default: Enabled
Disabling a response to ping requests to a VIP
switch-Router1(config)# ip routing
switch-Router1(config)# router vrrp
switch-Router1(config)# router vrrp virtual-ip-ping
switch-Router1(config)# vlan 2 vrrp vrid 1
switch-Router1(vlan-2-vrid-1)# virtual-ip-address 10.0.202.87
switch-Router1(vlan-2-vrid-1)# no virtual-ip-ping enable
switch-Router1(vlan-2-vrid-1)# enable
switch-Router1(vlan-2-vrid-1)# exit
switch-Router1(vlan-2)# exit
switch-Router1(config)#
Viewing VRRP ping information
Display IPv4 global VRRP configuration information by entering the
show vrrp config global
command.
Display IPv6 global VRRP configuration information by entering the
show vrrp ipv6 config global
command.
Example of VRRP global configuration information
switch(config)# show vrrp config global
VRRP Global Configuration Information
VRRP Enabled : Yes
Traps Enabled : Yes
Virtual Routers Respond to Ping Requests [Yes] : Yes
Virtual Nonstop enabled : No
Use the
show vrrp
command to display information about VRRP global statistics.
Example
VRRP IPv4 global statistics information
switch(config)# show vrrp
VRRP Global Statistics Information
VRRP Enabled : Yes
Invalid VRID Pkts Rx : 0
Checksum Error Pkts Rx : 0
Chapter 16 Virtual Router Redundancy Protocol (VRRP)
323