set protocols vrrp interface vrid interval


The set protocols vrrp interface 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-namevrid <virtual-router-id> interval <interval-value>


Parameter

Parameter

Description

interface <interface-name>

Specifies the Layer 3 interface name of VRRP device. The value could be the VLAN interface name, the routed interface or the sub-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 4 seconds 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.
admin@Xorplus# set protocols vrrp interface vlan100 vrid 2 interval 5
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.