EasyManuals Logo
Home>Cisco>Switch>Catalyst 3650 Series

Cisco Catalyst 3650 Series User Manual

Cisco Catalyst 3650 Series
1108 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #383 background imageLoading...
Page #383 background image
switchport access vlan
To configure a port as a static-access port, use the switchport access vlan command in interface configuration
mode. To reset the access mode to the default VLAN mode for the device, use the no form of this command.
switchport access vlan {vlan-id | name vlan_name}
no switchport access vlan
Syntax Description
VLAN ID of the access mode VLAN; the range is 1 to 4094.
vlan-id
Command Default
The default access VLAN and trunk interface native VLAN is a default VLAN corresponding to the platform
or interface hardware.
Command Modes
Interface configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS XE 3.3SE Cisco IOS XE 3.3SE
The name vlan_name keyword was introduced.
Cisco IOS XE Denali 16.2.1
Usage Guidelines
The port must be in access mode before the switchport access vlan command can take effect.
If the switchport mode is set to access vlan vlan-id, the port operates as a member of the specified VLAN.
An access port can be assigned to only one VLAN.
The no switchport access command resets the access mode VLAN to the appropriate default VLAN for the
device.
Examples
This example shows how to change a switched port interface that is operating in access mode to operate in
VLAN 2 instead of the default VLAN:
Device(config-if)# switchport access vlan 2
Examples
This example show how to first populate the VLAN database by associating a VLAN ID with a VLAN name,
and then configure the VLAN (using the name) on an interface, in the access mode: You can also verify your
configuration by entering the show interfaces interface-id switchport in privileged EXEC command and
examining information in the Access Mode VLAN: row.
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
357
switchport access vlan

Table of Contents

Other manuals for Cisco Catalyst 3650 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 3650 Series and is the answer not in the manual?

Cisco Catalyst 3650 Series Specifications

General IconGeneral
BrandCisco
ModelCatalyst 3650 Series
CategorySwitch
LanguageEnglish

Related product manuals