Huawei
How to configure Load Balancing on Huawei NE8000: Step by Step
O Load Balancing (Balanceamento de Carga) no Huawei NE8000 distribui o tráfego de rede de forma equilibrada entre múltiplos caminhos ou interfaces. Essa configuração melhora a eficiência da rede e garante maior desempenho e redundância para conexões de alta demanda.
Step-by-Step Guide to Configure Load Balancing on Huawei NE8000
1. Access the device
- Conecte-se ao Huawei NE8000 via CLI ou interface web.
- Log in with your administrative credentials.
2. Enter global configuration mode
VRP (Huawei)
system-view3. Configure Load Balancing by Hashing
- Defina o algoritmo de balanceamento baseado em IP ou MAC:
load-balance hash-mode src-dst-ip
(Opções incluem
src-dst-ip,src-dst-mac, ousrc-ip.) - Configure the balancing table for multiple links: load-balance multi-path
4. Configure Load Balancing for ECMP routes
- Habilite o balanceamento entre rotas de custo igual (ECMP):
VRP (Huawei)
ip route-static 10.0.0.0 255.255.255.0 192.168.1.1 ip route-static 10.0.0.0 255.255.255.0 192.168.2.1 - Adjust the maximum number of supported ECMP routes: ecmp max-paths 8
5. Configure Load Balancing for MPLS (optional)
- Ative o balanceamento em redes MPLS:
VRP (Huawei)
mpls load-balance enable - Defina o critério para tráfego MPLS:
VRP (Huawei)
mpls load-balance mode src-dst-ip
6. Verify the Load Balancing Configuration
- Confira as rotas ECMP configuradas:
VRP (Huawei)
display ip routing-table - Verifique as informações de tráfego balanceado:
VRP (Huawei)
display load-balance
7. Test Load Balancing Efficiency
- Run traffic tests on connected devices to observe the distribution.
- Use ferramentas como
traceroutepara verificar o caminho dos pacotes.
8. Adjust or Remove the Configuration (optional)
- To change parameters, directly edit the applied configurations.
- Para desativar o Load Balancing em MPLS:
VRP (Huawei)
undo mpls load-balance enable - Para remover rotas ECMP, utilize:
VRP (Huawei)
undo ip route-static 10.0.0.0 255.255.255.0 192.168.2.1
9. Save the Configuration
VRP (Huawei)
save