Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-38
default route will always be generated. The type-7 LSA default route is generated only
when the route 0.0.0.0 exists in the routing table on the ASBR.
On the ASBR, if the no-import-route argument is provided, the external route imported
by OSPF with the import-route command will not be advertised to NSSA area.
Example
# Configure area 1 as NSSA area.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ospf 1
[Quidway-ospf-1] area 1
[Quidway-ospf-1-area-0.0.0.1] network 36.0.0.0 0.255.255.255
[Quidway-ospf-1-area-0.0.0.1] nssa
3.1.33 ospf
Syntax
ospf [ process-id [ router-id router-id ] ]
undo ospf [ process-id ]
View
System view
Parameter
process-id: OSPF Process ID, ranging from 1 to 65535. By default, the process ID is 1.
process-id is locally significant.
router-id: Router ID used by an OSPF process, in dotted decimal notation.
Description
Use the ospf command to enable OSPF
Use the undo ospf command to disable OSPF
After OSPF is enabled, you can perform the related configuration in OSPF view.
By default, the system does not run OSPF.
Related command: network.
Example
# Enable OSPF.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] router id 10.110.1.8