cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
622
Views
1
Helpful
8
Replies

LACP Trunk Cisco Catalyst 1000 Series

Hans3003
Level 1
Level 1

Hallo, ich bin neu in der Cisco-Szene Ich habe einen Cisco Switch der Serie 1000. Leider ist es nicht möglich (oder ich kann es nicht finden), wie man ein LACP zwischen 2 Ports erstellt, bisher arbeite ich nur im Webinterface, ich kann dort nichts finden. Wenn Sie den Cisco mit einem Trunk mit einem HP Switch verbinden möchten, ist der Trunk bereits auf dem HP Switch eingerichtet. Steinigt mich nicht, weil ich es will, es geht leider nicht anders. Wäre dankbar für jede Hilfe. Alles Gute

2 Accepted Solutions

Accepted Solutions

The GUI does not allow you to configure LACP on the ports one by one.
Instead you have to select all ports that you want to bundle before configuring LACP which is pretty simple.
Select the first port, then press the CRTL button and select the other ports. It should now look like this:

JensAlbrecht_0-1743968916510.png

Now you can select the port group for this bundle and other parameters as necessary.

Selecting multiple ports by pressing the CRTL button also makes your life easier if you want to change VLANs and/or other parameters for a group of ports.

You mentioned that you want to configure a trunk between Cisco and HP switches so that it is best practice to explicitly set the ports to trunk mode, i.e. changing the switch mode from "dynamic auto" to "trunk". The default mode "dynamic auto" is passively waiting for the switch on the other side to actively request to form a trunk using the DTP protocol which may or may not work with other vendors.

HTH!

View solution in original post

Yepp, das ist die Standardkonfiguration. Die Keepalives sind zwar aktiv, aber ohne Portgruppennummer läuft kein LACP auf dem Port.
PAgP ist ein altes Cisco-proprietäres Protokol und sollte nicht mehr genutzt werden. Mit "ON" laufen die Ports auch ohne Protokoll als EtherChannel, was oft hilfreich ist, wenn die Gegenseite ein Nicht-Cisco Switch ist. LACP ist ein Standard-Protokoll und macht in der Praxis am wenigsten Probleme, vorausgesetzt die Gegenseite beherrscht auch LACP.
Wichtig ist, dass beide Seiten identisch konfiguriert sein müssen, also z.B. mit LACP, wobei aber die Portgruppennummern nicht übereinstimmen müssen, da diese nur lokal von Bedeutung sind.

View solution in original post

8 Replies 8

Jens Albrecht
Level 3
Level 3

Ich habe auf einem meiner Switche das Webinterface aktiviert - normalerweise arbeite ich nur via CLI - und dort kann ich LACP einrichten. Auf dem Switch läuft die aktuelle IOS Version 15.2(7)E11.

Voraussetzungen: min. IOS Version 15.2(7)E1 und der Benutzer muss Privilege Level 15 haben

Dann unter Konfiguration --> Ports den Reiter "Porteinstelllungen" auswählen:

JensAlbrecht_0-1743958793200.png

Für LACP muss der Keepallve aktiv sein und eine Portgruppennummer eingetragen werden. Die Fragezeichen liefern aber die nötigen Infos.

HTH!

Hello, Thank you for your answer.
by default, the port group type LACP is entered for all ports. For example, if I now put port 1 in port group 1, I cannot put another port in group 1, here I get the message that this port group 1 is already in use. How should I then put 2 or more ports in a group ? I had already tried that, but as I said, I get this error message version 15.2(7)E11. It is also Keep Alive enabled by default on all ports. Switch mode dynamic auto. That confuses me a little. 

The GUI does not allow you to configure LACP on the ports one by one.
Instead you have to select all ports that you want to bundle before configuring LACP which is pretty simple.
Select the first port, then press the CRTL button and select the other ports. It should now look like this:

JensAlbrecht_0-1743968916510.png

Now you can select the port group for this bundle and other parameters as necessary.

