H3C S5120-SI series Configuration Manual page 120

Hide thumbs Also See for S5120-SI series:
Table of Contents

Advertisement

NOTE:
With dynamic MAC-based VLAN assignment enabled, packets are delivered to the CPU for processing.
The packet processing mode has the highest priority and overrides the configuration of MAC learning
limit. When dynamic MAC-based VLAN assignment is enabled, do not configure the MAC learning
limit.
Do not use dynamic MAC-based VLAN assignment together with 802.X and MAC authentication.
In dynamic MAC-based VLAN assignment, the port that receives a packet with an unknown source
MAC address can be successfully assigned to the matched VLAN only when the matched VLAN is a
static VLAN.
With MSTP enabled, if a port is blocked in the MST instance (MSTI) of the target MAC-based VLAN, the
port drops the received packets, instead of delivering them to the CPU. As a result, the receiving port will
not be dynamically assigned to the corresponding VLAN. Do not configure dynamic MAC-based VLAN
assignment together with MSTP, because the former is mainly configured on the access side.
When PVST is enabled, if the VLAN to which a port is to be assigned is not allowed by the port, the port
is blocked. In this case, the port drops received packets instead of delivering them to the CPU, failing to
complete dynamic MAC-based VLAN assignment. Do not configure dynamic MAC-based VLAN
assignment together with PVST, because the former is mainly configured on the access side.
When a MAC address ages, the receiving port automatically leaves the VLAN to which it was
dynamically assigned to. For more information about MAC address aging, see the chapter
address table
configuration."
Follow these steps to configure dynamic MAC-based VLAN assignment:
To do...
Enter system view
Associate MAC addresses
with a VLAN
Enter Layer 2
Ethernet
Enter Layer
interface view
2 Ethernet
interface
view or port
Enter port
group view
group view
Configure the link type of the
port(s) as hybrid
Enable MAC-based VLAN
Enable dynamic MAC-based
VLAN assignment
Use the command...
system-view
mac-vlan mac-address mac-address
vlan vlan-id [ priority priority ]
interface interface-type
interface-number
port-group manual port-group-name
port link-type hybrid
mac-vlan enable
mac-vlan trigger enable
109
Remarks
Required
With dynamic MAC-based VLAN
assignment enabled, a port is
automatically assigned to the VLAN
in the MAC address-to-VLAN entry
that is exactly matched by the source
MAC address of the packet received
on the port.
Use either command.
The configuration made in Layer 2
Ethernet interface view applies
only to the current port.
The configuration made in port
group view applies to all ports in
the port group.
Required
Required
Disabled by default
Required
Disabled by default
"MAC

Advertisement

Table of Contents
loading

Table of Contents