dcn ospf timer dead (Interface view)

Function

The dcn ospf timer dead command sets the OSPF neighbor dead interval for DCN interfaces.

The undo dcn ospf timer dead command restores the default OSPF neighbor dead interval of DCN interfaces.

The default OSPF neighbor dead interval of P2P DCN interfaces is four times that of hello interval .

The default OSPF neighbor dead interval of P2P DCN serial interfaces is four times that of hello interval .

Format

dcn ospf timer dead interval

undo dcn ospf timer dead

Parameters

Parameter Description Value
interval

Specifies an OSPF neighbor dead interval.

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

Views

100GE interface view, 10G-FG, 10GE interface view, 40GE interface view, FlexE-100G interface view, FlexE-50G interface view, FlexE-50|100G interface view, FlexE interface view, GE optical interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dcn write

Usage Guidelines

Usage Scenario

After DCN is enabled for an interface, the system automatically creates DCN serial interfaces. Or after DCN communication through sub-interfaces 4094 is enabled for an interface, the system automatically creates sub-interfaces 4094.To set the OSPF neighbor dead interval for DCN serial interfaces or sub-interfaces 4094, run the dcn ospf timer dead command.

If an interface does not receive hello packets from an OSPF neighbor within the specified interval, the interface considers the neighbor Down.

Prerequisites

The DCN feature has been enabled globally using the dcn (interface view) command in the interface view, or DCN communication through sub-interfaces 4094 has been enabled using the dcn mode vlan command in the GE interface view.

Precautions

The interval value specified in the dcn ospf timer dead command must be greater than the interval at which Hello packets are sent. In addition, routers on the same network segment must have the same OSPF neighbor dead interval.

  • If the dcn ospf timer dead command is run in the DCN view, the OSPF neighbor dead interval is set for all DCN interfaces
  • If the dcn ospf timer dead command is run in the interface view, the OSPF neighbor dead interval is set for DCN interface.

    In VS mode, this command is supported only by the admin VS.

Example

# Set the OSPF neighbor dead interval to 90 seconds for the DCN serial interfaces of GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] dcn
Warning: This operation will enable DCN function. Continue? [Y/N]:y
[*HUAWEI-dcn] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] dcn
[*HUAWEI-GigabitEthernet0/1/0] dcn ospf timer dead 90
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >