H3C Technologies H3C S12500 Series Switches User Manual

Page 27

Advertising
background image

14

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Associate MAC addresses

with a VLAN.

mac-vlan mac-address mac-address
vlan vlan-id [ priority priority ]

The priority keyword can be
configured but does not take effect.

Packets are always forwarded
according to the default priority of the

port.

3.

Enter interface view or port
group view.

Enter Ethernet interface view:

interface interface-type
interface-number

Enter port group view:

port-group manual
port-group-name

N/A

4.

Configure the link type of
the ports as hybrid.

port link-type hybrid

By default, the link type of a port is
access.

5.

Configure the hybrid ports
to permit packets from

specific MAC-based
VLANs to pass through.

port hybrid vlan vlan-id-list { tagged
| untagged }

By default, a hybrid port only permits
the packets of VLAN 1 to pass
through.

6.

Enable MAC-based
VLAN.

mac-vlan enable

By default, MAC-based VLAN is
disabled.

To configure dynamic MAC-based VLAN:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view or port
group view.

Enter Ethernet interface view:

interface interface-type
interface-number

Enter port group view:

port-group manual
port-group-name

N/A

3.

Configure the link type of
the ports as hybrid.

port link-type hybrid

By default, the link type of a port is
access.

4.

Configure the hybrid ports to

permit packets from specific
MAC-based VLANs to pass

through.

port hybrid vlan vlan-id-list
{ tagged | untagged }

By default, a hybrid port only permits
the packets of VLAN 1 to pass

through.

5.

Enable MAC-based VLAN.

mac-vlan enable

By default, MAC-based VLAN is
disabled.

6.

Configure

802.1X/MAC/portal
authentication.

For more information, see Security
Command Reference
.

N/A

Advertising
This manual is related to the following products: