set protocols vrrp interface vrid


The set protocols vrrp interface vrid command creates a VRRP group. 

NOTE:

This command applies to both VRRPv2 and VRRPv3 configuration.


Command Syntax

set protocols vrrp interface <interface-namevrid <virtual-router-id>


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.


Usage Guidelines

When configuring VRID, pay attention to the following points:

  •   A VRID identifies the devices of the same VRRP group. Two devices in a VRRP group must be configured with the same VRID.
  •   It is recommended that VRRP groups on different L3 interfaces of a device should be configured with different VRIDs. 
  •   One chassis switch supports a maximum of 128 VRRP groups. Please set the number of VRRP group based on device performance.


Example

  •  Create a VRRP group on vlan100 with VRID 2. 
admin@Xorplus# set protocols vrrp interface vlan100 vrid 2
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.