H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 3 OSPF Configuration Commands
3-36
[H3C-ospf-1-area-0.0.0.1] network 36.0.0.0 0.255.255.255
[H3C-ospf-1-area-0.0.0.1] nssa
3.1.30 ospf
Syntax
ospf [ process-id [ router-id router-id ] ]
undo ospf [ process-id ]
View
System view
Parameters
process-id: OSPF process ID, in the range 1 to 65535. By default, the process ID is 1.
The 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 commands: network.
Examples
# Enable OSPF.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] router id 10.110.1.8
[H3C] ospf 1
[H3C-ospf-1]
# Enable and run OSPF with the process ID of 120.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] router id 10.110.1.8
[H3C] ospf 120
[H3C-ospf-120]