cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6698
Views
0
Helpful
3
Replies

Cisco 2960 switch port configuration

sultan.ahmed21
Level 1
Level 1

I am trying to take a switch port from voice vlan and put into only access vlan.

SWtich type:

switch 1 provision ws-c2960s-48lpd-l
switch 2 provision ws-c2960s-48lpd-l

Current configuration of a port:

interface GigabitEthernet1/0/11
switchport access vlan 301
switchport mode access
switchport voice vlan 410
spanning-tree portfast

I want to take this port out of voice vlan 410. 

I use the command

#no switchport voice vlan 410

It immediately takes the switchport out of vlan 301 as well and put the port in valn1. There are other switches in the network. 

If I use the command:

#switchport mode access

#switchport access vlan 301.

It immediately put the port into vlan 410 as well.

It is seems that two vlans are bound.

Can  not figure out how to troubleshoot.

Any help will be highly appreciated.

1 Accepted Solution

Accepted Solutions

Leonardo Gama
Level 1
Level 1

Hi Sultan,

Try to default the interface before applying the final configuration:

conf t

default interface GigabitEthernet1/0/11

interface GigabitEthernet1/0/11
switchport access vlan 301
switchport mode access
spanning-tree portfast

end

Cheers.

View solution in original post

3 Replies 3

Leonardo Gama
Level 1
Level 1

Hi Sultan,

Try to default the interface before applying the final configuration:

conf t

default interface GigabitEthernet1/0/11

interface GigabitEthernet1/0/11
switchport access vlan 301
switchport mode access
spanning-tree portfast

end

Cheers.

Hi Leonardo,

Your solution worked perfectly. Thank you very much.

Sultan

Hi,

That is not a normal behavior to set up the config automatically, try to default the interface.

conf t

default interface G1/0/11 once implemented type this command:

conf t

interface G1/0/11

switchport host

and check again with your data vlan. Are you using Macros?




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card