beautypg.com

3 mac-vlan, 3 mac-vlan -62 – PLANET WGSW-52040 User Manual

Page 293

background image

17-62

Parameter:

None.

Command Mode:

Global Mode.

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

Switch(config)#dynamic-vlan subnet-vlan prefer

17.3.3 mac-vlan

Command:

mac-vlan mac vlan priority

no mac-vlan {mac |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.