< Home

vrrp vrid version-3 send-packet-mode

Function

The vrrp version-3 send-packet-mode command sets the mode for sending Advertisement packets in VRRPv3 for a specified VRRP backup group.

The undo vrid vrrp version-3 send-packet-mode command restores the default mode for sending Advertisement packets in VRRPv3 for a specified VRRP backup group.

Format

vrrp vrid virtual-router-id version-3 send-packet-mode { v2-only | v3-only | v2v3-both }

undo vrrp vrid virtual-router-id version-3 send-packet-mode

Parameters

Parameter Description Value
vrid virtual-router-id Specifies the ID of a VRRP backup group. The value is an integer ranging from 1 to 255.
v2-only Sets the mode for sending Advertisement packets in VRRPv3 to v2-only. In this mode, the FW sends only the VRRPv2 Advertisement packets. -
v3-only Sets the mode for sending Advertisement packets in VRRPv3 to v3-only. In this mode, the FW sends only the VRRPv3 Advertisement packets. -
v2v3-both Sets the mode for sending Advertisement packets in VRRPv3 to v2v3-both. In this mode, the FW sends both VRRPv2 and VRRPv3 Advertisement packets. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

By default, the mode v3-only is adopted.

When VRRPv3 runs on the current device, you need to specify the mode for sending VRRP Advertisement packets.

If the vrrp sersion-3 send-packet-mode command is run in the system view and the vrrp vrid version-3 send-packet-mode command is run in the interface view, the configuration in the interface view takes effect.

Before running the vrrp vrid version-3 send-packet-mode command, ensure that VRRPv3 runs on the current device.

If a large number of VRRP backup groups are configured, v2v3-both is not recommended.

Example

# Set the mode for sending VRRP Advertisement packets for VRRP backup group 1 to v3-only on GigabitEthernet 0/0/2.

<sysname> system-view
[sysname] vrrp version v3
[sysname] interface GigabitEthernet 0/0/2
[sysname-GigabitEthernet0/0/2] vrrp vrid 1 version-3 send-packet-mode v3-only
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >