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

ページ / 1818
814
VLAN Commands
User Guidelines
Untagged traffic received on a trunk port is forwarded on the native VLAN, if 
configured.
To drop untagged traffic on a trunk port, remove the native VLAN from the 
trunk port. (Ex. switchport trunk allowed vlan remove 1.) Management 
traffic is still allowed on the trunk port in this configuration.
The no form of the command sets the trunk port back to the defaults.
It is possible to exclude VLANs that have not yet been created from trunk 
port membership.
Example
console(config-if-Gi1/0/1)#switchport trunk allowed vlan 1-1024
console(config-if-Gi1/0/1)#switchport trunk allowed vlan except 
1,2,3,5,7,11,13
vlan
Use the vlan command in VLAN Database mode to configure a VLAN. To 
delete a VLAN, use the no form of this command.
Syntax
vlan 
vlan-range
no vlan 
vlan-range
vlan-range — A list of valid VLAN IDs to be added. List separate, non-
consecutive VLAN IDs separated by commas (without spaces); use a 
hyphen to designate a range of IDs. (Range: 2–4093)
Default Configuration
This command has no default configuration.
Command Mode
VLAN Database mode
2CSPC4.X8100-SWUM102.book  Page 814  Friday, March 15, 2013  8:56 AM