cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1610
Views
5
Helpful
6
Replies

switchport access vlan name

npollaro
Level 1
Level 1

does anyone know what catalyst ios versions support the "switchport access vlan name" command?

1 Accepted Solution

Accepted Solutions

amikat
Level 7
Level 7

Hi,

To my knowledge the option to specify a VLAN name for access and voice VLAN was introduced in the 15.2(4)E release for the  2960-S, 2960-C, 2960-X, 2960-XR, 2960-CX, 3560-CX, 3560-S, 3750-X series boxes.

Best regards,

Antonin

View solution in original post

6 Replies 6

Reza Sharifi
Hall of Fame
Hall of Fame

Cisco switches support only vlan id (10,20, 150, etc) and not name. The name is just a description in Cisco world and can't be used as a reference under the interface.

HTH

I have a some 2960X switches that all accept the named vlan command, when you use the name command it will associate it with the VLAN ID, that way you don't have to use vlan #'s anymore, which is super helpful for switches in remote locations that use multiple vlan #'s

 

I was just wanting to know if cisco documentation existed that says what ios this command is in....

 

 

 

Can you post sample config from a 2960x that accepts this command?

NS-CSA-TEST-3560CX#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------

810  admin                            active    

*********Before name VLAN command
NS-CSA-TEST-3560CX#show run int Gi1/0/10
Building configuration...

Current configuration : 63 bytes
!
interface GigabitEthernet1/0/10
 switchport mode access
end

*********After name VLAN command
NS-CSA-TEST-3560CX(config)#int Gi1/0/10
NS-CSA-TEST-3560CX(config-if)#switchport access vlan name admin
NS-CSA-TEST-3560CX(config-if)#do show run int Gi1/0/10
Building configuration...

Current configuration : 91 bytes
!
interface GigabitEthernet1/0/10
 switchport access vlan 810
 switchport mode access
end

amikat
Level 7
Level 7

Hi,

To my knowledge the option to specify a VLAN name for access and voice VLAN was introduced in the 15.2(4)E release for the  2960-S, 2960-C, 2960-X, 2960-XR, 2960-CX, 3560-CX, 3560-S, 3750-X series boxes.

Best regards,

Antonin

Leo Laohoo
Hall of Fame
Hall of Fame

@npollaro wrote:

does anyone know what catalyst ios versions support the "switchport access vlan name" command?


Named VLAN is supported from 15.2(3)E3 and later.  

Review Cisco Networking for a $25 gift card