Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The set protocols vrrp interface vif vrid interval command sets the interval at which the VRRP device sends VRRP advertisement packets. 

NOTE:

This command applies to both VRRPv2 and VRRPv3 configuration.


Command Syntax

set protocols vrrp interface <interface-name> vif <vif-name>vrid <virtual-router-id> interval <interval-value>


Parameter

Parameter

Description

interface <interface-name>

Specifies the Layer 3 interface name of VRRP device. The value is a string.

vif <vif-name>

Specifies the VLAN interface name. The value is a string.

vrid <virtual-router-id>

Specifies the VRID of a VRRP group. The value is an integer that ranges from 1 to 254.

interval <interval-value>

Specifies the interval at which the VRRP device sends VRRP advertisement packets.

The value is an integer, in seconds. For VRRPv2, the value ranges from 1 to 255. For VRRPv3, the value ranges from 1 to 40.

The default value is 1s for both VRRPv2 and VRRPv3.

...


Usage Guidelines

If a larger interval is used, a backup device in the same VRRP group will not be able to detect the fault on the master in a timely fashion and can potentially cause packet loss. If a smaller interval is used, system resources are occupied. It is therefore recommended to set the interval based on actual network performance.

NOTE:

The configurations of the interval of sending VRRP advertisement packets on both devices of VRRP group must be the same.


Example

  •  Set the interval of sending VRRP advertisement to 5 seconds.
Code Block
admin@Xorplus# set protocols vrrp interface vlan100 vif vlan100 vrid 2 interval 5
admin@Xorplus# commit

...