Enabling ping to a virtual IP address

Use the following procedure to enable ping to a virtual IP address. The default is enabled.

Procedure

  1. Enter VRRP Router Configuration mode:

    enable

    configure terminal

    router vrrp

  2. Enable ping to a virtual IP address:

    ping-virtual—address enable [vrf WORD<1–16>]

    default ping-virtual—address enable [vrf WORD<1–16>]

  3. Disable ping to a virtual IP address:

    no ping-virtual—address enable [vrf WORD<1–16>]

  4. Display the configuration:

    show ip vrrp [vrf WORD<1–16>]

Example

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#router vrrp
Switch:1(config-vrrp)#ping-virtual-address enable vrf mgmtrouter
Switch:1(config)#show ip vrrp vrf mgmtrouter

=====================================
VRRP Global Settings - VRF mgmtrouter
=====================================
ping-virtual-address : enabled
send-trap : enabled

Variable definitions

Use the data in the following table to use the ping-virtual—address enable and show ip vrrp commands.

Variable

Value

enable

Enables ping to a virtual IP address.

vrf WORD<1–16>

Specifies the VRF.