direct-route ipv6 degrade-delay

Function

The direct-route ipv6 degrade-delay command sets the delay time after which the original cost of the IPv6 direct route is restored on a specified interface that changes from Down to Up.

The undo direct-route ipv6 degrade-delay command restores the default configurations.

By default, there is no such configuration on the interface.

Format

direct-route ipv6 degrade-delay delay-time degrade-cost cost

undo direct-route ipv6 degrade-delay

Parameters

Parameter Description Value
delay-time

Specifies the delay after which the original cost of the IPv6 direct route is restored on a specified interface.

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

degrade-cost cost

Specifies the cost of the IPv6 direct route on a specified interface.

The value is an integer ranging from 1 to 4294967295.

Views

Eth-Trunk sub-interface view, Global VE sub-interface view, VE sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
route-base write

Usage Guidelines

Usage Scenario

After the direct-route ipv6 degrade-delay command is configured on an interface and the interface changes from Down to Up, the cost of the IPv6 direct route changes to the configured value. After the configuration of delay-time times out, the cost of the IPv6 direct route is restored to the default value 0.

Precautions

The direct-route ipv6 degrade-delay and direct-route ipv6 track pw-state commands are mutually exclusive. If both them are run simultaneously, the latest configuration overrides the previous one.

Example

# Set degrade-cost cost to 30 and delay-time to 10s on Eth-Trunk10.1.
<HUAWEI> system-view
[~HUAWEI] interface eth-trunk 10
[*HUAWEI-Eth-Trunk10] quit
[*HUAWEI] interface eth-trunk 10.1
[*HUAWEI-Eth-Trunk10.1] ipv6 enable
[*HUAWEI-Eth-Trunk10.1] direct-route ipv6 degrade-delay 10 degrade-cost 30
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >