Configure VRRP Notification Control

Use the following procedure to enable VRRP notification control. The generation of SNMP traps for VRRP events is enabled, by default.

About this task

You can configure traps by creating SNMPv3 trap notifications, creating a target address to send the notifications, and specify target parameters. For more information about how to configure trap notifications, see Logs and Traps.

Procedure

  1. Enter VRRP Router Configuration mode:

    enable

    configure terminal

    router vrrp

  2. Enable a trap for VRRP events:

    send-trap enable [vrf WORD<1–16>]

  3. Disable a trap for VRRP events:

    no send-trap enable [vrf WORD<1–16>]

  4. Configure a trap for VRRP events to the default:

    default send-trap enable [vrf WORD<1–16>]

  5. 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)#send-trap 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 send-trap and show ip vrrp commands.

Variable

Value

enable

Enables generation of SNMP traps.

vrf WORD<1–16>

Configures the send-trap for a particular VRF.