T3700G-28TQ
 
JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 
 
352 
Chapter 42  OSPF Commands   
OSPF is an Interior Gateway Protocol (IGP) designed expressly for IP networks, supporting IP 
subnetting and tagging of externally derived routing information. OSPF also allows packet 
authentication and uses IP multicast when sending and receiving packets. 
router ospf   
Description 
The router ospf command is used to create an OSPF routing process and enter 
the router configuration mode. Each OSPF routing process is an independent 
instance running the OSPF protocol, and they works separately. To delete the 
specified OSPF routing process, please use the no router ospf command. 
Syntax 
router ospf process-id 
no router ospf process-id 
Parameter 
process-id ——    Process ID, ranging from 1 to 65535. Five processes can be 
created at most. 
Command mode 
Global Configuration Mode 
Example 
Create an OSPF routing process with the process ID as 1: 
T3700G-28TQ(config)# router ospf 1 
router-id  
Description 
The  router-id  command is used to configure the router ID. The no router-id 
command is used to delete the configured router ID. If no router ID is configured 
manually or the configured router ID is deleted, the highest IP address among 
all loopback interfaces will be chosen as the router ID.