Dell Networking OS10 – Konfigurieren von LACP Individual
Summary: In diesem Artikel wird erläutert, wie Sie LACP Individual konfigurieren und wie es funktioniert.
Instructions
Index
Einleitung
Konfigurationssyntax
Beispielkonfiguration und Fallstudie
Fall 1: Portkanal 1 ist aktiv. LACP ist aktiv. Beide Schnittstellen Eth 1/1/1 und Eth 1/1/2 sind physisch aktiv.
Fall 2. Portkanal 1 ist aktiv. LACP ist aktiv. Schnittstelle Eth 1/1/1 ist physisch aktiv und Eth 1/1/2 ist physisch ausgefallen.
Fall 3. Portkanal 1 ist aktiv. LACP ist aktiv. Schnittstelle Eth 1/1/1 und Eth 1/1/2 ist physisch aktiv, aber LACP ist auf Eth 1/1/2 ausgefallen.
Fall 4: Portkanal 1 ist ausgefallen. LACP ist ausgefallen. Beide Schnittstellen Eth 1/1/1 und Eth 1/1/2 sind physisch aktiv.
Fall 5: Portkanal 1 ist ausgefallen. LACP ist ausgefallen. Die Schnittstelle Eth 1/1/1 ist physisch aktiv und Eth 1/1/2 ist ausgefallen.
Einführung
Die Funktion "LACP Individual" zeigt eine Konfiguration, bei der ein Port, der für das Link Aggregation Control Protocol (LACP) eingerichtet ist, unabhängig und nicht als Teil eines aggregierten Links arbeitet. Dies geschieht in der Regel, wenn der Port keine LACPDUs (LACPDUs) vom angeschlossenen Gerät empfängt, was für die Bildung der aggregierten Verbindung erforderlich ist. In diesem Zustand bleibt der Port funktionsfähig, trägt aber nicht zur aggregierten Bandbreite oder Redundanz bei, die von der Linkzusammenfassungsgruppe bereitgestellt wird. Diese Funktion ist nützlich, um sicherzustellen, dass Ports weiterhin betrieben werden können, selbst wenn die LACP-Aushandlung fehlschlägt oder wenn das angeschlossene Gerät LACP nicht unterstützt.
Wir können die individuelle LACP-Funktion nur auf den LAGs aktivieren. Die isolierten Ports werden als LACP-Einzelports bezeichnet.
Anwendungsfälle für einzelne LACP-Funktionen.
>1 Wake-on-LAN
>2 PXE-Start
|
HINWEIS:
• Wenn der Peer-Switch, der mit dem LAG mit einzelnen (isolierten) LACP-Ports verbunden ist, keine Pakete zwischen seinen Ports austauscht oder weiterleitet, empfiehlt Dell Technologies, Port-Fast und BPDU-Guard auf dem einzeln aktivierten LACP-LAG zu aktivieren. Dadurch wird sichergestellt, dass die einzelnen LACP-Ports schnell in den Weiterleitungsstatus wechseln können.
• Wenn der Peer-Switch Pakete switcht oder weiterleitet und xSTP-fähig ist, empfiehlt Dell Technologies die Aktivierung von xSTP auf dem individuell aktivierten LACP-LAG, um Datenschleifen mit einzelnen Ports zu verhindern.
• Wenn der Peer-Switch Pakete umschaltet oder weiterleitet und xSTP-BPDUs nicht erkennt, aber auch xSTP-BPDUs weiterleitet (z. B. ein PXE-Startgerät), empfiehlt Dell Technologies, xSTP auf dem individuell aktivierten LACP-LAG zu aktivieren. Dadurch werden Schleifen vermieden, die von mehreren einzelnen Ports verursacht werden, wenn der Peer-Switch die xSTP-BPDUs weiterleitet.
• Wir können die LACP-Einzelfunktion auf LAGs mit Layer2-Modi aktivieren. Die folgenden Konfigurationen schließen sich gegenseitig aus: kein Switchport und LACP einzeln.
• Wenn es sich um einen einzelnen LACP-Port handelt. Alle Einschränkungen, die den normalen Portmitgliedskonfigurationen entsprechen, gelten auch für die einzelnen LACP-Ports.
|
|
HINWEIS: In OS10 Version 10.5.4.x können VLANs innerhalb einer LAG, die im LACP-Einzelmodus betrieben werden, standardmäßig eine niedrigere MTU-Größe (Maximum Transmission Unit) von 1.532 Byte verwenden. Um dies ohne Firmwareupdates zu beheben, können Sie die MTU auf den betroffenen LAGs manuell mit den folgenden Befehlen festlegen:
Dieses Problem wurde ab OS10 Version 10.5.5.10 und höher behoben. Durch ein Upgrade auf diese Versionen entfällt die Notwendigkeit einer manuellen MTU-Konfiguration. Lesen Sie Dell Networking, wenn eine LACP-Einzelperson in einem einzelnen Port ausgelöst wird, was dazu führt, dass sich die zugehörige VLAN-MTU in 10.5.4.X-Versionen auf 1532 ändert.
|
Konfigurationssyntax
OS10# configure terminal OS10(config)# interface port-channel <portchannel number> OS10(conf-if-po-X)# lacp individual |
- Wir müssen die individuelle LACP-Funktion auf beiden VLT-Peers aktivieren.
Befehle zur Überprüfung, ob LACP Individual funktioniert.
OS10# show lacp port-channel interface port-channel <portchannel number> OS10# show port-channel summary OS10# show interface port-channel summary OS10# show lacp interface ethernet <1/1/port-number> OS10# show vlan OS10# show mac address-table |
Beispielkonfiguration und Fallstudie
Beispieltopologie
Auf DellOS10-SW1 können Sie LACP einzeln konfigurieren.
DellOS10-SW1# configure terminal DellOS10-SW1(config)# interface port-channel 1 DellOS10-SW1(conf-if-po-1)# lacp individual |
Lassen Sie uns die Konfiguration von PortChannel1 überprüfen.
DellOS10-SW1# show running-configuration interface port-channel 1 ! interface port-channel1 no shutdown switchport access vlan 1 vlt-port-channel 1 lacp individual |
Auf DellOS10-SW2 (VLT-Peer) können wir LACP einzeln konfigurieren.
DellOS10-SW2# configure terminal DellOS10-SW2(config)# interface port-channel 1 DellOS10-SW2(conf-if-po-1)# lacp individual |
Lassen Sie uns die Konfiguration von PortChannel1 überprüfen.
DellOS10-SW2# show running-configuration interface port-channel 1 ! interface port-channel1 no shutdown switchport access vlan 1 vlt-port-channel 1 lacp individual |
Fall 1: Portkanal 1 ist aktiv. LACP ist aktiv. Beide Schnittstellen Eth 1/1/1 und Eth 1/1/2 sind physisch aktiv.
Angenommen, wir haben Portkanal 1 aktiv. LACP ist serverseitig aktiv. Beide Schnittstellen Eth 1/1/1 und Eth 1/1/2 sind physisch aktiv.
DellOS10-SW1# show port-channel summary
Flags: D - Down I - member up but inactive P - member up and active
U - Up (port-channel) F - Fallback Activated IND - LACP Individual
--------------------------------------------------------------------------------
Group Port-Channel Type Protocol Member Ports
--------------------------------------------------------------------------------
1 port-channel1 (U) Eth DYNAMIC 1/1/1(P) 1/1/2(P) Wir sehen, dass die Mitgliedsports Ethernet 1/1/1 und 1/1/2 Mitglied und aktiv sind. |
Wir sehen, dass Portkanal 1 Teil von VLAN 1 ist. Die Schnittstellen Eth 1/1/1 und Eth 1/1/2 werden nicht als Teil von PortChannel 1 angesehen. DellOS10-SW1# show vlan
Codes: * - Default VLAN, M - Management VLAN, R - Remote Port Mirroring VLANs,
@ - Attached to Virtual Network, P - Primary, C - Community, I - Isolated,
S - VLAN-Stack VLAN
Q: A - Access (Untagged), T - Tagged
NUM Status Description Q Ports
* 1 Active A Eth1/1/3-1/1/8,1/1/10-1/1/56
A Po1,1000
4094 Active T Po1000 |
DellOS10-SW1# show mac address-table Codes: pv <vlan-id> - private vlan where the mac is originally learnt VlanId Mac Address Type Interface 1 xx:xx:xx:xx:xx:xx dynamic port-channel1 |
Wir können "Individuell" sehen: Aktiviert (fett gedruckt) in der Ausgabe unten. Dies bedeutet, dass die LACP-Person konfiguriert ist DellOS10-SW1# show lacp port-channel interface port-channel 1 | grep Individual Individual: Enabled Bei der Untersuchung von Schnittstellen sehen wir Individual: false DellOS10-SW1# show lacp interface ethernet 1/1/1 | grep Individual
Individual: false DellOS10-SW1# show lacp interface ethernet 1/1/2 | grep Individual
Individual: false |
Fall 2. Portkanal 1 ist aktiv. LACP ist aktiv. Schnittstelle Eth 1/1/1 ist physisch aktiv und Eth 1/1/2 ist physisch ausgefallen.
Angenommen, der Portkanal ist serverseitig aktiv. Schnittstelle Eth 1/1/1 ist physisch aktiv und Eth 1/1/2 ist physisch ausgefallen. Hier wechselt der Port Eth 1/2 nicht zu einem unabhängigen Port
Wir können sehen, dass Eth 1/1/1 physisch Up und Eth 1/1/2 Down ist. Eth 1/2 ist kein unabhängiger Port DellOS10-SW1# show port-channel summary
Flags: D - Down I - member up but inactive P - member up and active
U - Up (port-channel) F - Fallback Activated IND - LACP Individual
--------------------------------------------------------------------------------
Group Port-Channel Type Protocol Member Ports
--------------------------------------------------------------------------------
1 port-channel1 (UF) Eth DYNAMIC 1/1/1(P) 1/1/2(D) |
PortChannel 1 ist Teil von VLAN 1. Eth 1/1 ist Teil von LACP Portchannel 1. Eth 1/2 ist kein unabhängiger Port DellOS10-SW1# show vlan
Codes: * - Default VLAN, M - Management VLAN, R - Remote Port Mirroring VLANs,
@ - Attached to Virtual Network, P - Primary, C - Community, I - Isolated,
S - VLAN-Stack VLAN
Q: A - Access (Untagged), T - Tagged
NUM Status Description Q Ports
* 1 Active A Eth1/1/3-1/1/8,1/1/10-1/1/56
A Po1,1000 |
Fall 3. Portkanal 1 ist aktiv. LACP ist aktiv. Schnittstelle Eth 1/1/1 und Eth 1/1/2 ist physisch aktiv, aber LACP ist auf Eth 1/1/2 ausgefallen.
Angenommen, der Portkanal ist serverseitig aktiv. Schnittstelle Eth 1/1/1 ist physisch aktiv und LACP ist aktiv. Eth 1/1/2 ist physisch aktiv, aber LACP ist aus irgendeinem Grund wie einer Fehlverkabelung ausgefallen.
Hier wird der Port Eth 1/1/2 auf einen unabhängigen Port umgestellt
Wir können sehen, dass Eth 1/1/1 physisch aktiv ist und LACP aktiv ist. Eth 1/1/2 ist physisch aktiv, aber LACP ist ausgefallen. Eth 1/1/2 ist ein unabhängiger Port. DellOS10-SW1# show port-channel summary Flags: D - Down I - member up but inactive P - member up and active U - Up (port-channel) F - Fallback Activated IND - LACP Individual -------------------------------------------------------------------------------- Group Port-Channel Type Protocol Member Ports -------------------------------------------------------------------------------- 1 port-channel1 (U) Eth DYNAMIC 1/1/1(P) 1/1/2(IND) |
PortChannel 1 ist Teil von VLAN 1. Eth 1/1 ist Teil von LACP Portchannel 1. Eth 1/2 ist ein unabhängiger Port und Teil von VLAN 1 DellOS10-SW1# show vlan
Codes: * - Default VLAN, M - Management VLAN, R - Remote Port Mirroring VLANs,
@ - Attached to Virtual Network, P - Primary, C - Community, I - Isolated,
S - VLAN-Stack VLAN
Q: A - Access (Untagged), T - Tagged
NUM Status Description Q Ports
* 1 Active A Eth1/1/2-1/1/8,1/1/10-1/1/56
A Po1,1000
|
Mac-Adresse wird auf Portchannel 1 und Eth 1/1/2 gelernt DellOS10-SW1# show mac address-table #Codes: pv <vlan-id> - private vlan where the mac is originally learnt VlanId Mac Address Type Interface 1 xx:xx:xxx:xx:xx:xx dynamic port-channel1 1 yy:yy:yy:yy:yy:yy dynamic ethernet1/1/2 |
Wir können "Individuell" sehen: Aktiviert (fett gedruckt) in der Ausgabe unten. Dies bedeutet, dass die LACP-Person konfiguriert ist DellOS10-SW1# show lacp port-channel interface port-channel 1 | grep Individual Individual: Enabled Sehen wir uns nun die Schnittstellen an. Individual ist false für Eth 1/1/1. DellOS10-SW1# show lacp interface ethernet 1/1/1 | grep Individual
Individual: false Für Eth ist jedoch 1/1/2 Individuum wahr. DellOS10-SW1# show lacp interface ethernet 1/1/2 | grep Individual
Individual: true |
Fall 4: Portkanal 1 ist ausgefallen. LACP ist ausgefallen. Beide Schnittstellen Eth 1/1/1 und Eth 1/1/2 sind physisch aktiv.
Angenommen, der Portkanal ist von der Serverseite aus ausgefallen. Die physische NIC des Servers ist jedoch aktiv. Hier sehen wir, wie die Schnittstellen Eth 1/1/1 und 1/1/2 zu Individual Ports übergehen. Beide erhalten die Trunk-/Zugriffskonfiguration von PortChannel und beginnen, die MAC-Adresse zu lernen, als wären sie zwei unabhängige Ports.
|
Wir sehen, dass sowohl Eth 1/1/1 als auch Eth 1/1/2 auf LACP Individual umgestellt wurden
DellOS10-SW1# show port-channel summary Flags: D - Down I - member up but inactive P - member up and active U - Up (port-channel) F - Fallback Activated IND - LACP Individual -------------------------------------------------------------------------------- Group Port-Channel Type Protocol Member Ports -------------------------------------------------------------------------------- 1 port-channel1 (D) Eth DYNAMIC 1/1/1(IND) 1/1/2(IND) |
|
DellOS10-SW1# show vlan
Codes: * - Default VLAN, M - Management VLAN, R - Remote Port Mirroring VLANs,
@ - Attached to Virtual Network, P - Primary, C - Community, I - Isolated,
S - VLAN-Stack VLAN
Q: A - Access (Untagged), T - Tagged
NUM Status Description Q Ports
* 1 Active A Eth1/1/1-1/1/8,1/1/10-1/1/56
A Po1,1000 |
|
Wir sehen, dass beide Schnittstellen die MAC-Adresse gelernt haben.
DellOS10-SW1# show mac address-table | grep ethernet 1 xx:xx:xx:xx:xx:xx dynamic ethernet1/1/2 1 yy:yy:yy:yy:yy:yy dynamic ethernet1/1/1 |
|
DellOS10-SW1# show lacp port-channel interface port-channel 1 | grep Individual Individual: Enabled
Wenn wir Schnittstellen untersuchen, sehen wir Individual: true
DellOS10-SW1# show lacp interface ethernet 1/1/1 | grep Individual
Individual: true DellOS10-SW1# show lacp interface ethernet 1/1/2 | grep Individual
Individual: true |
Fall 5: Portkanal 1 ist ausgefallen. LACP ist ausgefallen. Die Schnittstelle Eth 1/1/1 ist physisch aktiv und Eth 1/1/2 ist ausgefallen.
Nehmen wir an, PortChannel ist ausgefallen. Eth 1/1/1 ist aktiv und Eth 1/1/2 ist down. Das bedeutet, dass die mit Eth 1/1/1 verbundene Server-NIC aktiv ist und die mit Eth 1/1/2 verbundene NIC physisch ausgefallen ist.
|
DellOS10-SW1# show port-channel summary
Flags: D - Down I - member up but inactive P - member up and active
U - Up (port-channel) F - Fallback Activated IND - LACP Individual
--------------------------------------------------------------------------------
Group Port-Channel Type Protocol Member Ports
--------------------------------------------------------------------------------
1 port-channel1 (D) Eth DYNAMIC 1/1/1(IND) 1/1/2(D) |
|
DellOS10-SW1# show vlan Codes: * - Default VLAN, M - Management VLAN, R - Remote Port Mirroring VLANs, @ - Attached to Virtual Network, P - Primary, C - Community, I - Isolated, S - VLAN-Stack VLAN Q: A - Access (Untagged), T - Tagged NUM Status Description Q Ports * 1 Active A Eth1/1/1,1/1/3-1/1/8,1/1/10-1/1/56 A Po1,1000 |
|
Ethernet 1/1/1 hat MAC-Adresse vom Server gelernt
DellOS10-SW1# show mac address-table | grep ether 1 xx:xx:xx:xx:xx:xx dynamic ethernet1/1/1 |
|
Wir können "Individuell" sehen: In der Ausgabe unten aktiviert. Dies bedeutet, dass die LACP-Person konfiguriert ist. DellOS10-SW1# show lacp port-channel interface port-channel 1 | grep Individual Individual: Enabled
DellOS10-SW1# show lacp interface ethernet 1/1/1 | grep Individual
Individual: true
DellOS10-SW1# show lacp interface ethernet 1/1/2 | grep Individual Individual: |