205
Default:
MAC-based VLAN is preferred by default
Usage Guide:
Configure the preference of dynamic-vlan on switch. The default priority
sequence is MAC-based VLAN
、
IP-subnet-based VLAN
、
Protocol-based VLAN, namely
the preferred order when several dynamic VLAN is available. This command is used to
set to preferring the IP-subnet-based VLAN
Example:
Set the IP-subnet-based VLAN preferred.
Switch (config)#dynamic-vlan subnet-vlan prefer
6.5.2.2.3 mac-vlan
Command: mac-vlan mac <mac-addrss> vlan <vlan-id> priority <priority-id>
no mac-vlan {mac <mac-addrss>|all}
Function:
Add the correspondence between MAC address and VLAN, namely specify
certain MAC address to join specified VLAN. The “no” form of this command deletes
all/the correspondence.
Parameter:
mac-address is the MAC address which is shown in the form of
XX-XX-XX-XX-XX-XX,vlan-id is the ID of the VLAN with a valid range of
1~4094;priority-id is the level of priority and is used in the VLAN tag with a valid range of
0~7;all refers to all the MAC addresses.
Command Mode:
Global Mode
Default:
No MAC address joins the VLAN by default.
Usage Guide:
With this command user can add specified MAC address to specified
VLAN. If there is a non VLAN label data packet enters from the switch port from the
specified MAC address, it will be assigned with specified VLAN ID so sent enter specified
VLAN. Their belonging VLAN are the same no matter which port did they enter through.
The command does not have any interfere on the VLAN label data packet
Example:
Switch #config
Switch (config)#mac-vlan mac 00-03-0f-11-22-33 vlan 100 priority 0
6.5.2.2.4 protocol-vlan
Command: protocol-vlan mode {ethernetii etype <etype-id>|llc {dsap <dasp-id>
ssap <ssap-id>}|snap etype <etype-id>} vlan <vlan-id>
no protocol-vlan {mode {ethernetii etype <etype-id>|llc {dsap
<dasp-id> ssap <ssap-id>}|snap etype <etype-id>}|all}
Function:
Add the correspondence between the protocol and the VLAN namely specify
the protocol to join specified VLAN. The “no” form of this command deletes all/the
correspondence
Parameter:
Mode is the encapsulate type of the configuration which is ethernetii
、
llc
、
snap;the encapsulate type of the ethernetii is EthernetII;etype-id is the type of the packet
protocol, with a valid range of 1536~65535;llc is LLC encapsulate format;dasp-id is the