Configuration Procedure - H3C S3600V2 SERIES Layer 2-Lan Switching Configuration Manual

Hide thumbs Also See for S3600V2 SERIES:
Table of Contents

Advertisement

the port trusts the 802.1p priority of incoming packets and your configuration takes effect. For more
information about the qos trust dot1p command, see ACL and QoS Command Reference.

Configuration procedure

To configure static MAC-based VLAN assignment:
Step
1.
Enter system view.
2.
Associate a specific MAC
address with a VLAN.
Enter interface view or
3.
port group view.
4.
Configure the link type of
the ports as hybrid.
5.
Configure the hybrid
ports to permit packets
from specific MAC-based
VLANs to pass through.
6.
Enable the MAC-based
VLAN feature.
7.
Configure VLAN
matching precedence.
To configure dynamic MAC-based VLAN assignment:
Step
1.
Enter system view.
2.
Associate MAC
addresses with a VLAN.
3.
Enter Ethernet interface
view.
4.
Configure the link type of
the port as hybrid.
5.
Enable the MAC-based
VLAN feature.
Command
system-view
mac-vlan mac-address
mac-address [ mask
mac-mask ] vlan vlan-id
[ priority priority ]
Enter Layer 2 Ethernet
interface view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name
port link-type hybrid
port hybrid vlan vlan-list
{ tagged | untagged }
mac-vlan enable
vlan precedence { mac-vlan |
ip-subnet-vlan }
Command
system-view
mac-vlan mac-address mac-address
vlan vlan-id [ priority priority ]
interface interface-type
interface-number
port link-type hybrid
mac-vlan enable
131
Remarks
N/A
N/A
Use either command.
The configuration made in Ethernet
interface view applies only to the port.
The configuration made in port group
view applies to all ports in the port group.
By default, all ports are access ports.
By default, a hybrid port only permits the
packets from VLAN 1 to pass through.
Disabled by default.
Optional.
By default, VLANs are preferably matched
based on MAC addresses.
Remarks
N/A
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.
N/A
By default, all ports are access ports.
Disabled by default.

Advertisement

Table of Contents
loading

Table of Contents