
456
VLAN Commands
www
.dell.com | support.dell.com
Example
The following example names VLAN number 19 with the name "Marketing".
switchport mode
The
switchport mode
interface configuration command configures the VLAN membership mode
of a port. To reset the mode to the appropriate default for the device, use the
no
form of this
command.
Syntax
switchport mode
{
access
|
trunk | general
}
no switchport mode
•
access
—Port belongs to a single, untagged VLAN.
•
trunk
—Port belongs to 1..4063 VLANs, all tagged (except, optionally, for a single native
VLAN).
•
general
—Port belongs to 1..4063 VLANs, and each VLAN is explicitly set by the user as
tagged or untagged (full 802.1Q mode).
Default Configuration
All port are in access mode, and belong to the default VLAN (whose VID=1).
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example configures g8 as an untagged layer 2 VLAN interface.
switchport access vlan
The
switchport access vlan
interface configuration command configures the VLAN ID when the
interface is in access mode. To reconfigure the default, use the
no
form of this command.
Console (config)#
interface vlan
19
Console (config-if)#
name
Marketing
Console (config)#
interface ethernet
g8
Console (config-if)#
switchport mode
access
Summary of Contents for PowerConnect 6024
Page 24: ...24 Contents ...
Page 86: ...86 ACL Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 128: ...128 Configuration and Image Files w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 182: ...182 IGMP Snooping Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 206: ...206 Line Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 280: ...280 Port Channel Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 284: ...284 Port Monitor Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 316: ...316 QoS Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 368: ...368 w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 410: ...410 SSH Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 443: ...TACACS Commands 443 Global values TimeOut 3 Source IP 172 16 8 1 OOB Source IP 172 16 8 1 ...
Page 444: ...444 TACACS Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 452: ...452 User Interface w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 476: ...476 VRRP Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 486: ...486 Web Server w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 504: ...504 802 1x Commands w w w d e l l c o m s u p p o r t d e l l c o m ...