Wireless Access

last person joined: 18 hours ago 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

understanding port channel

This thread has been viewed 4 times
  • 1.  understanding port channel

    Posted Dec 14, 2015 12:21 PM

    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
    !



  • 2.  RE: understanding port channel
    Best Answer

    EMPLOYEE
    Posted Dec 14, 2015 12:22 PM

    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

     



  • 3.  RE: understanding port channel

    Posted Dec 14, 2015 12:27 PM

    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
    !



  • 4.  RE: understanding port channel

    EMPLOYEE
    Posted Dec 14, 2015 12:29 PM

    I corrected my post.  Please see above.



  • 5.  RE: understanding port channel

    Posted Dec 14, 2015 12:34 PM

    Thanks Colin,

    But why its coming there ,

    There are other vlan also buts why only vlan 8.



  • 6.  RE: understanding port channel

    EMPLOYEE
    Posted Dec 14, 2015 12:39 PM

    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.



  • 7.  RE: understanding port channel

    EMPLOYEE
    Posted Dec 14, 2015 01:42 PM
    Trunk configuration will override access port configuration. If it was switchport mode access, that line would be active.

    Sent from Nine