DELL 8132 ユーザーズマニュアル

ページ / 1818
816
VLAN Commands
User Guidelines
Deleting the VLAN for an access port will cause that port to become unusable 
until it is assigned a VLAN that exists. Creating a VLAN adds it to the 
allowed list for all trunk ports except those where it is specifically excluded.
Example
The following example shows how to create (add) VLAN of IDs 22, 23, and 
56. 
console(config)#vlan 22,23,56 
console(config-vlan)# 
vlan association mac
Use the vlan association mac command in VLAN Config mode to associate a 
MAC address to a VLAN. The maximum number of MAC-based VLANs is 
256. Only packets with a matching source IP address are placed in the VLAN.
Syntax
vlan association mac 
mac-address 
no vlan association mac 
mac-address
mac-address — MAC address to associate to the VLAN. (Range: Any MAC 
address in the format xxxx.xxxx.xxxx or xx:xx:xx:xx:xx:xx)
Default Configuration
No assigned MAC address.
Command Mode
VLAN Config mode
User Guidelines
This command has no user guidelines.
Example
The following example associates MAC address with VLAN ID 1.
2CSPC4.X8100-SWUM102.book  Page 816  Friday, March 15, 2013  8:56 AM