set protocols vrrp interface vrid version
The set protocols vrrp interface vrid version command assigns the VRRP version on the VRRP-enabled device.
NOTE: This command applies to both VRRPv2 and VRRPv3 configuration. |
Command Syntax
set protocols vrrp interface <interface-name> vrid <virtual-router-id> version <2 | 3>
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. |
version <2 | 3> | Specifies the VRRP version. The value could be 2 or 3, indicating VRRPv2 or VRRPv3. By default, the system uses VRRPv2. |
Usage Guidelines
VRRPv3 supports IPv4 and IPv6 address families while VRRPv2 only supports IPv4 addresses. That is,
- A VRRPv2 group can send and receive only VRRPv2 Advertisement packets. The VRRPv2 group discards the received VRRPv3 Advertisement packets.
- A VRRPv3 group can send and receive both VRRPv2 and VRRPv3 Advertisement packets.
NOTE:
|
Example
- Assign the VRRP version.
admin@Xorplus# set protocols vrrp interface vlan100 vrid 2 version 3 admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.