DELL PC7024 User Manual

Page of 1730
VLAN Commands
795
Default Configuration
The default value for the 
vlan-id parameter is 1 when the VLAN is enabled. 
Otherwise, the value is 4093.
Command Mode
Interface Configuration (gigabitethernet, port-channel, tengigabitethernet) 
mode
User Guidelines
This command has no user guidelines.
Example
The following example shows how to configure the PVID for 1/0/8, when the 
interface is in general mode.
console(config)#interface gigabitethernet 1/0/8
console(config-if-1/0/8)#switchport general pvid 234
switchport mode
Use the switchport mode command in Interface Configuration mode to 
configure the VLAN membership mode of a port. To reset the mode to the 
appropriate default for the switch, use the no form of this command.
Syntax
switchport mode {access | trunk | general}
no switchport mode
Parameter Description
Parameter
Description
access
An access port connects to a single end station belonging to a 
single VLAN. An access port is configured with ingress filtering 
enabled and will accept either an untagged frame or a packet 
tagged with the access port VLAN.  An access port transmits 
only untagged packets.
2CSPC4.XCT-SWUM2XX1.book  Page 795  Monday, October 3, 2011  11:05 AM