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

ページ / 1818
812
VLAN Commands
Command Mode
Interface Configuration (gigabitethernet, port-channel, tengigabitethernet, 
fortygigabitethernet) mode
User Guidelines
This command has no user guidelines.
Example
The following example configures 1/0/5 to access mode.
console(config)#interface gigabitethernet 1/0/5
console(config-if-1/0/5)#switchport mode access
switchport trunk
Use the switchport trunk command in Interface Configuration mode to add 
VLANs to or remove VLANs from a trunk port, or to set the native VLAN for 
an interface in Trunk Mode.
Syntax
switchport trunk {allowed vlan 
vlan–list | native vlan vlan–id} 
no switchport trunk allowed vlan
2CSPC4.X8100-SWUM102.book  Page 812  Friday, March 15, 2013  8:56 AM