Enabling VRRP in the global configuration context

VRRP can be configured regardless of the global VRRP configuration status. However, enabling a VR and running VRRP requires enabling it in the global configuration context.

Syntax:


[no] router vrrpIPv4|IPv6 enable|disable

Enables or disables VRRP operation in the global configuration context. for IPv4, IP routing must be enabled before enabling VRRP on the router. For IPv6, IPv6 unicast-routing must be enabled before enabling VRRP on the router. Disabling global VRRP halts VRRP operation on the router, but does not affect the current VRRP configuration. Enabling or disabling VRRP generates an Event Log message.

Note: This command has been revised from the prior router vrrp enablecommand.

To display the current global VRRP configuration, use show vrrp config global.

Default: Disabled

Syntax:


[no] router vrrp traps
Enables or disables SNMP trap generation for the following events:
New master

Indicates that the sending router has transitioned to 'master' state.

Authentication Failure

Indicates that a VRRP packet has been received from a router whose authentication key or authentication type conflicts with this router's authentication key or authentication type.

NOTE:

This feature assumes the snmp-server host command has been used to configure a a trap receiver. If a VRRP packet is received with an authentication type other than 0 (zero, that is, no authentication), the packet is dropped.

Default: Enabled

Example

Enabling and displaying the global VRRP configuration

The following commands enable VRRP at the global configuration level and then display the current global VRRP configuration:

switch(config)# router vrrp
switch(config)# show vrrp config global

 VRRP Global Configuration Information

   VRRP Enabled  : Yes
   Traps Enabled : Yes