Configuring server-assigned MAC-based VLAN
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter Layer 2 Ethernet interface view. | interface interface-type interface-number | N/A |
3. Configure the link type of the ports as hybrid. | port link-type hybrid | By default, all ports are access ports. |
4. Configure the hybrid port to forward packets from the MAC-based VLANs. | port hybrid vlan vlan-id-list { tagged | untagged } | By default, a hybrid port is an untagged member of the VLAN to which the port belongs when its link type is access. |
5. Enable the MAC-based VLAN feature. | mac-vlan enable | By default, MAC-based VLAN is disabled. |
6. Configure 802.1X or MAC authentication. | For more information, see Security Command Reference. | N/A |