cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1956
Views
0
Helpful
3
Replies

LACP question

AlexM12
Level 1
Level 1

Hi guys I am a newbie here. I am planning to take my CCNA exam next month. However I had encountered a problem regarding LACP.

 

All my configurations are well and running until I added LACP in my network or different etherchannel versions in my activity just for the sake of practicing.

 

Well now, if my ports are bundled together, do they still participate in STP? If not why do my switches are blocking the ports when attempting "sh span" command? Also I cannot ping my switch with the block ports in it.

 

Actually before experiencing this problem, it was working well with LACP configurations added in my network. The thing is my packet tracer keeps on shutting down so I had to reopen again my activity for a few times. Then after doing it, the problem occurs.

 

Switch8#sh span

VLAN0010

Spanning tree enabled protocol ieee

Root ID Priority 32778

Address 0001.6302.894C

Cost 9

Port 28(Port-channel 2)

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

 

Bridge ID Priority 32778 (priority 32768 sys-id-ext 10)

Address 00E0.B022.B556

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 20

 

Interface Role Sts Cost Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Po1 Altn BLK 9 128.27 Shr

Po2 Root FWD 9 128.28 Shr

 

VLAN0020

Spanning tree enabled protocol ieee

Root ID Priority 32788

Address 0001.6302.894C

Cost 9

Port 28(Port-channel 2)

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

 

Bridge ID Priority 32788 (priority 32768 sys-id-ext 20)

Address 00E0.B022.B556

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 20

 

Interface Role Sts Cost Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/2 Desg FWD 19 128.2 P2p

Fa0/1 Desg FWD 19 128.1 P2p

Po1 Altn BLK 9 128.27 Shr

Po2 Root FWD 9 128.28 Shr

 

VLAN0030

Spanning tree enabled protocol ieee

Root ID Priority 32798

Address 0001.6302.894C

Cost 9

Port 28(Port-channel 2)

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

 

Bridge ID Priority 32798 (priority 32768 sys-id-ext 30)

Address 00E0.B022.B556

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 20

 

Interface Role Sts Cost Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/3 Desg FWD 19 128.3 P2p

Fa0/4 Desg FWD 19 128.4 P2p

Po1 Altn BLK 9 128.27 Shr

Po2 Root FWD 9 128.28 Shr

 

 

 

Switch8#sh etherchannel summary

Flags: D - down P - 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

u - unsuitable for bundling

w - waiting to be aggregated

d - default port

 

 

Number of channel-groups in use: 2

Number of aggregators: 2

 

Group Port-channel Protocol Ports

------+-------------+-----------+----------------------------------------------

 

1 Po1(SU) LACP Fa0/6(P) Fa0/7(P)

2 Po2(SU) LACP Fa0/10(P) Fa0/11(P)

 

 

Switch8#sh etherchannel port-channel

Channel-group listing:

----------------------

 

Group: 1

----------

Port-channels in the group:

---------------------------

 

Port-channel: Po1 (Primary Aggregator)

------------

 

Age of the Port-channel = 00d:00h:11m:41s

Logical slot/port = 2/1 Number of ports = 2

GC = 0x00000000 HotStandBy port = null

Port state = Port-channel

Protocol = LACP

Port Security = Disabled

 

Ports in the Port-channel:

 

Index Load Port EC state No of bits

------+------+------+------------------+-----------

0 00 Fa0/7 Passive 0

0 00 Fa0/6 Passive 0

Time since last port bundled: 00d:00h:11m:41s Fa0/6

Group: 2

----------

Port-channels in the group:

---------------------------

 

Port-channel: Po2 (Primary Aggregator)

------------

 

Age of the Port-channel = 00d:00h:11m:41s

Logical slot/port = 2/2 Number of ports = 2

GC = 0x00000000 HotStandBy port = null

Port state = Port-channel

Protocol = LACP

Port Security = Disabled

 

Ports in the Port-channel:

 

Index Load Port EC state No of bits

------+------+------+------------------+-----------

0 00 Fa0/10 Active 0

0 00 Fa0/11 Active 0

Time since last port bundled: 00d:00h:11m:40s Fa0/11

3 Replies 3

omz
VIP Alumni
VIP Alumni

I think the topology is too big for packet tracer hence the reason it keeps crashing. 

Create a smaller topology with only 3 switches to understand the LACP and STP behaviour. 

When 2 links are connected between the same switches, STP blocks 1 of them. 

The same 2 links in a port-channel, STP treats as a 1 link (port-channel).

If 3 switches are connected with port-channels in a loop, STP will block a port-channel to avoid loops. 

no-lacp.PNGlacp.PNG

 

oh okay. So meaning they still participate in STP. 

 

I have one more question. Why can't I ping the switch using the management VLAN. Should I also include my native VLAN in the allowed VLANS in the trunk ports? 

By default, the native VLAN is allowed on the trunk. Unless switchport trunk allowed vlan x is configured. If the native VLAN is changed from the default VLAN 1 and not allowed on the trunk then it should be allowed. Yes you should allow the native VLAN on the trunk if that's the management VLAN as well and the ping is to a management address.