3Com Switch 8800 Configuration Guide
Chapter 37 BGP/MPLS VPN Configuration
37-16
z
Both VLAN ID and IP address-based packet redirection.
Perform the following configuration in the Ethernet port view.
Table 37-12
Configure packet redirection at the Ethernet port on the B card
Operation
Command
Configure packet
redirection to the
specific port on the
supporting MPLS card.
traffic-redirect
inbound
{
link-group
{
acl
-
number
|
acl
-
name
} [
rule
rule
[
system-index
index
] ] |
ip-group
{
acl
-
number
|
acl
-
name
} [
rule
rule
] } {[
system-index
index
] ] }
interface
{
interface
-
name
|
interface
-
type
interface
-
num
} {
l2-vpn
|
destination
-
vlan
l3-vpn
Delete packet
redirection
configuration
undo traffic-redirect inbound
{
link-group
{
acl
-
number
|
acl
-
name
} [
rule
rule
] |
ip-group
{
acl
-
number
|
acl
-
name
} [
rule
rule
] }
7)
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.
Table 37-13
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
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.
III. 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