beautypg.com

3 typical application of the dynamic vlan – QTECH QSW-8300 Инструкция по настройке User Manual

Page 70

background image

+7(495) 797-3311 www.qtech.ru

Москва, Новозаводская ул., 18, стр. 1

69

5. Configure the correspondence between the IP subnet and the VLAN

6. Configure the correspondence between the Protocols and the VLAN

7. Adjust the priority of the dynamic VLAN

9.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-1f-ce-11-22-33, when M moves to VLAN200

Port Mode

switchport subnet-vlan enable

no switchport subnet-vlan enable

Enable/disable the port IP-subnet-base

VLAN function on the port.

Command

Explanation

Global Mode

subnet-vlan ip-address mask

vlan priority

no subnet-vlan {ip-address

mask |all}

Add/delete the correspondence between

the IP subnet and the VLAN, namely

specified IP subnet joins/leaves specified

VLAN.

Command

Explanation

Global Mode

protocol-vlan mode {ethernetii etype

id>|llc {dsap ssap }|snap

etype } vlan priority

no protocol-vlan {mode {ethernetii etype

|llc {dsap ssap

id>}|snap etype }|all}

Add/delete the correspondence between

the Protocols and the VLAN, namely

specified protocol joins/leaves specified

VLAN.

Command

Explanation

Global Mode

dynamic-vlan mac-vlan prefer

dynamic-vlan subnet-vlan prefer

Configure the priority of the dynamic VLAN.