3Com Switch 8800 Configuration Guide
Chapter 37 BGP/MPLS VPN Configuration
37-12
37.2.2 Configuring PE Router
I. Configuring basic MPLS capability
It includes configuring MPLS LSR ID, enable MPLS globally and enable MPLS in the
corresponding VLAN interface view.
See MPLS Basic Capacity Configure for details.
II. Defining BGP/MPLS VPN site
1)
Create vpn-instance and enter vpn-instance view
The VPN instance is associated with a site. The VPN membership and routing rules of
a site is configured in the corresponding VPN instance.
This command is used to create a new vpn-instance and enter the vpn-instance view,
or directly enter the vpn-instance view if the vpn-instance already exists.
Perform the following configuration in the system view.
Table 37-3
Create a vpn-instance and enter vpn-instance view
Operation
Command
Create a vpn-instance and enter
vpn-instance view
ip vpn-instance
vpn
-
instance
-
name
Delete a vpn-instance
undo ip vpn-instance
vpn
-
instance
-
name
By default, no vpn-instance is defined.
2)
Configure RD for the vpn-instance
After PE router is configured with RD, when a VPN route learned from CE is imported
into BGP, BGP attaches the RD in front of the IPv4 address. Then the general IPv4
address which may overlaps between several VPN IPv4 addresses in the VPN is
turned into a globally unique VPN IPv4 address and thus ensure the correct routing in
the VPN.
Perform the following configuration in vpn-instance view.
Table 37-4
Configure RD for the vpn-instance
Operation
Command
Configure RD for the vpn-instance
route-distinguisher
route
-
distinguisher
The parameter in the above command has no default value. A vpn-instance works only
when a RD is configured for it. Other parameters for a vpn-instance cannot be
configured before configuring a RD for it.
To modify the RD, you must first delete the vpn-instance and reconfigure it.