Configuring Qualified MAC Learning
Qualified MAC learning enables a device to learn the
MAC addresses of network nodes by learning the innermost VLAN tag
of single vlan-tagged, 2-tagged , or 3-tagged ingress packets without
deleting the outer tag (using the pop
operation).
To enable qualified MAC learning on the innermost VLAN tag for 2 or 3 tagged packets:
For enabling qualified MAC learning on the third VLAN
tag (innermost) of a 3-tagged packet, along with vlan-id inner-all
, configure the deep-vlan-qualified-learning vlan_tag_number
statement.
In configuration mode, go to the
edit interfaces interface-name unit logical_unit_number
hierarchy level.[edit] user@host# edit interfaces interface-name unit logical_unit_number
Include the
deep-vlan-qualified-learning vlan_tag_number
statement.For bidirectional traffic flow, include the statement
input-vlan-map pop
.[edit interfaces interface--name unit logical_unit_number] user@host# set deep-vlan-qualified-learning 3 user@host# set input-vlan-map pop
Verify learned MAC address information..
user@host# show vpls mac-table