LACP Setup to Cisco 3750G Trunk

Status
Not open for further replies.

Rickinfl

Contributor
Joined
Aug 7, 2017
Messages
165
Hi,

I setup my Cisco 3750G with a 4 port Port-Channel. I have a Intel 4 Port Nic in my Freenas. I setup the LAGG in Freenas and added the VLAN's. It doesn't seem to work. I'm thinking it's on the Cisco side as the Freenas is pretty simple to create a Lagg. Only thing is I'm running in Truck Mode with multiple Vlan's and I think that's the issue. Here is what I have setup in my Cisco.

Not sure what I've done wrong but if someone could point me in the right direction it would be great.

Thanks!


interface Port-channel1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 101-105
switchport mode trunk
!
interface GigabitEthernet1/0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 101-105
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
!
interface GigabitEthernet1/0/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 101-105
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
!
interface GigabitEthernet1/0/3
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 101-105
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
!
interface GigabitEthernet1/0/4
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 101-105
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Dont do it.
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Seriously, save the LACP/LAGG/Port Channels for switches of matching models (and firmware). What *exactly* are you looking to accomplish and what does your whole environment look like?
 

Rickinfl

Contributor
Joined
Aug 7, 2017
Messages
165
I really need help with this. Let me know if I'm in the wrong place and this is an Cisco Issue.

I'm running a Freenas with a Intel 4 port nic and a Cisco 3750G switch.

Here is the error I'm getting in freenas:

These ports are not ACTIVE on LAGG interface lagg0: em4, em5. Please check cabling and switch.

From freenas console:

root@freenas:~ # ifconfig lagg0
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:26:55:eb:a6:e3
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
status: active
groups: lagg
laggproto lacp lagghash l2,l3,l4
laggport: em2 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: em3 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: em4 flags=0<>
laggport: em5 flags=0<>


Cisco info:

switch-1#sho lacp neighbor
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode

Channel group 1 neighbors

Partner's information:

LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Gi1/0/1 SP 0 0000.0000.0000 116038s 0x0 0x0 0x0 0x0
Gi1/0/2 SP 0 0000.0000.0000 116038s 0x0 0x0 0x0 0x0
Gi1/0/3 SA 32768 0026.55eb.a6e3 4s 0x0 0x16B 0x5 0x3D
Gi1/0/4 SA 32768 0026.55eb.a6e3 4s 0x0 0x16B 0x6 0x3D



More Info:


Switch-1#sh etherchannel summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator

M - not in use, minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port


Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) LACP Gi1/0/1(I) Gi1/0/2(I) Gi1/0/3(P)
Gi1/0/4(P)


Cisco Setup:

interface Port-channel1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,101-105
switchport mode trunk

interface GigabitEthernet1/0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,101-105
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet1/0/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,101-105
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet1/0/3
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,101-105
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet1/0/4
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,101-105
switchport mode trunk
channel-group 1 mode active
 

Rickinfl

Contributor
Joined
Aug 7, 2017
Messages
165
I figured this out. Thought I'd post what was the issue in case anyone else had the same issue. I think the problem is my unique combination of hardware with trunking. The 4 port card works fine as just a 4 port nic in Freenas just when you try and trunk the 4 port nic everything goes haywire.

I'm running a Tyan s7012 motherboard it has 4 onboard nics. 2 are igb0, igb1 and the other 2 nics are em0, em1. I installed a
NC364T 4 port nic. Which Freenas seen as em2, em3, em4, em5. For some reason em4 and em5 would not work when trying to create a LACP lagg and my Cisco in LACP and Trunk mode. When I disable the 2 onboard em0 and em1. The em4 and em5 start working on the 4 port card and the LACP connects and works fine. Now I'm running a LACP trunk mode with multiple Vlans.

I've had someone say that the "em" stands for Intel chipsets and the 2 onboard em ports might be somehow conflicting with the 4 port nic card. I might later on try and research this more, but right now this has put me behind weeks so moving forward for now.
 
Status
Not open for further replies.
Top