3Com Switch 8800 Configuration Guide
Chapter 37 BGP/MPLS VPN Configuration
37-17
You can configure a static route pointing to CE on PE for it to learn VPN routing
information from CE.
Perform the following configuration in the system view.
Table 37-14
Configure static route in vpn-instance routing table
Operation
Command
Create a specific
vpn-instance static
route
ip route-static vpn-instance
vpn
-
instance
-
name1
vpn
-
instance
-
name2
…
ip
-
address
{
mask
|
mask
-
length
}
{
interface
-
name
| [
vpn-instance vpn
-
nexthop
-
name
vpn
-
nexthop
-
address
] } [
preference
preference
-
value
]
[
reject
|
blackhole
]
Delete a specific
vpn-instance static
route
undo ip route-static vpn-instance
vpn
-
instance
-
name1
vpn
-
instance
-
name2
…
ip
-
address
{
mask
|
mask
-
length
}
{
interface
-
name
[
vpn-instance vpn
-
nexthop
-
name
vpn
-
nexthop
-
address
] } [
preference
preference
-
value
]
[
reject
|
blackhole
]
By default, the preference value for a static route is 60. You can also specify another
preference for the static route you are configuring.
2)
Configure RIP multi-instance
If you select RIP mode for CE-PE route switching, you should then specify running
environment for RIP instance on PE. With this command, you can enter RIP view and
import and advertise RIP instance in the view.
Perform the following configuration in the RIP view.
Table 37-15
Configure PE-CE RIP instance
Operation
Command
Create PE-CE RIP instance
ipv4-family
[
unicast
]
vpn-instance
vpn
-
instance
-
name
Delete PE-CE RIP instance
undo ipv4-family
[
unicast
]
vpn-instance
vpn
-
instance
-
name
Then configuring RIP multi-instance to import IBGP route.
For details about RIP configuration, see RIP configuration section in Routing Protocol
of this manual.
3)
Configure OSPF multi-instance on PE
If you select OSPF mode for CE-PE route switching, you should then configure OSPF
multi-instance on PE. Other configurations, such as MPLS basic configuration,
vpn-instance configuration, do not change. Noted that when OSPF routes and
direct-connect routes are imported in the VPN instance address family view, BGP