05-07-2008 04:57 AM - edited 03-05-2019 10:48 PM
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
Solved! Go to Solution.
05-08-2008 05:03 AM
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
05-07-2008 05:11 AM
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
05-07-2008 05:21 AM
3560, ipbase 12.25. Ports are configured as trunks and enc is set and ports are trunking fine
05-07-2008 05:26 AM
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
05-08-2008 04:43 AM
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
#
05-08-2008 05:03 AM
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
05-08-2008 09:51 PM
:-))), thanks
05-07-2008 05:27 AM
below on 3560 / C3560-ADVIPSERVICESK
Switch(config-if)#switchport trunk allowed vlan 210
Switch#sh run
!
interface FastEthernet0/2
switchport trunk allowed vlan 210
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