Dell Networking OS10: come configurare LACP individuale
Summary: Questo articolo spiega come configurare LACP Individual e come funziona.
Instructions
Indice
Introduzione
Sintassi
di configurazioneConfigurazione di esempio e caso di studio
Caso 1: PortChannel 1 è attivo. LACP è attivo. Entrambe le interfacce Eth 1/1/1 ed Eth 1/1/2 sono attive fisicamente.
Caso 2. PortChannel 1 è attivo. LACP è attivo. L'interfaccia Eth 1/1/1 è fisicamente attiva ed Eth 1/1/2 è fisicamente inattiva.
Caso 3. PortChannel 1 è attivo. LACP è attivo. L'interfaccia Eth 1/1/1 ed Eth 1/1/2 è fisicamente in alto, ma LACP è in calo in Eth 1/1/2.
Caso 4: PortChannel 1 è inattivo. LACP è inattivo. Entrambe le interfacce Eth 1/1/1 ed Eth 1/1/2 sono attive fisicamente.
Caso 5: PortChannel 1 è inattivo. LACP è inattivo. L'interfaccia Eth 1/1/1 è fisicamente attiva ed Eth 1/1/2 è inferiore.
Introduzione
La funzione LACP Individual vede una configurazione in cui una porta, configurata per Link Aggregation Control Protocol (LACP), opera in modo indipendente anziché come parte di un link aggregato. Ciò si verifica in genere quando la porta non riceve le unità di dati LACP (LACPDU) dal dispositivo connesso, necessarie per formare il collegamento aggregato. In questo stato, la porta rimane funzionante ma non contribuisce alla larghezza di banda aggregata o alla ridondanza fornita dal gruppo di aggregazione di link. Questa funzione è utile per garantire che le porte possano continuare a funzionare anche se la negoziazione LACP non riesce o se il dispositivo connesso non supporta LACP.
È possibile abilitare la funzione individuale LACP solo sui LAG. Le porte isolate sono note come porte singole LACP.
Casi d'uso della funzione singola LACP.
>1 Wake on LAN
>2 PXE boot
|
NOTA:
• Se lo switch peer connesso al LAG con porte singole LACP (isolate) non commuta o inoltra i pacchetti tra le porte, Dell Technologies suggerisce di abilitare port-fast e BPDU-guard sul LAG abilitato singolarmente LACP. Ciò garantisce che le singole porte LACP possano passare rapidamente allo stato di inoltro.
• Se lo switch peer commuta o inoltra i pacchetti ed è compatibile con xSTP, Dell Technologies consiglia di abilitare xSTP sul LAG abilitato singolarmente per LACP per evitare loop di dati che coinvolgono singole porte.
• Se lo switch peer commuta o inoltra i pacchetti e non riconosce xSTP, ma inoltra anche BPDU xSTP (ad esempio un dispositivo di avvio PXE), Dell Technologies consiglia di abilitare xSTP sul LAG abilitato singolarmente LACP. In questo modo si evitano loop causati da più porte singole quando lo switch peer inoltra le BPDU xSTP.
• È possibile abilitare la funzione individuale LACP sui LAG con modalità Layer2. Le seguenti configurazioni si escludono a vicenda: nessuna switchport e lacp individuali.
• Se una porta LACP individuale. Tutte le restrizioni corrispondenti alle normali configurazioni dei membri della porta sono applicabili anche alle singole porte LACP.
|
|
NOTA: In OS10 versione 10.5.4.x, le VLAN all'interno di un LAG che operano in modalità individuale LACP possono avere per impostazione predefinita una dimensione MTU (Maximum Transmission Unit) inferiore di 1.532 byte. Per risolvere questo problema senza richiedere aggiornamenti del firmware, è possibile impostare manualmente la MTU sui LAG interessati utilizzando i seguenti comandi:
Questo problema è stato risolto a partire da OS10 release 10.5.5.10 e versioni successive. L'aggiornamento a queste versioni elimina la necessità di configurare manualmente le MTU. Fare riferimento a Dell Networking quando l'individuo LACP viene attivato in Individual Port determina la modifica dell'MTU VLAN associata a 1532 nelle versioni 10.5.4.X
|
Sintassi di configurazione
OS10# configure terminal OS10(config)# interface port-channel <portchannel number> OS10(conf-if-po-X)# lacp individual |
- Dobbiamo abilitare la funzione individuale LACP su entrambi i peer VLT.
Comandi per verificare se LACP Individual funziona.
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 |
Configurazione di esempio e caso di studio
Topologia di esempio
Su DellOS10-SW1 consente di configurare LACP individualmente.
DellOS10-SW1# configure terminal DellOS10-SW1(config)# interface port-channel 1 DellOS10-SW1(conf-if-po-1)# lacp individual |
Verifichiamo la configurazione di PortChannel1.
DellOS10-SW1# show running-configuration interface port-channel 1 ! interface port-channel1 no shutdown switchport access vlan 1 vlt-port-channel 1 lacp individual |
Su DellOS10-SW2 (peer VLT) è possibile configurare LACP individuale.
DellOS10-SW2# configure terminal DellOS10-SW2(config)# interface port-channel 1 DellOS10-SW2(conf-if-po-1)# lacp individual |
Verifichiamo la configurazione di PortChannel1.
DellOS10-SW2# show running-configuration interface port-channel 1 ! interface port-channel1 no shutdown switchport access vlan 1 vlt-port-channel 1 lacp individual |
Caso 1: PortChannel 1 è attivo. LACP è attivo. Entrambe le interfacce Eth 1/1/1 ed Eth 1/1/2 sono attive fisicamente.
Si consideri che PortChannel 1 è attivo. LACP è attivo dal lato server. Entrambe le interfacce Eth 1/1/1 ed Eth 1/1/2 sono attive fisicamente.
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) Possiamo vedere che le porte Ethernet 1/1/1 e 1/1/2 sono membri attivi |
PortChannel 1 fa parte della VLAN 1. L'interfaccia Eth 1/1/1 ed Eth 1/1/2 non è vista come parte di PortChannel 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/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 |
Possiamo vedere Individuale: Abilitato (grassetto) nell'output riportato di seguito. Ciò significa che il singolo LACP è configurato DellOS10-SW1# show lacp port-channel interface port-channel 1 | grep Individual Individual: Enabled Quando esaminiamo le interfacce, vediamo 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 |
Caso 2. PortChannel 1 è attivo. LACP è attivo. L'interfaccia Eth 1/1/1 è fisicamente attiva ed Eth 1/1/2 è fisicamente inattiva.
Si consideri che PortChannel è attivo dal lato server. L'interfaccia Eth 1/1/1 è fisicamente attiva ed Eth 1/1/2 è fisicamente inattiva. In questo caso, la porta Eth 1/2 non passa alla porta indipendente
Possiamo vedere che Eth 1/1/1 è fisicamente in alto ed Eth 1/1/2 è in basso. Eth 1/2 non è una porta indipendente 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 fa parte della VLAN 1. Eth 1/1 fa parte di LACP Portchannel 1. Eth 1/2 non è una porta indipendente 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 |
Caso 3. PortChannel 1 è attivo. LACP è attivo. L'interfaccia Eth 1/1/1 ed Eth 1/1/2 è fisicamente in alto, ma LACP è in calo in Eth 1/1/2.
Si consideri che PortChannel è attivo dal lato server. L'interfaccia Eth 1/1/1 è fisicamente attiva e LACP è attiva. Eth 1/1/2 è fisicamente attivo, ma LACP è inattivo a causa di qualche motivo come un cablaggio errato.
Qui la porta Eth 1/1/2 passa alla porta indipendente
Possiamo vedere che Eth 1/1/1 è fisicamente attivo e LACP è attivo. Eth 1/1/2 è fisicamente in alto ma LACP è in basso. Eth 1/1/2 è una porta indipendente. 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 fa parte della VLAN 1. Eth 1/1 fa parte di LACP Portchannel 1. Eth 1/2 è una porta indipendente e fa parte della 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
|
L'indirizzo Mac viene appreso su Portchannel 1 ed Eth 1/1/2 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 |
Possiamo vedere Individuale: Abilitato (grassetto) nell'output riportato di seguito. Ciò significa che il singolo LACP è configurato DellOS10-SW1# show lacp port-channel interface port-channel 1 | grep Individual Individual: Enabled Esaminiamo le interfacce. Individuo è falso per Eth 1/1/1. DellOS10-SW1# show lacp interface ethernet 1/1/1 | grep Individual
Individual: false Tuttavia, per Eth 1/1/2 Individual è True. DellOS10-SW1# show lacp interface ethernet 1/1/2 | grep Individual
Individual: true |
Caso 4: PortChannel 1 è inattivo. LACP è inattivo. Entrambe le interfacce Eth 1/1/1 ed Eth 1/1/2 sono attive fisicamente.
Si consideri che PortChannel è inattivo dal lato server. Tuttavia, la scheda di rete fisica del server è attiva. Qui vediamo le interfacce Eth 1/1/1 e 1/1/2 passare alle singole porte. Entrambi ottengono la configurazione trunk/accesso di PortChannel e iniziano a imparare l'indirizzo MAC come se fossero due porte indipendenti.
|
Possiamo vedere che sia Eth 1/1/1 che Eth 1/1/2 sono passati a LACP Individual
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 |
|
Possiamo vedere che entrambe le interfacce hanno appreso l'indirizzo MAC.
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
Quando esaminiamo le interfacce, vediamo 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 |
Caso 5: PortChannel 1 è inattivo. LACP è inattivo. L'interfaccia Eth 1/1/1 è fisicamente attiva ed Eth 1/1/2 è inferiore.
Si consideri che PortChannel è inattivo. Eth 1/1/1 è in aumento ed Eth 1/1/2 è in basso. Ciò significa che la scheda di rete del server connessa a Eth 1/1/1 è attiva e la scheda di rete connessa a Eth 1/1/2 è fisicamente inattiva.
|
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 |
|
Indirizzo MAC Ethernet 1/1/1 appreso dal server
DellOS10-SW1# show mac address-table | grep ether 1 xx:xx:xx:xx:xx:xx dynamic ethernet1/1/1 |
|
Possiamo vedere Individuale: Enabled nell'output riportato di seguito. Ciò significa che l'individuo LACP è configurato. 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: |