Huawei
How to Configure CDP on Huawei Ne8000: Step by Step
VPS 8GB RAM + 75GB NVMe — R$59/mês4 vCPUs · Tráfego ilimitado · Ubuntu Server LTS · Suporte para instalação incluso
Contratar agoraStep-by-Step Guide to Configure CDP on the Huawei NE8000
Prerequisites:
- Acesso ao Huawei NE8000 via CLI.
- Administrative permissions.
- The interface where CDP will be enabled must already be configured.
Step 1: Access the Huawei NE8000
Conecte-se ao dispositivo via SSH ou console local e autentique-se: ssh admin@<IP_DO_DISPOSITIVO>Step 2: Enter global configuration mode
Digite o comando abaixo para acessar o modo de configuração global:VRP (Huawei)
system-viewStep 3: Enable CDP support globally
Para ativar o CDP no dispositivo, utilize o seguinte comando:VRP (Huawei)
lldp enable cdp-compatibleStep 4: Configure CDP on specific interfaces
Identifique as interfaces onde deseja habilitar o CDP e use os seguintes comandos:VRP (Huawei)
interface <NOME_DA_INTERFACE>
lldp enable cdp-compatibleVRP (Huawei)
interface GigabitEthernet0/0/1
lldp enable cdp-compatibleStep 5: Verify the CDP configuration
Após habilitar o CDP, execute o seguinte comando para verificar os dispositivos detectados e os detalhes da configuração:VRP (Huawei)
display lldp neighbor-information cdp-compatibleStep 6: Save the configuration
Certifique-se de salvar as alterações para que elas permaneçam após o reinício do dispositivo:VRP (Huawei)
save