cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4527
Views
0
Helpful
7
Replies

switchport trunk vlan allowed not workink

dragec
Level 1
Level 1

I have trunk port between two swithes, bot are in same vtp domain, and I cannot put switchport trunk allowed vlan command on port. After commande there is no this command in config, and when I look at port with sh int x/x trunk, also nothing changed

1 Accepted Solution

Accepted Solutions

don't add the vlan, allow it only if it is the 1st one and only one on the trunk. after that u can use the "add "

Switch(config-if)#switchport trunk allowed vlan 99

HTH

Sam

View solution in original post

7 Replies 7

cisco_lad2004
Level 5
Level 5

not knowing which platform or release, hard to tell if there is a know issue.

anyways, is port configured as switchport and trunk encapsulation set ?

Sam

3560, ipbase 12.25. Ports are configured as trunks and enc is set and ports are trunking fine

Normally this works. Could you show us an example please? For example, a terminal session with:

- the show run int before the change,

- the command to do the change,

- the show run int after the change.

Kevin Dorrell

Luxembourg

here it is

sh runn int g0/1

Building configuration...

Current configuration : 231 bytes

!

interface GigabitEthernet0/1

switchport trunk encapsulation dot1q

switchport mode trunk

srr-queue bandwidth share 10 10 60 20

srr-queue bandwidth shape 10 0 0 0

queue-set 2

mls qos trust cos

auto qos voip trust

end

#conf te

Enter configuration commands, one per line. End with CNTL/Z.

(config)#int g0/1

(config-if)#switch trunk all

(config-if)#switch trunk allowed vlan add 99

(config-if)#end

#conf tesh runn int g0/1

Building configuration...

Current configuration : 231 bytes

!

interface GigabitEthernet0/1

switchport trunk encapsulation dot1q

switchport mode trunk

srr-queue bandwidth share 10 10 60 20

srr-queue bandwidth shape 10 0 0 0

queue-set 2

mls qos trust cos

auto qos voip trust

end

#

don't add the vlan, allow it only if it is the 1st one and only one on the trunk. after that u can use the "add "

Switch(config-if)#switchport trunk allowed vlan 99

HTH

Sam

:-))), thanks

below on 3560 / C3560-ADVIPSERVICESK

Switch(config-if)#switchport trunk allowed vlan 210

Switch#sh run

!

interface FastEthernet0/2

switchport trunk allowed vlan 210

Review Cisco Networking products for a $25 gift card