beautypg.com

2 commands for dynamic vlan configuration, 1 dynamic-vlan mac-vlan prefer, 2 dynamic-vlan subnet-vlan prefer – Accton Technology ES4626 User Manual

Page 194: 3 mac-vlan

background image

194

5.5.2.2 Commands for Dynamic VLAN Configuration

5.5.2.2.1 dynamic-vlan mac-vlan prefer

Command: dynamic-vlan mac-vlan prefer

Function:

Set the MAC-based VLAN preferred.

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. After the IP-subnet-based

VLAN is set to be preferred and the user wish to restore to preferring the MAC-based

VLAN, please use this command

Example:

Set the MAC-based VLAN preferred.

SwitchA#config

SwitchA(config)#dynamic-vlan mac-vlan prefer

5.5.2.2.2 dynamic-vlan subnet-vlan prefer

Command: dynamic-vlan subnet-vlan prefer

Function:

Set the IP-subnet-based VLAN preferred.

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

5.5.2.2.3 mac-vlan

Command: mac-vlan mac vlan priority

no mac-vlan {mac |all}

Command

Explanation

Global Mode

dynamic-vlan mac-vlan prefer

dynamic-vlan subnet-vlan prefer

Configure the priority of the dynamic

VLAN

This manual is related to the following products: