User's Manual

Table Of Contents
15-28
5. Configure the correspondence between 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.
6. Configure the correspondence between the Protocols and the VLAN
Command
Explanation
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}
Add/delete the correspondence between
the Protocols and the VLAN, namely
specified protocol joins/leaves specified
VLAN.
7. Adjust the priority of the dynamic VLAN
Command
Explanation
Global Mode
dynamic-vlan mac-vlan prefer
dynamic-vlan subnet-vlan prefer
Configure the priority of the dynamic
VLAN.
15.5.3 Typical Application of the Dynamic VLAN
Scenario:
In the office network Department A belongs to VLAN100. Several members of this department often have the
need to move within the whole office network. It is also required to ensure the resource for other members of
the department to access VLAN 100. Assume one of the members is M, the MAC address of his PC is
00-30-4f-11-22-33, when M moves to VLAN200 or VLAN300, the port connecting M is configured as Hybrid
mode and belongs to VLAN100 with untag mode. In this way, the data of VLAN100 will be forwarded to the
port connecting M, and implement the communication requirement in VLAN100.