The dcn ospf enable command enables the Open Shortest Path First (OSPF) function on the DCN interface.
The undo dcn ospf enable command disables the OSPF function on the DCN interface.
By default, the OSPF function is disabled on DCN interfaces.
Parameter | Description | Value |
---|---|---|
process-id | Specifies the ID of an OSPF process. |
The?value?is?an?integer?ranging?from?1?to?4294967295.?The?default?value?is?1. |
area area-id | Specifies the ID of an OSPF area. |
The value can be an integer or in the format of an IP address.
|
Usage Scenario
To enable OSPF on DCN serial interfaces or sub-interfaces 4094 in a specified process and area, run the dcn ospf enable command.
Prerequisites
DCN has been enabled using the dcn 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
If multiple DCN interfaces of an interface share one IP address, do not use the network command to enable the OSPF function on the DCN interfaces.
The dcn ospf enable command cannot work with the network command. If both of the commands are run on an interface, the interface status may become unstable.In VS mode, this command is supported only by the admin VS.
<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 enable 100 area 1