<vlan-id> priority <priority-id>
no mac-vlan {mac <mac-addrss>|all}
4. Configure the IP-subnet-based VLAN function on the port
Command
Port Mode
switchport subnet-vlan enable
no switchport subnet-vlan enable
5. Configure the correspondence between the IP subnet and the VLAN
Command
Global Mode
subnet-vlan ip-address <ipv4-addrss>
mask <subnet-mask> vlan <vlan-id>
priority <priority-id>
no subnet-vlan {ip-address <ipv4-addrss>
mask <subnet-mask>|all}
6. Configure the correspondence between the Protocols and the VLAN
Command
Global Mode
protocol-vlan mode {ethernetii etype
<etype-id>|llc {dsap <dsap-id> ssap
<ssap-id>}|snap etype <etype-id>} vlan
<vlan-id> priority <priority-id>
no protocol-vlan {mode {ethernetii etype
<etype-id>|llc {dsap <dsap-id> ssap
<ssap-id>}|snap etype <etype-id>}|all}
the MAC address and the VLAN, namely
specified MAC address join/leave
specified VLAN.
Explanation
Enable/disable the port IP-subnet-base
VLAN function on the port.
Explanation
Add/delete the correspondence between
the IP subnet and the VLAN, namely
specified IP subnet joins/leaves specified
VLAN.
Explanation
Add/delete the correspondence between
the Protocols and the VLAN, namely
specified protocol joins/leaves specified
VLAN.
20-95