
VLAN Commands
457
Syntax
switchport access vlan
vlan-id
no switchport access vlan
•
vlan-id
—VLAN ID of the VLAN to which the port is configured.
Default Configuration
VLAN ID=1
Command Mode
Interface configuration (Ethernet, port-channel) mode
User Guidelines
The command automatically removes the port from the previous VLAN, and adds it to the
new VLAN.
Example
The following example configures a VLAN ID of 23 to the untagged layer 2 VLAN interface
number g8.
switchport trunk allowed vlan
The
switchport trunk allowed vlan
interface configuration command adds or removes VLANs from
a trunk port.
Syntax
switchport trunk allowed vlan
{
add
vlan-list
|
remove
vlan-list
}
•
add
vlan-list
—List of VLAN IDs to add. Separate non consecutive VLAN IDs with a
comma and no spaces. A hyphen designates a range of IDs.
•
remove
vlan-list
—List of VLAN IDs to remove. Separate non consecutive VLAN IDs with
a comma and no spaces. A hyphen designate a range of IDs.
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Console (config)#
interface ethernet
g8
Console (config-if)#
switchport access vlan
23
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 ...