136
NOTE:
The interface bound with a VPLS instance does not support the redirection function (the
redirect
command). For more information about the
redirect
command, see
ACL and QoS Command Reference.
Binding a Layer 3 interface with a VPLS instance
To bind a Layer 3 interface with a VPLS instance:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface
interface-type
interface-number
—
Configure the interface to work in
Layer 3 mode
port link-mode route
Required if the interface is an
Ethernet interface. Other types of
interfaces do not require this
configuration.
Bind the interface with a VPLS
instance
l2
binding
vsi
vsi-name
[
access-mode
{
ethernet
|
vlan
} |
{
hub
|
spoke }
] *
Required
By default, an interface is not
bound with any VPLS instance.
NOTE:
•
“Layer 3 interface” in this configuration task does not include VLAN interfaces. You cannot bind a VPLS
instance directly with a VLAN interface. Instead, you can bind a Layer 2 Ethernet interface in the VLAN
with the VPLS instance. For more information, see “
Binding a service instance with a VPLS instance
.”
•
On the interface that is bound with a VPLS instance, do not configure other Layer 3 applications.
•
A P2P enabled VPLS instance cannot be bound with a Layer 3 interface.
•
If you bind a Layer 3 interface with a VPLS instance, IP related functions on the sub-interfaces of the
Layer 3 interface will fail. For example, the sub-interfaces cannot receive ARP or IGMP packets; they
cannot forward unicast or multicast packets. After you remove the binding, the IP related functions on the
sub-interfaces recover.
Binding a service instance with a VPLS instance
To bind a service instance with a VPLS instance, you need to:
•
Create the service instance on a Layer 2 Ethernet interface
•
Configure a packet matching rule for the service instance
•
Bind the service instance with the VPLS instance.
After these configurations, packets that arrive at the Layer 2 Ethernet interface and match the packet
matching rule will be forwarded by the bound VPLS instance.
To bind a service instance with a VPLS instance:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a VLAN for packet
matching
vlan
vlan-id
Required