Wireless Access

Reply
Frequent Contributor II
Posts: 144
Registered: ‎01-21-2015

understanding port channel

Hi there,

I configured LACP in one controller but having issue to understand the behaviour of it.

 

My port channel is configured as trunk but  when i'm running "sh run" its showing " switch port access vlan 9" under "switchport mode trunk".

 

below the configs ..

!

interface port-channel 1
        trusted
        trusted vlan 1-4094
        switchport mode trunk
        switchport access vlan 8
        switchport trunk allowed vlan 1094
!

rana
Guru Elite
Posts: 20,821
Registered: ‎03-29-2007

Re: understanding port channel

[ Edited ]

The port channel configuration supersedes the interface configuration if the interface is part f the port channel. It looks like that port channel does not have any interfaces added...

 

EDIT:

 

Whatever is at the end of the "switchport mode" command determines if it is a trunk or an access port.  In your case, it is a trunk

 



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Frequent Contributor II
Posts: 144
Registered: ‎01-21-2015

Re: understanding port channel

Two interface are assigned to taht port channel ...

>>

 

interface gigabitethernet 0/0/0
        description "GE0/0/0"
        trusted
        trusted vlan 1-4094
        switchport mode trunk
        lacp group 1 mode active
!

interface gigabitethernet 0/0/1
        description "GE0/0/1"
        trusted
        trusted vlan 1-4094
        switchport mode trunk
        lacp group 1 mode active
!

rana
Guru Elite
Posts: 20,821
Registered: ‎03-29-2007

Re: understanding port channel

I corrected my post.  Please see above.



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Frequent Contributor II
Posts: 144
Registered: ‎01-21-2015

Re: understanding port channel

Thanks Colin,

But why its coming there ,

There are other vlan also buts why only vlan 8.

rana
Guru Elite
Posts: 20,821
Registered: ‎03-29-2007

Re: understanding port channel

1.  The port channel configuration supersedes the interface configuration when the interface is part of that lacp group

2.  If the port channel configuration has a "switchport mode trunk" command, all "switchport access"

commands are ignored.  Only "switchport trunk" commands are applied.  That makes it easy to switch between switchport mode trunk and switchport mode access and have your access and trunk configuration easily applied.

 

I hope that makes sense.



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Guru Elite
Posts: 8,338
Registered: ‎09-08-2010

Re: understanding port channel

Trunk configuration will override access port configuration. If it was switchport mode access, that line would be active.

Sent from Nine

Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Search Airheads
Showing results for 
Search instead for 
Did you mean: