3Com Switch 8800 Configuration Guide Chapter 37 BGP/MPLS VPN Configuration
37-11
I. Creating static route
If you select static route mode for CE-PE route switching, you should then configure a
private static route pointing to PE on CE.
Perform the following configuration in the system view.
Table 37-1 Create/delete a static route in VPN instance routing table
Operation Command
Create a specified
vpn-instance static route
ip route-static ip-address { mask | mask-length }
{ interface-name | gateway-address } [ preference
preference-value ] [ reject | blackhole ]
Delete a specified
vpn-instance static route
undo ip route-static ip-address { mask | mask-length }
[ interface-name | gateway-address ] [ preference
preference-value ]
By default, the preference value for a static route is 60. You can also specify preference
for a static route.
II. Configuring RIP
If you select RIP mode for CE-PE route switching, you should then configure RIP on CE.
For detailed RIP configuration steps, see the RIP section in this guide
III. Configuring OSPF
If you select OSPF mode for CE-PE route switching, you should then configure OSPF
on CE. For configuring OSPF, see the routing protocol section of this guide.
You must configure OSPF multi-instance to isolate services of different VPNs on CE
router, which is now called Multi-VPN-Instance CE.
You can bind OSPF procedures with VPN with the following command in OSPF view.
Table 37-2 Configure the router as multi-VPN-instance CE
Operation Command
Configure the router as multi-VPN-instance CE vpn-instance-capability
simple
Remove the configuration undo vpn-instance-capability
IV. Configuring EBGP
If you select BGP mode for CE-PE route switching, you should then configure EBGP
peer, import direct-connect route, static route and other IGP routes, for BGP to
advertise VPN routes to PE.