
209
Step Command
Remarks
3.
Bind the Layer 3 interface to
a VPLS instance.
l2
binding
vsi
vsi-name
[
access-mode
{
ethernet
|
vlan
} ] *
By default, a Layer 3 interface is
not bound to any VPLS instance.
Binding a service instance to a VPLS instance
To bind a service instance to a VPLS instance, create the service instance on a Layer 2 Ethernet
interface, configure a packet matching rule for the service instance, and then bind the service
instance to the VPLS instance. After these configurations, packets that arrive at the Layer 2 Ethernet
interface and match the packet matching rule are forwarded through the bound VPLS instance.
Follow these guidelines when you bind a service instance to a VPLS instance:
•
This feature is available only for routers with SAP-4EXP.
•
A P2P enabled VPLS instance cannot be bound to a service instance.
•
To ensure normal forwarding of VPN traffic, the Layer 2 Ethernet interface must allow the
VLANs that might appear in the VPN traffic. For information about VLAN configurations, see
Layer 2—LAN Switching Configuration Guide
.
To bind a service instance to a VPLS instance:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter the view of the
interface connected to a CE.
interface
interface-type
interface-number
N/A
3.
Create a service instance
and enter its view.
service-instance
service-instance-id
By default, no service instance is
created.
4.
Configure a packet matching
rule for the service instance.
encapsulation
{
port-based
|
s-vid
vlan-id
[
only-tagged
] |
tagged
|
untagged
}
By default, no packet matching
rule is configured for a service
instance.
5.
Bind the service instance to
a VPLS instance.
xconnect vsi
vsi-name
[
access-mode
{
ethernet
|
vlan
} ] *
By default, a service instance is
not bound to any VPLS instance.
This command is available for
service instances with IDs in the
range of 1 to 4094.
Configuring MAC address learning
To configure the MAC address learning function:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VSI view.
vsi
vsi-name
N/A
3.
Enable or disable MAC
address learning for the
VPLS instance.
mac-learning
{
enable
|
disable
}
Optional.
Enabled by default.