beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 225

background image

15-17

With MAC-based dynamic port assignment enabled, packets with unknown source MAC
addresses are sent to the CPU for processing. Because this packet processing mode has the
highest priority, the configuration of MAC learning limit and disabling MAC address learning
becomes invalid. Therefore, it is recommended not to configure these two features if MAC-based
dynamic port assignment is enabled.

In MAC-based dynamic port 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 the MSTP instance for the corresponding VLAN is blocked, packets with
unknown source MAC addresses will fail to be sent to the CPU. As a result, the receiving port will
not be dynamically assigned to the corresponding VLAN. Since MAC-based dynamic port
assignment is mainly configured on the access side, it is recommended not to configure it together
with MSTP.

Do not enable MAC-based dynamic port assignment together with 802.1X or MAC authentication.

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 MAC Address

Table Configuration

in the Layer 2 - LAN Switching Configuration Guide.

To do...

Use the command...

Remarks

Enter system view

system-view

Associate MAC addresses

with a VLAN

mac-vlan mac-address

mac-address

vlan vlan-id [ priority

priority

]

Required

Enter Ethernet

interface view

interface interface-type

interface-number

Enter

Ethernet

interface

view or port

group view

Enter port

group view

port-group manual

port-group-name

Use either command.

In Ethernet interface view, the

subsequent configurations apply only

to the current port; in port group view,

the subsequent configurations apply

to all ports in the port group.

Configure the link type of the

port(s) as hybrid

port link-type

hybrid

Required

Enable MAC-based VLAN

mac-vlan enable

Required

Disabled by default

Enable MAC-based dynamic

port assignment

mac-vlan trigger enable

Optional

Disabled by default