R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

250
access-mode: Specifies the access mode of the VPLS instance, which can be ethernet or vlan. If the
interface bound with the VPLS instance is a Layer 3 Ethernet subinterface, the default access mode is vlan;
otherwise, the default access mode is ethernet.
ethernet: Specifies the access mode of Ethernet.
vlan: Specifies the access mode of VLAN.
Usage guidelines
The device does not support binding a VPLS instance to a VLAN interface.
IMPORTANT:
W
ith the l2 binding vsi command configured on an interface, services bound to the interface are
considered the internal VPN services of the VPLS instance.
Examples
# Bind VPLS instance aaa to interface GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] l2 binding vsi aaa
Related commands
peer
vsi
mac-learning
Use mac-learning to enable or disable MAC address learning for a VPLS instance.
Syntax
mac-learning { enable | disable }
Default
MAC address learning is enabled.
Views
VSI view
Default command level
2: System level
Parameters
enable: Enables MAC address learning for the VPLS instance.
disable: Disables MAC address learning for the VPLS instance.
Usage guidelines
With MAC address learning disabled for a VPLS instance, the system does not learn source MAC
addresses from the packets received from the VPLS instance.
Examples
# Enables MAC address learning for VPLS instance aaa.
<Sysname> system-view