Command Reference Guide

3Com Router 5000 Family and Router 6000 Family ospf 213
Command Reference
ospf
Purpose Use the ospf command to enable the OSPF protocol.
Use the undo ospf command to disable the OSPF protocol.
Syntax ospf [ process-id [ [ router-id router-id ] vpn-instance vpn-instance-name
] ]
undo ospf [ process-id ]
Parameters process-id
Number of an OSPF process. If no process number is
specified the default number 1 is used.
router-id
Router ID employed by the OSPF process, in dotted
decimal notation.
vpn-instance-name
Name of the VPN instance bound with the OSPF
process.
Default By default, the system does not run the OSPF protocol.
Example Enable the OSPF protocol.
[3Com ] router id 10.110.1.8
[3Com ] ospf
[3Com -ospf-1]
Enable OSPF process 120.
[3Com ] router id 10.110.1.8
[3Com ] ospf 120
[3Com -ospf-120]
View This command can be used in the following views:
System view
Description By specifying different process IDs, you can run multiple OSPF processes on the same
router. In this case, you are recommended to use router-id to specify different Router
IDs for those processes.
After enabling OSPF protocol, the user can make the corresponding configuration in
OSPF view.
If you use OSPF as the VPN interior routing protocol of the MPLS VPN solution, the
OSPF process must be bound with the VPN instance. For more details, refer to the
“VPN” section of this manual.