Switchport Access Vlan - Dell PowerConnect 3424 Cli Reference Manual

Command line interface (cli) guide (.htm)
Hide thumbs Also See for PowerConnect 3424:
Table of Contents

Advertisement

Example
The following example configures Ethernet port 1/e16 as an untagged layer 2 VLAN port.
Console(config)# interface ethernet 1/e16
Console(config-if)# switchport mode access

switchport access vlan

The switchport access vlan Interface Configuration mode command configures the VLAN ID
when the interface is in access mode. To return to the default configuration, use the no form of
this command.
Syntax
switchport access vlan {vlan-id | dynamic}
no switchport access vlan
vlan-id — Specifies the ID of the VLAN to which the port is configured.
dynamic—Indicates that the port is assigned to a VLAN based on the source MAC
address of the host connected to the port.
Default Configuration
All ports belong to VLAN 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 Ethernet port
1/e16.
Console(config)# interface ethernet 1/e16
Console(config-if)# switchport access vlan 23
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 9 / 1 3 / 0 6 – F O R P R O O F O N LY
406
VLAN Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents