cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3828
Views
1
Helpful
4
Replies

Port-channel Trunk not showing allowed vlans? C9407

lowfell
Level 3
Level 3

I have a port-channel setup as a trunk with allowed vlans, however when i do a show interface trunk it shows no allowed vlans can someone tell me why ?

 

!
interface Port-channel128
description 
switchport trunk allowed vlan 2,201,208,253-255,705
switchport mode trunk

!
!
interface GigabitEthernet7/0/1
description 
switchport trunk allowed vlan 2,201,208,253-255,705
switchport mode trunk
channel-group 128 mode active
!
interface GigabitEthernet7/0/2
description 
switchport trunk allowed vlan 2,201,208,253-255,705
switchport mode trunk
channel-group 128 mode active
!

 

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

 

output of show int trunk showing no allowed vlans?????

#sho int port-channel 128 trunk

Port Mode Encapsulation Status Native vlan
Po128 on 802.1q other 0

Port Vlans allowed on trunk
Po128 none

Port Vlans allowed and active in management domain
Po128 none

Port Vlans in spanning tree forwarding state and not pruned
Po128 none
!
!

#sho int GigabitEthernet7/0/1 trunk

Port Mode Encapsulation Status Native vlan
Gi7/0/1 on 802.1q other 1

Port Vlans allowed on trunk
Gi7/0/1 none

Port Vlans allowed and active in management domain
Gi7/0/1 none

Port Vlans in spanning tree forwarding state and not pruned
Gi7/0/1 none

1 Accepted Solution

Accepted Solutions

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

 

#sho int port-channel 128 trunk
Port Mode Encapsulation Status Native vlan
Po128 on 802.1q            other      0

Check the port status Other and Native VLAN 0. The classified reason will be configuration mismatch at another end. Please check remote end device 

 

 

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

View solution in original post

4 Replies 4

M Talha
Level 1
Level 1

Dear lowfell,

 

Add these to your configuration

 

interface Port-channel128
description

switchport trunk encapsulation dot1q    <--- Add tagging if you want your VLANS to be tagged !!
switchport trunk allowed vlan 2,201,208,253-255,705
switchport mode trunk

 

interface GigabitEthernet7/0/1
description 

switchport trunk encapsulation dot1q    <--- Add tagging if you want your VLANS to be tagged !!
switchport trunk allowed vlan 2,201,208,253-255,705
switchport mode trunk

channel-protocol lacp   <--- Define channel protocol i.e LACP or PAgP
channel-group 128 mode active
!
interface GigabitEthernet7/0/2
description 

switchport trunk encapsulation dot1q     <--- Add tagging if you want your VLANS to be tagged !!
switchport trunk allowed vlan 2,201,208,253-255,705
switchport mode trunk

channel-protocol lacp    <--- Define channel protocol i.e LACP or PAgP
channel-group 128 mode active

 

HTH

Regards,

Talha

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

 

#sho int port-channel 128 trunk
Port Mode Encapsulation Status Native vlan
Po128 on 802.1q            other      0

Check the port status Other and Native VLAN 0. The classified reason will be configuration mismatch at another end. Please check remote end device 

 

 

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

We did have the other end connected, but now those switches are gone and i'm tidying up the config on the 9407, so, to cut a long story short, if the portchannel had been up, i could have seen my allowed vlans, yes?

Thanks for your help Deepak. i wrongly assumed because i had the allowed vlans in the config then i should be able to see them when I did show int trunk. Obviously I need thetrunk to be up first! 'll remember now.
thanks again.
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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco