cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1258
Views
25
Helpful
7
Replies

Voice Vlan and data vlan have issues on same port

asd30110329
Level 1
Level 1

 

Configuration file is also attached with query

I am having problem when configuring Voice and data Vlan on a single port.
What I am doing that when we configure the below commands it works fine.
VLAN for Voice is 20
VLAN for Data is 24
SVIs are configured only on core switches

ACC-SW-1(config)#interface gig1/0/24
ACC-SW-1(config-if)#switchport access vlan 20
ACC-SW-1(config-if)#switchport trunk native vlan 24
ACC-SW-1(config-if)#switchport trunk allowed vlan all
ACC-SW-1(config-if)#switchport mode trunk
ACC-SW-1(config-if)#exit
ACC-SW-1(config)#exit
ACC-SW-1#write

It works fine for the whole day, but when next day switch restarts only voice VLAN works and then the same port shows the configuration like the below:

interface gig1/0/24
storm-control broadcast level 10
storm-control multicast level 10
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
spanning-tree bpduguard enable
switchport mode trunk
switchport access vlan 20
switchport trunk allowed vlan remove 2-19,21-4094
macro description ip_phone_desktop
!next command is internal.
macro auto smartport dynamic_type ip_phone_desktop

Kindly provide the solution that how it will be configured and why this “remove” phrase appear in the switch-port trunk allowed command???
Secondly can we put the VLAN 1 in the Tagged VLAN on the switch???

 

7 Replies 7

Edwin Portillo
Spotlight
Spotlight

Hi my friend,

Verify that you are in 0xF registration mode using the command: show version

Edwin Portillo
Spotlight
Spotlight

@asd30110329  You can also try verifying if you are in the mode: 0x2102

 

ACC-SW-1>enable
ACC-SW-1#configure terminal
ACC-SW-1(config)#config-register 0x2102
ACC-SW-1(config)#do reload

 

0x2102
  • Ignores break
  • Boots into ROM if initial boot fails
  • 9600 console baud rate default value for most platforms

 

0x2142
  • Ignores break
  • Boots into ROM if initial boot fails
  • 9600 console baud rate
  • Ignores the contents of Non-Volatile RAM (NVRAM) (ignores configuration)

 

I do not see register value in the show version command

 

 

Show version.png

 

You could share the capture of the privileged use mode.

ACC-SW-1>enable
ACC-SW-1 # configure terminal
ACC-SW-1 (config) #?

Personally i do not believe that you connecting right switch from your Core Switch, check the IP address

 

you suppose to connect to below switch and change as suggested

 

ACC-SW-1

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

No it does not matter because there are multiple switches where this problem is arising. I just showed one of them.

 

Secondly the reason of showing that screen was that was no information about register value in the show version command of this type of switch.

One thing I must share with you that only configuration become changes on those ports where IP-Phone and desktop are connected on a single port whenever switch restarts, otherwise other configuration like data port and CCTV port configuration are saved and does not become changes. So it means there is nothing issue with register value and it is fine.

 

 

 

balaji.bandi
Hall of Fame
Hall of Fame

Adding to other post - i assume you have different config-register set

 

config t

!

config-register 0x2102

!

end

 

wr the config - restart and test.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help