< Home

vrrp version-3 send-packet-mode

Function

The vrrp version-3 send-packet-mode command sets the mode for sending Advertisement packets in VRRPv3.

The undo vrrp version-3 send-packet-mode command restores the default mode for sending Advertisement packets in VRRPv3.

Format

vrrp version-3 send-packet-mode { v2-only | v3-only | v2v3-both }

undo vrrp version-3 send-packet-mode

Parameters

Parameter Description Value

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

System 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 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 Advertisement packets in VRRPv3 to v2-only.

<sysname> system-view
[sysname] vrrp version-3 send-packet-mode v2-only
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >