Switchport Access Vlan - Dell PowerConnect 8024 Cli Reference Manual

Cli reference guide
Hide thumbs Also See for PowerConnect 8024:
Table of Contents

Advertisement

Example
The following example shows the case if no IP Subnet to VLAN association exists.
console#show vlan association subnet
IP Address
IP Mask
VLAN ID
---------------- ---------------- -------
The IP Subnet to VLAN association does not exist.

switchport access vlan

Use the switchport access vlan command in Interface Configuration mode to configure the
VLAN ID when the interface is in access mode. To reconfigure the default, use the no form of
this command.
Syntax
vlan-id
switchport access vlan
no switchport access vlan
vlan-id — A valid VLAN ID of the VLAN to which the port is configured.
Default Configuration
vlan-id
The default value for the
parameter is 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 interface 1/g8 to become an access member of
VLAN ID 23.
console(config)#interface ethernet 1/g8
console(config-if-1/g8)#switchport access vlan 23
507
VLAN Commands

Advertisement

Table of Contents
loading

Table of Contents