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
Binding a Layer 3 interface with a VPLS instance
To bind a Layer 3 interface with a VPLS instance:
To do...
Enter system view
Enter interface view
Configure the interface to work in
Layer 3 mode
Bind the interface with a 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
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...
Enter system view
Create a VLAN for packet
matching
Use the command...
system-view
interface interface-type
interface-number
port link-mode route
l2 binding vsi vsi-name
[ access-mode { ethernet | vlan } |
{ hub | spoke } ] *
"Binding a service instance with a VPLS
Use the command...
system-view
vlan vlan-id
136
ACL and QoS Command Reference
Remarks
—
—
Required if the interface is an
Ethernet interface. Other types of
interfaces do not require this
configuration.
Required
By default, an interface is not
bound with any VPLS instance.
Remarks
—
Required
.
instance."