3com 8807 Guia De Referência

Página de 1099
LDP Configuration Commands
727
If you enable an OSPF process without specifying a Router ID, and the process is to 
be bound to a VPN instance, the VPN instance should have an interface that is 
configured with an IP address.
If you want to bind a process to a VPN instance, you must specify the VPN instance 
name.
One VPN instance may include several processes. For example, for VPN1, you can 
configure the commands OSPF 1 VPN-instance VPN1OSPF2 VPN-instance 
VPN1
, and OSPF3 VPN-instance VPN1. Accordingly, VPN instance VPN1 will 
include the OSPF processes 1, 2, and 3.
However, one process belongs to one instance only. If you have configured OSPF 1 
VPN-instance VPN1
, you cannot configure OSPF 1 VPN-instance VPN2
Otherwise, the system prompts: "Wrong configuration. Process 1 has been bound 
to VPN-instance VPN-instance 1". If you configure OSPF 1 first and then OSPF 1 
VPN-instance VPN1
, the system prompts: "Wrong configuration. Process 1 has 
been running in public domain".
If you configure OSPF 1 VPN-instance VPN1 first and then OSPF 1, the system 
enters OSPF 1 VPN-instance VPN1 mode. That is, the OSPF 1 and OSPF 1 
VPN-instance VPN1
 commands are equivalent.
When an OSPF process is bound to a VPN instance, the default OSPF router is PE 
router. After executing the display OSPF process-id brief command, you will view 
the information: "PE router, connected to VPN backbone".
CAUTION:
A router can run no more than 1024 OSPF processes, with up to 10 processes 
enabled in each VPN instance.
If you bind an OSPF process to a nonexistent VPN instance, the configuration 
for the command fails and display the errors: The specified VPN-Instance does 
not exist, or the VPN-Instance’s Route-Distinguisher is not specified.
When a VPN instance is deleted, all the related OSPF processes will be deleted. 
For example, the VPN instance VPN 1 includes the OSPF processes 1, 2 and 3. If 
VPN instance VPN 1 is deleted, the OSPF processes 1, 2 and 3 will all be deleted 
at the same time.
Related command: network.
Example
# Enable OSPF protocol with the default process ID 1.
[SW8800] router id 10.110.1.8
 
[SW8800] ospf 
# Enable OSPF protocol with the process ID 120.
[SW8800] router id 10.110.1.8
 
[SW8800] ospf 120
 
[3Com-ospf-120] 
# Enable OSPF process with the process ID 100, specify its Route ID to 2.2.2.2, and 
bind it to VPN instance VPN1.