Chapter 54 commands for vrrp, 1 advertisement-interval, 2 circuit-failover – PLANET XGS3-24040 User Manual

Page 810: 3 debug vrrp, Advertisement, Interval, Circuit, Failover, Debug vrrp

Advertising
background image

54-1

Chapter 54 Commands for VRRP

54.1 advertisement-interval

Commands: advertisement-interval <adver_interval>

no advertisement-interval

Function: Sets the vrrp timer values; the “no advertisement-interval” command restores the default

setting.

Parameters: <adver_interva> is the interval for sending VRRP packets in seconds, ranging from 1 to

10.

Default: The default <adver_interva> is 1second.

Command mode: VRRP protocol configuration mode

Usage Guide: The Master in a VRRP Standby cluster will send VRRP packets to member routers (or L3
Ethernet switch) to announce its properness at a specific interval; this interval is referred to as
adver_interval
. If a Backup does not receive the VRRP packets sent by the Master after a certain period
(specified by master_down_interval), then it assume the Master is no longer operating properly, therefore
turns its status to Master.

The user can use this command to adjust the VRRP packet sending interval of the Master. For

members in the same Standby cluster, this property should be set to a same value. To Backup, the value
of master_down_interval is three times that of adver_interval. Extraordinary large traffic or timer setting
differences between routers (or L3 Ethernet switches) may result in master_down_interval and invoke
instant status changes. Such situations can be avoided through extending adver_interval interval and
setting longer preemptive delay time.

Example: Configuring vrrp Timer value to 3

Switch(Config-Router-Vrrp)# advertisement-interval 3

54.2 circuit-failover

Commands: circuit-failover {IFNAME | ethernet IFNAME | Vlan <ID>} <value_reduced>

no circuit-failover

Function: Configures the VRRP monitor interface.

Parameters: < IFNAME > is the name for the interface to be monitored.

<value_reduced> stands for the amount of priority decreased, the default value is 1~253.

Default: Not configured by default.

Command mode: VRRP protocol configuration mode

Usage Guide: The interface monitor function is a valuable extension to backup function, which not only
enable VRRP to provide failover function on router (or L3 Ethernet switch) fail, but also allow decreasing
the priority of a router (or L3 Ethernet switch) to ensure smooth implementation of backup function when
status of that network interface is down.

When this command is used, if the status of an interface monitored turns from up to down, then the

priority of that very router (or L3 Ethernet switch) in its Standby cluster will decrease, lest Backup cannot
changes its status due to lower priority than the Master when the Master fails.

Example: Configuring VRRP monitor interface to vlan 2 and decreasing amount of priority to 10.

Switch(Config-Router-Vrrp)# circuit-failover vlan 2 10

54.3 debug vrrp

Commands: debug vrrp [ all | event | packet [recv | send]]

no debug vrrp [ all | event | packet [recv | send]]

Function: Displays information for VRRP standby cluster status and packet transmission; the “no

Advertising