Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 3 OSPF Configuration Commands
3Com Corporation
3-41
3.1.35 ospf
Syntax
ospf [ process-id [ [ router-id router-id ] vpn-instance vpn-instance-name ] ]
undo ospf [ process-id ]
View
System view
Parameter
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.
Description
Use the ospf command to enable the OSPF protocol.
Use the undo ospf command to disable the OSPF protocol.
By default, the system does not run the OSPF protocol.
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.
Related command: network.
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]










