Command Reference Guide
3Com Router 5000 Family and Router 6000 Family ospf vpn instance ● 73
Command Reference
ospf vpn instance
Purpose Use the ospf command to enable an OSPF process.
Use the undo ospf command to disable an OSPF process.
Syntax ospf process-id [ router-id router-id-number ] vpn-instance
vpn-instance-name
undo ospf process-id
Parameters process-id
OSPF process ID. By default, it is set to 1.
router-id-number
Router ID for an OSPF process. It is optional.
vpn-instance-name
VPN instance bound to an OSPF process.
Default By default, OSPF protocol is not used in the system.
Example Enable OSPF protocol with default process ID.
[3Com ] router id 10.110.1.8
[3Com ] ospf
Enable OSPF protocol with process ID 120.
[3Com ] router id 10.110.1.8
[3Com ] ospf 120
[3Com -ospf-120]
Enable OSPF process with process ID 100, specify its route ID to 2.2.2.2, and bind it to
VPN instance vpn1.
[3Com ] ospf 100 router-id 2.2.2.2 vpn-instance vpn1
[3Com -ospf-100]
View This command can be used in the following views:
■ System view
Description After enabling an OSPF process, you can perform the configuration related to OSPF in
the OSPF protocol view.
VRP supports multiple OSPF processes, so you can specify different process IDs to
enable multiple OSPF processes on a router.
You are recommended to specify route-id in a process using router-id when
enabling the OSPF process. If you want to enable multiple processes on a router, you
are recommended to specify different router IDs for different processes.