Comandos OLT Dasan

Entrar no modo de configuração
 enable
configure terminal
Sair para o modo anterior
 exit 
Sair completamente
 quit 
Salvar configuração
 write 
Mostrar configuração atual
 show running-config 
Mostrar configuração salva
 show startup-config 
Mostrar versão da OLT
 show version 
Reiniciar OLT
 reload 
Interfaces --- Listar interfaces
 show interface 
Interface específica
 show interface ethernet 0/1 
Habilitar porta
 interface ethernet 0/1
no shutdown
Desabilitar porta
 interface ethernet 0/1
shutdown
Configurar descrição
 interface ethernet 0/1
description Uplink-AT
VLAN --- Criar VLAN
 vlan 10 
Configurar nome
 vlan 10
name CLIENTES
Mostrar VLANs
 show vlan 
Configurar porta UPLINK como trunk
 interface ethernet 0/1
switchport mode trunk
switchport trunk allowed vlan 10,20,30
Configurar porta ONU (PON) como trunk
 interface gpon 0/1
switchport mode trunk
switchport trunk allowed vlan all
Porta como access
 interface ethernet 0/2
switchport mode access
switchport access vlan 10
GPON / EPON --- Mostrar status das portas GPON
 show gpon interface 
Mostrar estatísticas da porta GPON
 show gpon interface 0/1 
Listar ONUs registradas
 show gpon onus 
Listar ONUs por porta
 show gpon onu interface 0/1 
Mostrar informações de uma ONU específica
 show gpon onu 0/1:1 
Desregistrar ONU (forçar re-provisionamento)
 no gpon onu 0/1:1 
Provisionamento ONU --- Criar perfil de linha (Line Profile)
 gpon profile line 10
tcont 1 type 4 fix 1024
gemport 1 tcont 1
exit
Criar perfil de serviço (Service Profile)
 gpon profile svc 10
vlan-mode tag
vlan 10
exit
Associar ONU à OLT
 gpon onu 0/1:1
serial-number ABCD1234
line-profile 10
service-profile 10
description CLIENTE-01
exit
Resetar ONU
 gpon onu 0/1:1 reboot 
Bloquear ONU
 gpon onu 0/1:1 admin down 
Liberar ONU
 gpon onu 0/1:1 admin up 
DHCP / PPPoE --- Ativar relay DHCP na VLAN
 interface vlan 10
ip dhcp-relay server-address 10.10.10.1
Criar interface VLAN
 interface vlan 10
ip address 192.168.10.1 255.255.255.0
SNMP --- Configurar comunidade SNMP readonly
 snmp-server community public ro 
Community read-write
 snmp-server community private rw 
Logs e Monitoramento --- Mostrar logs
 show logging 
Mostrar últimos eventos
 show logging last 50 
Habilitar envio para syslog
 logging host 10.10.10.10 
Diagnósticos --- Ping
 ping 8.8.8.8 
Traceroute
 traceroute 8.8.8.8 
Mostrar MACs aprendidos
 show mac-address-table 
MACs por VLAN
 show mac-address-table vlan 10 
MACs por ONU
 show gpon onu mac 0/1:1 
Segurança / ACL --- Criar ACL simples
 access-list 100 permit ip any any 
Aplicar ACL na interface
 interface vlan 10
ip access-group 100 in

Leave A Comment