Switchport Access Vlan - Dell PowerConnect PC5524 Reference Manual

5500 series
Table of Contents

Advertisement

FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\VLAN_ISCLI_Only.fm
Example
The following example configures gigabitethernet port 1/0/1 as an untagged
layer 2 VLAN port.
Console(config)#
gigabitethernet 1/0/1
interface
Console(config-if)#
switchport mode access

switchport access vlan

Use the switchport access vlan Interface Configuration (Ethernet, port-
channel) mode command to configure the VLAN ID when the interface is in
access mode. Use the no form of this command to restore the default
configuration.
Syntax
{ vlan-id | none }
switchport access vlan
no switchport access vlan
Parameters
vlan-id—Specifies the VLAN ID to which the port is configured.
none—Specifies the access port cannot belong to any VLAN.
Default Configuration
If the default VLAN is enabled, the VLAN ID is 1. Otherwise, it is not a
member of any VLAN.
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.
D E L L C O N F I D E N T I A L – P R E L I M I N A R Y 5 / 1 5 / 1 2 - F O R P R O O F O N LY
501
VLAN Commands

Advertisement

Table of Contents
loading

Table of Contents