Switchport Access Vlan - Cisco AP775A - Nexus Converged Network Switch 5010 Command Reference Manual

Cisco nexus 5000 series command reference, release 4.1(3)n1(1) (ol-16599-01, august 2009)
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

switchport access vlan

S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
switchport access vlan
To set the access VLAN when the interface is in access mode, use the switchport access vlan command.
To reset the access-mode VLAN to the appropriate default VLAN for the switch, use the no form of this
command.
Syntax Description
vlan-id
Command Default
VLAN 1.
Command Modes
Interface configuration mode
Command History
Release
4.0(0)N1(1a)
Usage Guidelines
Use the no form of the switchport access vlan command to reset the access-mode VLAN to the
appropriate default VLAN for the switch. This action may generate messages on the device to which the
port is connected.
Examples
This example shows how to configure an Ethernet interface to join VLAN 2:
switch(config)# interface ethernet 1/7
switch(config-if)# switchport access vlan 2
Related Commands
Command
show interface
switchport
Cisco Nexus 5000 Series Command Reference
2-92
switchport access vlan vlan-id
no switchport access vlan
VLAN to set when the interface is in access mode; valid values are from 1
to 4094, except for the VLANs reserved for internal use.
Modification
This command was introduced.
Description
Displays the administrative and operational status of a port.
Chapter 2
Ethernet Commands
OL-16599-01

Advertisement

Table of Contents
loading

Table of Contents