3Com Switch 8800 Family Configuration Guide
BGP/MPLS VPN Configuration 543
c
CAUTION:
■ Ports supporting this function stop supporting the application of ACL rules.
■ Associate interface with VPN-instance
VPN instance is associated with the direct-connect Site through interface binding.
When the packets from the Site reach the PE router though the interface bound,
then the PE can look routing information (including next hop, label, egress
interface, and so on.) up in the corresponding VPN-instance.
This command can associate a VPN-instance with an interface.
Perform the following configuration in VLAN interface view.
c
CAUTION: As executing the ip binding vpn-instance command on an interface
will delete the IP address of the interface, you must configure the IP address of the
interface after executing that command when you bind the interface with a
VPN-instance.
Configuring PE-CE route exchanging
These route exchanging modes are available between PE and CE: static route, RIP,
OSPF, EBGP.
1 Configure static route on PE
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.
Disable the 4K vpn-range for the interface undo port vpn-range share-mode enable
Table 532 Configure the MPLS/VPN VLAN vlan-id range for the interface
Operation Command
Tab le 533 Associate interface with VPN-instance
Operation Command
Associate interface with VPN-instance ip binding vpn-instance vpn-instance-name
Remove the association of the interface with
VPN-instance
undo ip binding vpn-instance
vpn-instance-name
Tab le 534 Create/Delete static route in VPN-instance routing table
Operation Command
Create the static route
of a specific
VPN-instance
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 | public ] [
reject | blackhole ]
Delete a static route of a
specific VPN-instance
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 | public ] [
reject | blackhole ]