The ospf timer ldp-sync hold-down multi-area command configures a Hold-down timer for an OSPF multi-area adjacency interface to delay establishing an OSPF neighbor relationship until an LDP session and an LDP adjacency are reestablished.
The undo ospf timer ldp-sync hold-down multi-area command restores the default configuration.
By default, the value of the Hold-down timer is 10s.
Parameter | Description | Value |
---|---|---|
value |
Specifies the Hold-down timer for an OSPF multi-area adjacency interface to delay establishing an OSPF neighbor relationship until an LDP session and an LDP adjacency are reestablished. |
The value is an integer ranging from 0 to 65535, in seconds. |
area-id |
Specifies the ID of an OSPF area. |
The value can be a decimal integer ranging from 0 to 4294967295 or in the format of an IP address. |
100GE interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, GMPLS-UNI interface view, Global VE sub-interface view, Tunnel interface view, VE sub-interface view, VLANIF interface view
Usage Scenario
If LDP-OSPF synchronization is enabled and the active link recovers from a physical fault, OSPF enters the Hold-down state and starts the Hold-down timer. After the timer expires, an LDP session and an LDP adjacency are reestablished, and traffic is switched back to the active link.
To configure a Hold-down timer for an OSPF multi-area adjacency interface to delay establishing an OSPF neighbor relationship until an LDP session is established, run the ospf timer ldp-sync hold-down multi-area command.Prerequisites
The ospf enable multi-area command has been run.
<HUAWEI> system-view [~HUAWEI] ospf 1 [*HUAWEI-ospf-1] area 0 [*HUAWEI-ospf-1-area-0.0.0.0] quit [*HUAWEI-ospf-1] area 1 [*HUAWEI-ospf-1-area-0.0.0.1] quit [*HUAWEI-ospf-1] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] ospf enable 1 area 0 [*HUAWEI-GigabitEthernet0/1/0] ospf enable multi-area 1 [*HUAWEI-GigabitEthernet0/1/0] ospf timer ldp-sync hold-down 15 multi-area 1