![SNR S2940-8G-v2 Configuration Manual Download Page 145](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630145.webp)
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.
PC
Printer
Switch
Switch
Switch
PC
PC
PC
PC
VLAN100
VLAN200
VLAN300
PC
PC
PC
M
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
Summary of Contents for S2940-8G-v2
Page 11: ...SNR S2940 8G v2 Switch Configuration Guide Part I Basic Management Configuration 11...
Page 46: ...SNR S2940 8G v2 Switch Configuration Guide Part II Port Configuration 46...
Page 123: ...SNR S2940 8G v2 Switch Configuration Guide Part III VLAN and MAC Table Configuration 123...
Page 164: ...SNR S2940 8G v2 Switch Configuration Guide Part IV MSTP Configuration 164...
Page 198: ...SNR S2940 8G v2 Switch Configuration Guide Part VI L3 Forward and ARP Configuration 198...
Page 218: ...SNR S2940 8G v2 Switch Configuration Guide Part VII DHCP Configuration 218...
Page 257: ...SNR S2940 8G v2 Switch Configuration Guide Part VIII Multicast Protocol 257...
Page 278: ...SNR S2940 8G v2 Switch Configuration Guide Part IX Security Function Configuration 278...
Page 376: ...SNR S2940 8G v2 Switch Configuration Guide Part X Reliability Configuration 376...
Page 395: ...SNR S2940 8G v2 Switch Configuration Guide Part XI Flow Monitor Configuration 395...
Page 403: ...SNR S2940 8G v2 Switch Configuration Guide Part XII Network Time Management Configuration 403...
Page 411: ...SNR S2940 8G v2 Switch Configuration Guide Part XIII Debugging and Diagnosis 411...