01-24-2011 07:43 PM - edited 03-06-2019 03:10 PM
Guys i have to config layer 2 and layer 3 port channels so just wondering have a done it the right way
layer 2
interface Port-channel 20
Description Port channel to Core
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 19 (as 19 will be the managment one)
!
interface range gig1/0/1 -2
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 20 mode on
end
Do we have to write encapsulation on both port channel interface as well as actual interface???
Layer 3
interface Port-channel 15
ip address ip address 10.X.X.X 255.255.255.248
Description Port channel to data-core
duplex full
speed 1000
Interface range Gi 2/0/1-4
Description Port channel to AUBH02TRUSSA01
no switchport
no ip address
channel-group 15 mode on
do we have to write duplex and speed (as i rem i have seen this sort of config some where) I know i am not using any channel protocol like LACP etc
Thanks
01-24-2011 07:53 PM
Hi,
No additional configuration is required under the port channel interface. Having the encapsulation command just on the physical interface is good enough.
Since you are using channel-group mode on, no protocol is being used for bundling. Its just a way to hard code ether channel without any negotiation between the ends.
Speed and duplex under the physical interface are optional commands and should only be configured under the physical interfaces. Please ensue that all the interfaces being bundled have exactly the same configuration.
Hope this helps,
Shashank
Please rate if this answered your question.
01-24-2011 11:28 PM
Hi,
As per the best practicies, better enable encapusulation on both portchannel interface and actual interface.
Regarding spped and duplex should configured under the physical interfaces only and make sure both end same interface settings.
You may look at the below ones...
interface Port-channel1
switchport
switchport trunk encapsulation dot1q
switchport trunk native vlan 5
switchport mode trunk
interface GigabitEthernet3/33
description A13 is Connected to Empire store
switchport trunk encapsulation dot1q
switchport trunk native vlan 5
switchport mode trunk
channel-group 1 mode on
Regards,
Naidu.
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