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:
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 enable
command.To display the current global VRRP configuration, use
show vrrp config global
.
Syntax:
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.
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:
HP Switch(config)# router vrrp HP Switch(config)# show vrrp config global VRRP Global Configuration Information VRRP Enabled : Yes Traps Enabled : Yes
Syntax:
Used in the VLAN interface context to create a virtual router (VR) instance and to enter the context of the new VR. It is also used to enter the context of an existing VR, and is the method used for accessing a VR for configuration purposes. You can configure up to 32 VRs on a multinetted VLAN.
The VLAN interface must be IP enabled for IPv4, and IPv6 enabled for IPv6.