Switchport Access Vlan - Cisco ME 3800X Command Reference Manual

Hide thumbs Also See for ME 3800X:
Table of Contents

Advertisement

switchport access vlan

switchport access vlan
To configure a port as a static-access port, use the switchport access vlan command in interface
configuration mode. If the switchport mode is set to access (by using the switchport mode interface
configuration command), use this command to set the port to operate as a member of the specified
VLAN. To reset the access VLAN mode to the default VLAN for the switch, use the no form of this
command.
This command is not available on interfaces with service instances configured.
Note
Syntax Description
vlan-id
Note
Although visible in the command-line help, the dynamic keyword is not supported.
Defaults
The default access VLAN and trunk interface native VLAN is a VLAN corresponding to the platform or
interface hardware.
Command Modes
Interface configuration
Command History
Release
12.2(52)EY
Usage Guidelines
The no switchport access vlan command resets the access mode VLAN to the appropriate default
VLAN for the device.
The port must be in access mode before the switchport access vlan command can take effect.
An access port can be assigned to only one VLAN.
You can verify the configuration by entering the show interfaces interface-id switchport privileged
EXEC command and examining information in the Administrative Mode and Operational Mode rows.
Examples
This example shows how to change a Layer 2 interface in access mode to operate in VLAN 2 instead of
the default VLAN.
Switch(config-if)# switchport access vlan 2
Cisco ME 3800X and ME 3600X Switch Command Reference
-60
switchport access vlan {vlan-id | dynamic}
no switchport access vlan
Configure the interface as a static access port with the VLAN ID of the
access mode VLAN; the range is 1 to 4094.
Modification
This command was introduced.
Chapter
OL-28238-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Me 3600x

Table of Contents