SNR S2940-8G-v2 Switch Configuration Guide
Dynamic VLAN Configuration
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 Configure the priority of the dynamic VLAN.
dynamic-vlan subnet-vlan prefer
21.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 f8-f0-82-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.
Figure 21.1: Typical topology application of dynamic VLAN
Configuration Items Configuration Explanation
MAC-based VLAN Global configuration on Switch A, Switch B, Switch C.
145