Huawei
How to configure IPv6 Router Advertisement on Huawei NE8000: Step by Step
O IPv6 Router Advertisement (RA) no Huawei NE8000 é uma funcionalidade que permite que os roteadores anunciem informações de configuração e conectividade para dispositivos em uma rede IPv6. Isso é essencial para permitir autoconfiguração de endereços e descoberta de roteadores.
Step-by-Step Guide to Configure IPv6 RA on Huawei NE8000
1. Access the device
- Conecte-se ao Huawei NE8000 via CLI ou interface web.
- Enter your administrative credentials.
2. Enter global configuration mode
VRP (Huawei)
system-view3. Enable IPv6 on the interface
- Acesse a interface onde os anúncios serão enviados:
VRP (Huawei)
interface GigabitEthernet 0/0/1 - Enable IPv6 support on the interface: ipv6 enable
4. Configure Router Advertisement (RA) sending
- Enable router advertisements: ipv6 nd ra enable
- Define the prefix to be advertised for autoconfiguration: ipv6 nd ra prefix 2001:db8::/64
- Configure o intervalo entre anúncios (opcional): ipv6 nd ra interval 30 (Intervalo em segundos.)
- Especifique o tempo de vida do roteador no RA: ipv6 nd ra lifetime 1800 (O tempo de vida é definido em segundos.)
5. Configure advanced parameters (optional)
- Enable the default routing function in the RA: ipv6 nd ra router-preference high
- Allow devices to use RA for DNS discovery (optional): ipv6 nd ra dns-server 2001:db8::1
6. Verify the IPv6 RA configuration
- Exiba as informações de anúncios de roteador na interface:
VRP (Huawei)
display ipv6 nd ra - Verifique os dispositivos conectados que receberam o RA:
VRP (Huawei)
display ipv6 neighbors
7. Test IPv6 RA functionality
- On a connected device, verify that the IPv6 address was automatically configured with the advertised prefix.
- Use a ping command to test connectivity: ping -ipv6 2001:db8::2
8. Adjust or disable IPv6 RA (optional)
- To adjust parameters, edit the RA configuration directly.
- Para desativar o envio de RA:
VRP (Huawei)
undo ipv6 nd ra enable
9. Save the configuration
VRP (Huawei)
save