SGS-6341-Series User Manual

Table Of Contents
20-93
2. Set the VLAN to MAC VLAN
Command Explanation
Global Mode
mac-vlan vlan <vlan-id>
no mac-vlan
Configure the specified VLAN to MAC
VLAN; the “no mac-vlan” command
cancels the MAC VLAN configuration of
this VLAN.
3. Configur
e the correspondence bet
ween the MAC address and the VLAN
Command Explanation
Global Mode
mac-vlan mac <mac-addrss> vlan
<vlan-id> priority <priority-id>
no mac-vlan {mac <mac-addrss>|all}
Add/delete the correspondence between
the MAC address and the VLAN, namely
specified MAC address join/leave
specified VLAN.
4. Configur
e the IP-subnet-based VLAN fun
ction on the port
Command Explanation
Port Mode
switchport subnet-vlan enable
no switchport subnet-vlan enable
Enable/disable the port IP-subnet-base
VLAN function on the port.
5. Configure the correspondence bet
ween the IP subnet and the VLAN
Command Explanation
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}
Add/delete the correspondence between
the IP subnet and the VLAN, namely
specified IP subnet joins/leaves specified
VLAN.
User’s Manual of SGS-6341 series