04-13-2018 10:49 AM - edited 03-08-2019 02:38 PM
does anyone know what catalyst ios versions support the "switchport access vlan name" command?
Solved! Go to Solution.
04-13-2018 04:00 PM
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
04-13-2018 12:39 PM
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
04-13-2018 12:50 PM
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....
04-13-2018 01:07 PM
Can you post sample config from a 2960x that accepts this command?
04-13-2018 05:37 PM
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
04-13-2018 04:00 PM
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
04-13-2018 04:41 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide