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.
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. |
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.
<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