Dell Networking OS10 - Como configurar o LACP individual
Summary: Este artigo explica como configurar o LACP individual e como ele funciona.
Instructions
Índice
Introdução
Sintaxe de
configuraçãoExemplo de configuração e estudo de caso
Caso 1: O PortChannel 1 está ativo. O LACP está ativo. Ambas as interfaces Eth 1/1/1 e Eth 1/1/2 estão ativas fisicamente.
Caso 2. O PortChannel 1 está ativo. O LACP está ativo. A interface Eth 1/1/1 está fisicamente ativa e Eth 1/1/2 está fisicamente inativa.
Caso 3. O PortChannel 1 está ativo. O LACP está ativo. A interface Eth 1/1/1 e Eth 1/1/2 está fisicamente ativa, mas o LACP está inativo em Eth 1/1/2.
Caso 4: O PortChannel 1 está inativo. O LACP está inativo. Ambas as interfaces Eth 1/1/1 e Eth 1/1/2 estão ativas fisicamente.
Caso 5: O PortChannel 1 está inativo. O LACP está inativo. A interface Eth 1/1/1 está fisicamente ativa e Eth 1/1/2 está inativa.
Introdução
O recurso LACP Individual vê uma configuração em que uma porta, configurada para o protocolo de controle de agregação de links (LACP), opera de forma independente, em vez de como parte de um link agregado. Isso normalmente acontece quando a porta não recebe unidades de dados LACP (LACPDUs) do dispositivo conectado, o que é necessário para formar o link agregado. Nesse estado, a porta permanece funcional, mas não contribui para a largura de banda agregada ou a redundância fornecida pelo grupo de agregação de links. Esse recurso é útil para garantir que as portas ainda possam operar mesmo se a negociação LACP falhar ou se o dispositivo conectado não for compatível com LACP.
Podemos ativar o recurso individual do LACP somente nos LAGs. As portas isoladas são conhecidas como portas individuais LACP.
Casos de uso do recurso individual LACP.
>1 Wake-on-LAN
>2 Inicialização PXE
|
Nota:
• Se o switch par conectado ao LAG com portas LACP individuais (isoladas) não alternar ou encaminhar pacotes entre suas portas, a Dell Technologies sugere ativar port-fast e BPDU-guard no LAG habilitado individualmente para LACP. Isso garante que as portas individuais do LACP possam passar rapidamente para o estado de encaminhamento.
• Se o switch par fizer switch ou encaminhar pacotes e reconhecer xSTP, a Dell Technologies recomenda ativar o xSTP no LAG habilitado individualmente para evitar loops de dados envolvendo portas individuais.
• Se o switch par alternar ou encaminhar pacotes e não estiver ciente do xSTP, mas também encaminhar BPDUs xSTP (como um dispositivo de inicialização PXE), a Dell Technologies aconselha habilitar o xSTP no LAG habilitado individualmente para LACP. Isso evita loops causados por várias portas individuais à medida que o switch par encaminha os BPDUs xSTP.
• Podemos ativar o recurso individual LACP em LAGs com modos Layer2. As seguintes configurações são mutuamente exclusivas: sem switchport e lacp individual.
• Se uma porta LACP individual. Todas as restrições correspondentes às configurações normais dos membros da porta também são aplicáveis às portas individuais LACP.
|
|
Nota: No OS10 versão 10.5.4.x, as VLANs em um LAG que operam no modo individual LACP podem ter como padrão um tamanho menor de MTU (Maximum Transmission Unit, Unidade Máxima de Transmissão), de 1532 bytes. Para resolver isso sem exigir atualizações de firmware, você pode definir manualmente a MTU nos LAGs afetados usando os seguintes comandos:
Esse problema foi resolvido a partir do OS10 versão 10.5.5.10 e versões posteriores. O upgrade para essas versões elimina a necessidade de configuração manual de MTU. Consulte o Dell Networking quando o LACP individual for acionado em uma porta individual resulta na alteração da MTU das VLANs associadas para 1532 nas versões 10.5.4.X
|
Sintaxe de configuração
OS10# configure terminal OS10(config)# interface port-channel <portchannel number> OS10(conf-if-po-X)# lacp individual |
- Precisamos habilitar o recurso individual do LACP em ambos os pares do VLT.
Comandos para verificar se o LACP individual está funcionando.
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 |
Exemplo de configuração e estudo de caso
Topologia de amostra
No DellOS10-SW1, vamos configurar o LACP individual.
DellOS10-SW1# configure terminal DellOS10-SW1(config)# interface port-channel 1 DellOS10-SW1(conf-if-po-1)# lacp individual |
Vamos verificar a configuração do 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 |
No DellOS10-SW2 (par de VLT), é possível configurar o LACP individual.
DellOS10-SW2# configure terminal DellOS10-SW2(config)# interface port-channel 1 DellOS10-SW2(conf-if-po-1)# lacp individual |
Vamos verificar a configuração do 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: O PortChannel 1 está ativo. O LACP está ativo. Ambas as interfaces Eth 1/1/1 e Eth 1/1/2 estão ativas fisicamente.
Considere que temos o PortChannel 1. O LACP está ativo no lado do servidor. Ambas as interfaces Eth 1/1/1 e Eth 1/1/2 estão ativas 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) Podemos ver que as portas de membro Ethernet 1/1/1 e 1/1/2 são ativas e estão ativas. |
Podemos ver o PortChannel 1 parte da VLAN 1. As interfaces Eth 1/1/1 e Eth 1/1/2 não são vistas como parte do 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 |
Podemos ver Individual: Ativado (negrito) na saída abaixo. Isso significa que o indivíduo LACP está configurado DellOS10-SW1# show lacp port-channel interface port-channel 1 | grep Individual Individual: Enabled Quando examinamos interfaces, vemos 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. O PortChannel 1 está ativo. O LACP está ativo. A interface Eth 1/1/1 está fisicamente ativa e Eth 1/1/2 está fisicamente inativa.
Vamos considerar que o PortChannel está ativo do lado do servidor. A interface Eth 1/1/1 está fisicamente ativa e Eth 1/1/2 está fisicamente inativa. Aqui, a porta Eth 1/2 é não faz a transição para uma porta independente
Podemos ver que Eth 1/1/1 está fisicamente para cima e Eth 1/1/2 está para baixo. Eth 1/2 não é uma porta independente 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) |
O PortChannel 1 faz parte da VLAN 1. Eth 1/1 faz parte do Portchannel 1 do LACP. Eth 1/2 não é uma porta independente 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. O PortChannel 1 está ativo. O LACP está ativo. A interface Eth 1/1/1 e Eth 1/1/2 está fisicamente ativa, mas o LACP está inativo em Eth 1/1/2.
Vamos considerar que o PortChannel está ativo do lado do servidor. A interface Eth 1/1/1 está fisicamente ativa e o LACP está ativo. O Eth 1/1/2 está fisicamente ativo, mas o LACP está inativo devido a algum motivo, como uma falha de cabeamento.
Aqui, a porta Eth 1/1/2 faz a transição para uma porta independente
Podemos ver que Eth 1/1/1 está fisicamente ativo e LACP está ativo. Eth 1/1/2 está fisicamente em alta, mas LACP está em baixa. Eth 1/1/2 é uma porta independente. 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) |
O PortChannel 1 faz parte da VLAN 1. Eth 1/1 faz parte do Portchannel 1 do LACP. Eth 1/2 é uma porta independente e parte da 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
|
O endereço Mac é aprendido no Portchannel 1 e 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 |
Podemos ver Individual: Ativado (negrito) na saída abaixo. Isso significa que o indivíduo LACP está configurado DellOS10-SW1# show lacp port-channel interface port-channel 1 | grep Individual Individual: Enabled Vamos examinar as interfaces. Individual é falso para Eth 1/1/1. DellOS10-SW1# show lacp interface ethernet 1/1/1 | grep Individual
Individual: false No entanto, para Eth 1/1/2 Individual é Verdadeiro. DellOS10-SW1# show lacp interface ethernet 1/1/2 | grep Individual
Individual: true |
Caso 4: O PortChannel 1 está inativo. O LACP está inativo. Ambas as interfaces Eth 1/1/1 e Eth 1/1/2 estão ativas fisicamente.
Vamos considerar que o PortChannel está inativo do lado do servidor. No entanto, a NIC física do servidor está ativa. Aqui vemos as interfaces Eth 1/1/1 e 1/1/2 transição para portas individuais. Ambos obtêm a configuração de tronco/acesso do PortChannel e começam a aprender o endereço mac como se fossem duas portas independentes.
|
Podemos ver que tanto Eth 1/1/1 quanto Eth 1/1/2 mudaram para 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 |
|
Podemos ver que ambas as interfaces aprenderam o endereço 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 examinamos interfaces, vemos 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: O PortChannel 1 está inativo. O LACP está inativo. A interface Eth 1/1/1 está fisicamente ativa e Eth 1/1/2 está inativa.
Vamos considerar que o PortChannel está inativo. Eth 1/1/1 está para cima e Eth 1/1/2 está para baixo. Isso significa que a NIC do servidor conectada a Eth 1/1/1 está ativa e a NIC conectada a Eth 1/1/2 está inativa 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 (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 aprendido endereço MAC do servidor
DellOS10-SW1# show mac address-table | grep ether 1 xx:xx:xx:xx:xx:xx dynamic ethernet1/1/1 |
|
Podemos ver Individual: Ativado na saída abaixo. Isso significa que o indivíduo LACP está configurado. 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: |