Selecting multiple ports by pressing the CRTL button also makes your life easier if you want to change VLANs and/or other parameters for a group of ports.

You mentioned that you want to configure a trunk between Cisco and HP switches so that it is best practice to explicitly set the ports to trunk mode, i.e. changing the switch mode from "dynamic auto" to "trunk". The default mode "dynamic auto" is passively waiting for the switch on the other side to actively request to form a trunk using the DTP protocol which may or may not work with other vendors.

HTH!

Hallo, es kann so einfach sein, ich konnte vor lauter Verzweiflung einfach nicht daran denken. Ich möchte mich ganz herzlich für diesen kleinen, aber alles wichtigen Tipp bedanken! Ich werde es morgen so konfigurieren. Aber ich habe immer noch eine Frage: Ist es normal, dass der Port-Modus für alle Ports des Switches auf LACP konfiguriert ist? Es besteht auch die Wahl zwischen ON oder PAgP.
So sieht die Standardkonfiguration von einem Port aus aus, ist das korrekt?

Screenshot 2025-04-06 222143.png

 

Yepp, das ist die Standardkonfiguration. Die Keepalives sind zwar aktiv, aber ohne Portgruppennummer läuft kein LACP auf dem Port.
PAgP ist ein altes Cisco-proprietäres Protokol und sollte nicht mehr genutzt werden. Mit "ON" laufen die Ports auch ohne Protokoll als EtherChannel, was oft hilfreich ist, wenn die Gegenseite ein Nicht-Cisco Switch ist. LACP ist ein Standard-Protokoll und macht in der Praxis am wenigsten Probleme, vorausgesetzt die Gegenseite beherrscht auch LACP.
Wichtig ist, dass beide Seiten identisch konfiguriert sein müssen, also z.B. mit LACP, wobei aber die Portgruppennummern nicht übereinstimmen müssen, da diese nur lokal von Bedeutung sind.

Hello, okay, thank you very much. I usually connect switches to the SFP ports; the rest of the ports are end devices, computers, etc. I just wanted to make sure this is the standard. I still have to replace a switch that currently has four devices connected to it that require a trunk (4-port and 2-port trunks), so I want to preconfigure the switch as well. I have to connect one switch to a trunk, which in my case is the HP. I also have to configure VLAN trunks. As I said, this is my first time with Cisco switches. Thank you very much for your help.

Hello, I tested the settings once, but unfortunately, STP triggers and blocks the ports to prevent a loop, causing the network to crash for a short time. On the HP switch, I can only create the trunk and add the port members.

Hello, this typically means that the formation of the EtherChannel was not successful so that STP still treats the connection as individual physical ports at least on one side.

There are a few things to be careful about:

1) Matching config on both sides
This means that you have to configure both switches to either use LACP or to build the EtherChannel unconditionally. It does not work if you configure a static bundle on one side but LACP on the other.
So if you use static configuration on the HP switch, then you have to use "ON" on the Cisco switch to match it.
If you configured the HP bundle as a trunk port (HP calls this a "tagged port"), then you also need to set the Switch Mode on the Cisco switch to "trunk".

2) Configuration steps
If the links on both sides are up and you start to configure an EtherChannel on one side, then STP error messages are common due to the temporary configuration mismatch.
Hence it is best practice to shut down the ports on one side, configure the EtherChannel on both sides and then enable the ports again.

3) Clearing error conditions
If you already ran into STP errors, then there is a chance that the EtherChannel does not come up even after fixing the configuration errors.
Then you need to explicitly shutdown the ports on BOTH switches in order to clear the error conditions. Other methods like just unplugging and replugging cables do not clear the error conditions on the ports and hence often don't work.
There is also a chance that a port goes into the so called "error-disabled" state. In that case you need to explicitly shutdown the port to clear this condition, then reenable it. On the GUI this is done under Configuration --> Ports --> General, then toggle the "Status" button. Always wait at least 3-4 seconds after toggling it, otherwise the button has no effect.

HTH!