09-30-2017 03:00 PM - edited 03-08-2019 12:13 PM
Ive created two port-channel groups and one of them won't work It keeps showing that they are not-in-bndl and sometimes there are other erros.
Can someone look at one side of my config and see if I have an issue on it? I'll try to get the other config from the other end but I don't have a console cable hooked to it at the moment and I don't have access to the management vlan via VPN.
Server_Rack#show run
Building configuration...
Current configuration : 7780 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Server_Rack
!
boot-start-marker
boot-end-marker
!
no logging console
!
username j
!
!
no aaa new-model
switch 1 provision ws-c3750e-48pd
system mtu routing 1500
authentication mac-move permit
ip subnet-zero
!
!
ip domain-name
!
!
crypto pki trustpoint TP-self-signed-4
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-
revocation-check none
rsakeypair TP-self-signed-4
!
!
crypto pki certificate chain TP-self-signed-
certificate self-signed 01
30820253 308201BC A0030201 02020101 300D0609 2A864886 F70D0101 04050030
3676E 65642D43 65727469 66696361 74652D34 32373531
33393332 3
quit
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
vlan internal allocation policy ascending
!
ip ssh version 2
!
!
interface Port-channel5
description MDF to SERVER RACK
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0
no ip address
!
interface GigabitEthernet1/0/1
switchport access vlan 99
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/2
switchport access vlan 99
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/3
switchport access vlan 99
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/4
switchport access vlan 99
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/5
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/6
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/7
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/8
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/9
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/10
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/11
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/12
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/13
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/14
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/15
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/16
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/17
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/18
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/19
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/20
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/21
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/22
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/23
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/24
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/25
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/26
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/27
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/28
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/29
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/30
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/31
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/32
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/33
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/34
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/35
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/36
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/37
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/38
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/39
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/40
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/41
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/42
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/43
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/44
switchport access vlan 2
no vtp
spanning-tree portfast
!
interface GigabitEthernet1/0/45
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast
channel-group 5 mode active
!
interface GigabitEthernet1/0/46
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast
channel-group 5 mode active
!
interface GigabitEthernet1/0/47
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast
channel-group 5 mode active
!
interface GigabitEthernet1/0/48
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast
channel-group 5 mode active
!
interface GigabitEthernet1/0/49
no vtp
!
interface GigabitEthernet1/0/50
no vtp
!
interface GigabitEthernet1/0/51
no vtp
!
interface GigabitEthernet1/0/52
no vtp
!
interface TenGigabitEthernet1/0/1
!
interface TenGigabitEthernet1/0/2
!
interface Vlan1
no ip address
!
interface Vlan10
ip address 192.168.10.236 255.255.255.0
!
ip classless
ip http server
ip http secure-server
!
ip sla enable reaction-alerts
!
!
line con 0
line vty 0 4
exec-timeout 30 0
login local
transport input ssh
line vty 5 15
exec-timeout 30 0
login local
transport input ssh
!
end
I'm assuming the other end should match.
Thank you for your help!
Solved! Go to Solution.
09-30-2017 08:06 PM - edited 09-30-2017 08:10 PM
Hi
Your configuration looks fine, except you need to remove this line under the interface members: spanning-tree portfast
It can create Layer 2 loops and not recommend to be used under trunk interfaces.
Now if you want to set up them again, you can use:
no int po 5
default interface range g1/0/45-48
interface range g1/0/45-48
shut
switchport mode trunk
channel-group 5 mode active
no shut
int po 5
switchport trunk encap dot1q
switchport trunk native vlan 999
no shut
Then you can check the status using
show etherchannel summary
09-30-2017 03:03 PM
As of now the ports are unhooked but here is the show etherchannel 3 output
Server_Rack#show etherchannel 5 detail
Group state = L2
Ports: 4 Maxports = 16
Port-channels: 1 Max Port-channels = 16
Protocol: LACP
Minimum Links: 0
Ports in the group:
-------------------
Port: Gi1/0/45
------------
Port state = Down Not-in-Bndl
Channel group = 5 Mode = Active Gcchange = -
Port-channel = null GC = - Pseudo port-channel = Po5
Port index = 0 Load = 0x00 Protocol = LACP
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.
Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi1/0/45 SA down 32768 0x5 0x0 0x12E 0x45
Age of the port in the current state: 0d:00h:45m:47s
Port: Gi1/0/46
------------
Port state = Down Not-in-Bndl
Channel group = 5 Mode = Active Gcchange = -
Port-channel = null GC = - Pseudo port-channel = Po5
Port index = 0 Load = 0x00 Protocol = LACP
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.
Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi1/0/46 SA down 32768 0x5 0x0 0x12F 0x45
Age of the port in the current state: 0d:00h:48m:35s
Port: Gi1/0/47
------------
09-30-2017 05:35 PM
09-30-2017 06:30 PM
So after deleting the etherchannel and resetting those ports to defaults I just need to set up each port like I want it and add the etherchannel to it and do mode active on at least one side? I don't need to setup the etherchannel itself such as
port-channel 5
switchport trunk encap dot1q
switchport mode trunk
Thank you for your help
09-30-2017 08:06 PM - edited 09-30-2017 08:10 PM
Hi
Your configuration looks fine, except you need to remove this line under the interface members: spanning-tree portfast
It can create Layer 2 loops and not recommend to be used under trunk interfaces.
Now if you want to set up them again, you can use:
no int po 5
default interface range g1/0/45-48
interface range g1/0/45-48
shut
switchport mode trunk
channel-group 5 mode active
no shut
int po 5
switchport trunk encap dot1q
switchport trunk native vlan 999
no shut
Then you can check the status using
show etherchannel summary
10-02-2017 06:09 AM
If I want to give this a try would this work to do...
Switch A and Switch B are hooked up with a single cable both switchport access vlan 2, no other vlans going between them.
If I setup a the port channel but did a trunk such as
switchport trunk allowed vlan 10,20 this would work without creating a loop because it's layer 2 and since vlan 2 isn't allowed on the trunk there would be no loop correct?
10-02-2017 07:48 AM - edited 10-02-2017 08:03 AM
Hi
It should not be a risk, it will be a second port channel, right?
if you filter you trunk interfaces with: switchport trunk allow vlan 10,20 the vlan 2 and other created locally will not be send frames through this link.
If your spanning tree is configured properly you should have any problem.
10-02-2017 08:13 AM
Well since I had an issue with that port channel it would be the only port channel on switch b. I hooked switch A and B up together with a single untagged access vlan 2 port. Switch A has another port channel but it goes to a different switch stack and works fine. It was just this one port channel between switch A and B that kept giving me fits. But makes sense since I didn't set the ports to defaults before I created the port channel
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