Configuring Mac-Based Vlan - H3C S5120-SI series Configuration Manual

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

Advertisement

Configuring MAC-based VLAN

NOTE:
MAC-based VLANs are available only on hybrid ports.
The MAC-based VLAN feature is mainly configured on the downlink ports of the user access devices. Do
not enable this function together with link aggregation.
Configuring static MAC-based VLAN assignment
Follow these steps to configure static MAC-based VLAN assignment:
To do...
Enter system view
Associate MAC addresses
with a VLAN
Enter Layer
2 Ethernet
interface
view or port
group view
Configure the link type of the
port(s) as hybrid
Configure the hybrid port(s) to
permit packets of specific
MAC-based VLANs to pass
through
Enable MAC-based VLAN
Configuring dynamic MAC-based VLAN assignment
Use the command...
system-view
mac-vlan mac-address mac-address
[ mask mac-mask ] vlan vlan-id
[ priority priority ]
Enter Layer 2
interface interface-type
Ethernet
interface-number
interface view
Enter port
port-group manual port-group-name
group view
port link-type hybrid
port hybrid vlan vlan-id-list { tagged
| untagged }
mac-vlan enable
108
Remarks
Required
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
By default, a hybrid port only permits
the packets of VLAN 1 to pass
through.
Required
Disabled by default

Advertisement

Table of Contents
loading

Table of Contents