Configuring VRRP

This section provides details for the configuration of VRRP on the S- K- and 7100-Series products.

Default VRRP Parameters lists VRRP parameters and their default values.

Click to expand in new window

Default VRRP Parameters

Parameter Description Default Value
accept-mode Enables the master of this virtual router to accept IP packets for the configured IP address list, even if the device is not the owner. disabled
advertise-interval Specifies the interval between the advertisement the master sends to other routers participating in the selection process. 1 second
fabric route mode A VRRP feature that allows a VRRP instance in the backup state to forward IPv4 and IPv6 packets destined for the VRRP MAC address. disabled
interface-up delay Specifies the delay in seconds for the VRID state transition from interface down to interface up 0 seconds (no delay)
priority Specifies the router priority for the master election for this virtual router. 100
VRRP preemption Specifies whether higher priority backup VRRP routers can preempt a lower priority master VRRP router and become master. enabled

Configuring VRRP describes how to configure VRRP. All VRRP configuration commands are entered in interface configuration command mode.

Click to expand in new window

Configuring VRRP

Step Task Command(s)
1 Create a virtual router instance.

Supported VRRP Versions:

  • v2-IPv4 - RFC 2338
  • v3-IPv4 - draft-ietf-vrrp-unified-spec-03
  • v3-IPv6 - draft-ietf-vrrp-unified-spec-03
vrrp create vrid version
2 Configure all VRRP IP addresses associated with this virtual router. vrrp address vrid ip-address [enable | disable]
3 Configure a VRRP primary address for this virtual router. vrrp primary-address vrid ip-address [enable | disable]
4 Optionally, change the VRRP router priority for this virtual router. vrrp priority vrid priority
5 Optionally, change the advertise interval for this virtual router. vrrp advertise-interval vrid {seconds interval | centiseconds interval}
6 Optionally, set the VRID state interface down to interface up delay. vrrp interface-up-delay vrid seconds
7 Configure any critical-IP interfaces for this virtual router. vrrp critical-ip vrid ip-address [priority] [enable | disable] [remote [probe-name probe-name]]
8 Optionally, configure this router for VRRP authentication vrrp authentication {simple password | md5 password [hmac-96]
9 Optionally, enable accept-mode for this virtual router, allowing the master to accept IP packets for the configured associated IP address list. vrrp accept-mode vrid
10 Optionally change the master preemption setting for this VRRP router. vrrp preempt vrid
11 Optionally, set the amount of time that will elapse before a backup VRRP router takes control from the current master when preemption is enabled. vrrp preempt-delay vrid delay
12 Optionally, in interface configuration mode, enable VRRP fabric route mode on the VRRP router. vrrp fabric-route-mode vrid
13 Optionally, configure an interface for VRRP fabric route host mobility (S-, K-Series). vrrp host-mobility vrid
14 Optionally, assign an ACL to the host mobility configuration to restrict routes that should or should not take part in this host mobility context (S-, K-Series). vrrp host-mobility-acl vrid acl-name

Displaying VRRP Information and Statistics describes how to display VRRP information and statistics.

Click to expand in new window

Displaying VRRP Information and Statistics

Task Command
Display VRRP configuration information for this system. show ip vrrp
Display VRRP statistics for this system. show ip vrrp statistics
Display VRRP configuration information for a specified interface. show ip vrrp interface [vrid] [verbose]
Display detailed VRRP configuration information. show ip vrrp verbose