ip vrrp (for a VLAN)
Configure Virtual Router Redundancy Protocol (VRRP) on a VLAN.
Syntax
-
default ip vrrp
<1-255> [action] [adver-int] [backup-master enable] [critical-ip enable]
[critical-ip-addr] [enable] [fast-adv enable] [fast-adv-int] [holddown-timer]
[priority]
-
default ip vrrp address
<1-255>
-
default ip vrrp pseudo-header-checksum
-
default ip vrrp version
-
ip vrrp <1-255>
action <none | preempt>
-
ip vrrp <1-255>
adver-int <1-255>
-
ip vrrp <1-255>
backup-master enable
-
ip vrrp <1-255>
critical-ip enable
-
ip vrrp <1-255>
critical-ip-addr {A.B.C.D}
-
ip vrrp <1-255>
enable
-
ip vrrp <1-255>
fast-adv enable
-
ip vrrp <1-255>
fast-adv-int <200-1000>
-
ip vrrp <1-255>
holddown-timer <0-21600>
-
ip vrrp <1-255> preempt-mode enable
-
ip vrrp <1-255>
priority <1-255>
-
ip vrrp <1-255>
enable
-
ip vrrp address
<1-255> {A.B.C.D}
-
ip vrrp pseudo-header-checksum
-
ip vrrp version <2-3>
-
no ip vrrp <1-255>
[backup-master enable] [critical-ip enable] [enable] [fast-adv enable]
[preempt-mode enable]
-
no ip vrrp address
<1-255> [A.B.C.D]
-
no ip vrrp
pseudo-header-checksum
Command Parameters
- action {none|preempt}
- Manually overrides the hold-down
timer and force preemption. none|preempt can be set to preempt the timer or set to
none to allow the timer to keep working.
- address <1-255> <A.B.C.D>
- Configures the IP address of the
Virtual Router Redundancy Protocol (VRRP) interface that forwards packets to the
virtual IP addresses associated with the virtual router.
You can create
secondary virtual IP addresses on VLAN interfaces using this same parameter.
The first address you configure is the primary virtual IP address. Secondary
virtual IP addresses must be in the same subnet as a Secondary IP Interface on the VLAN.
- adver-int <1-255>
- Sets the the time interval between
sending Virtual Router Redundancy Protocol (VRRP) advertisement messages. The
range is between 1 and 255 seconds. This value must be the same on all of the
participating routers. The default is 1.
- backup-master enable
- Enables the Virtual Router
Redundancy Protocol (VRRP) backup master. This option is supported only on Split
MultiLink Trunking (SMLT) ports. Do not enable Backup Master if Critical IP is
enabled.
- critical-ip enable
- Enables the critical IP address
option. Do not enable Critical IP if Backup Master is enabled.
- critical-ip-addr <A.B.C.D>
- Sets the critical IP address for
Virtual Router Redundancy Protocol (VRRP). A.B.C.D is the IP address on the local
router, which is configured so that a change in its state causes a role switch in
the virtual router (for example, from master to backup in case the interface goes
down).
- enable
- Enables Virtual Router Redundancy
Protocol (VRRP) on the interface.
- fast-adv enable
- Enables the Fast Advertisement
Interval. The default is disabled.
- fast-adv-int <200-1000>
- Sets the Fast Advertisement
Interval, in milliseconds, the time interval between sending Virtual Router
Redundancy Protocol (VRRP) advertisement messages. The range must be the same on
all participating routers. The default is 200. You must enter values in multiples
of 200 milliseconds.
- holddown-timer<0-21600>
- Modifies the behavior of the
Virtual Router Redundancy Protocol (VRRP) failover mechanism by allowing the
router enough time to detect the OSPF or RIP routes. 0-21600 is the time interval
(in seconds) a router is delayed when changing to master state.
- priority <1-255>
- Sets the port Virtual Router
Redundancy Protocol (VRRP) priority. 1-255 is the value used by the VRRP router.
The default is 100. Assign the value 255 to the router that owns the IP address
associated with the virtual router.
Command Mode
VLAN Interface Configuration