vrrp6 vrid initialize state-hold-time

Function

The vrrp6 vrid initialize state-hold-time command configures an Initialize state hold time for a management VRRP6 (mVRRP6) backup group.

The undo vrrp6 vrid initialize state-hold-time command deletes the Initialize state hold time configured for an mVRRP6 backup group.

By default, no Initialize state hold time is configured for an mVRRP6 backup group.

Format

vrrp6 vrid virtual-router-id initialize state-hold-time timer-value

undo vrrp6 vrid virtual-router-id initialize state-hold-time [ timer-value ]

Parameters

Parameter Description Value
virtual-router-id

Specifies the ID of an mVRRP6 backup group.

The value is an integer ranging from 1 to 255.

timer-value

Specifies an Initialize state hold time.

The value is an integer ranging from 0 to 3600, in seconds.

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view, VLANIF interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vrrp write

Usage Guidelines

Usage Scenario

When an mVRRP6 backup group is configured to ignore an interface Down event, the mVRRP6 backup group directly enters the Backup state. After the device restarts, the device switches to the Master state because it does not receive VRRP6 Advertisement packets before the interface goes Up. In this case, the delayed switchback function becomes invalid, and related service entries fail to be backed up. As a result, services are interrupted. For the preceding scenario, the mVRRP6 backup group remains the Initialize state before the interface goes Up for the first time by default.

If the interface always remains Down, the mVRRP6 backup group remains the Initialize state all the time. You can run the vrrp6 vrid initialize state-hold-time command to configure an Initialize state hold time for the mVRRP6 backup group. After the Initialize state hold time expires, the mVRRP6 backup group enters the Backup state.

Prerequisites

An mVRRP6 backup group has been configured to ignore an interface Down event using the admin-vrrp6 vridignore-if-down command.

Example

# Set an Initialize state hold time to 20s for an mVRRP6 backup group.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1.1
[*HUAWEI-GigabitEthernet0/1/1.1] ipv6 enable
[*HUAWEI-GigabitEthernet0/1/1.1] ipv6 address 100::1/64
[*HUAWEI-GigabitEthernet0/1/1.1] admin-vrrp6 vrid 1 ignore-if-down
[*HUAWEI-GigabitEthernet0/1/1.1] vrrp6 vrid 1 initialize state-hold-time 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >