09-10-2021 03:36 AM
hi all,
i know how to add a port channel to a switch
config
int range gix/x/x-x
channel-group 1 mode auto OR active
int po1
switchport mode trunk
switchport trunk allowed vlan add OR remove <ID>
but how do i add a int port to it, is it like
int x
channel-group 1 mode auto OR active
or do i go int the int po1 and add it there
thanks,
rob
09-10-2021 03:47 AM
If the Guide lines met and they are same speed as per the guide lines
simple go to new port ( add the same config as working interface, bot the side)
shutdown physical interface both side, do not connect any cable.
int x/x
channel-group 1 mode auto OR active
!
Once both the side configured as per the config, connect the Pysical cable and ssue bot the side physical interface no shutdown
and check show etherchannel 1 summary to verify.
09-10-2021 03:50 AM
on my original port channel i get this, what does non candidate mean?
sh int Port-Channel 1
Load balancing: src-dst-mac.
Gathering information...
Channel Ports
------- -----
Po1 Active: gi52 Non-candidate: gi51
09-10-2021 03:56 AM
check the config of G151 ? what model of the switch ? what is other side of the switch ?
still issue , post below output ?
show run inter port-cha 1
show run interfec gi52
show run interfec gi51
show interfec gi52
show nterfec gi51
09-10-2021 03:48 AM
Hi there,
As you have it: go to the desired switch port and issue the relevant channel-group command, ensuring that the configuration of the switchport matches the port-channel it is being added and also that you have not exceed the platform limit for port-channel members.
cheers,
Seb.
09-10-2021 04:03 AM - edited 09-10-2021 04:04 AM
show run inter port-cha 1
interface Port-channel1
spanning-tree link-type point-to-point
macro description switch
switchport trunk allowed vlan add 10,35,110,130,240,250
!next command is internal.
macro auto smartport dynamic_type switch
!
sg30052pDC01#show run int gi52
interface gigabitethernet52
channel-group 1 mode auto
!
sg30052pDC01#show run int gi51
interface gigabitethernet51
channel-group 1 mode auto
i can set the port channel to on rather than auto, would that make a difference?
09-10-2021 04:09 AM
You can set to ON, But the Port-channel go down and up, that is service interuption, (how about other side switch ?)
If you doing cisco to cisco you ok, if you doing Cisco with other vendor, you need to follow other vendor guidelines too.
here is guide lines if you doing on SG Switches.
09-10-2021 04:20 AM - edited 09-10-2021 04:21 AM
sorry, im connecting a SG300 to a nexus 7000, in that case can i leave it set to auto, as you said its two ciscos
channel-group 1 mode auto
channel-group 1 mode on
on the 7000 side its set to active
09-10-2021 04:47 AM
If you terminate it from Nexus side on 2 Nexus switches, you need to create VPC for the PortChannel.
If you terminate it on single Nexus switch, then from the SG300 side you can leave it Auto while it is Active on Nexus.
09-10-2021 05:00 AM
Is the 7K in vPC or standalone (if that vPC with Dual chasis) - i take advantage of vPC, if that standalong. i use Auto standard port-channel. (since other side is active on Nexus 7L side)
Example config of vPC connecting to SG300 Switchs (this need to configure both nexus if they are vPC)
interface Ethernet1/1
channel-group 20 < - this can change what ever number
interface port-channel20
vpc 20
09-12-2021 09:49 AM
in the end i setup a new po11 on the 7000 with mode active and a new po1 on the sg300 with mode auto with 2 uplinks to/from the 7000 to the sg300 and now when i do a "sh int po1" both are coming up as active and i dont see "non candidate"
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