Comandos Switch Ubiquiti

Comandos compatíveis com os principais Switches Ubiquiti disponibilizados pela Fabricante:
  • UniFi Switch – Linha Enterprise / Campus / Acesso
    • USW Flex
    • USW Lite 8 / Lite 16
    • USW 24 / USW 24 PoE
    • USW 48 / USW 48 PoE
    • USW Pro 24 / Pro 24 PoE
    • USW Pro 48 / Pro 48 PoE
    • USW Enterprise 8 PoE
    • USW Enterprise 24 PoE
    • USW Enterprise 48 PoE

  • UniFi Aggregation – Agregação 10G/25G
    • USW Aggregation
    • USW Aggregation Pro
    • USW Mission Critical

  • EdgeSwitch – Linha clássica (CLI semelhante a roteadores Edge)
    • EdgeSwitch 8 / 8HP
    • EdgeSwitch 16 / 16XG
    • EdgeSwitch 24 / 24 Lite / 24 PoE
    • EdgeSwitch 48 / 48 Lite / 48 PoE
    • EdgeSwitch ES‑10X / ES‑10XP

  • EdgeSwitch XP – Linha PoE passivo (antigo ToughSwitch)
    • ES‑5XP
    • ES‑8XP

  • UISP Switch – Linha para provedores / WISPs (antiga UFiber/UISP)
    • UISP Switch
    • UISP Switch Pro
    • UISP Switch 8
    • UISP Switch 16
    • UISP Switch 24
    • UISP Aggregation

  • UFiber OLT/ONU – Switches integrados para redes FTTH
    • UFiber OLT
    • UFiber OLT‑4
    • UFiber OLT‑XG

Entrar no modo privilegiado
 enable 
Entrar no modo de configuração
 configure 
Sair do modo atual
 exit 
Sair completamente
 quit 
Mostrar ajuda
 ? 
Salvar configuração
 write memory 
Mostrar versão do sistema
 show version 
Mostrar configuração atual
 show running-config 
Mostrar configuração gravada
 show startup-config 
Sistema Configurar hostname
 hostname nome-switch 
Criar usuário
 username usuario password senha 
Remover usuário
 no username usuario 
Reiniciar o switch
 reload 
Interfaces Listar interfaces
 show interfaces status 
Mostrar interface específica
 show interfaces ethernet 0/1 
Entrar na interface
 interface ethernet 0/1 
Configurar descrição
 description texto 
Habilitar interface
 no shutdown 
Desabilitar interface
 shutdown 
Configurar velocidade
 speed 1000 
Configurar duplex
 duplex full 
VLAN Criar VLAN
 vlan database
vlan 10
exit
Mostrar VLANs
 show vlan 
Configurar porta ACCESS
 interface ethernet 0/1
switchport mode access
switchport access vlan 10
Configurar porta TRUNK
 interface ethernet 0/1
switchport mode trunk
switchport trunk allowed vlan add all
Link Aggregation (LACP / Port‑Channel) Criar Port‑Channel
 interface port-channel 1 
Adicionar interfaces ao LAG
 interface ethernet 0/1
channel-group 1 mode active
Mostrar EtherChannel
 show etherchannel summary 
Spanning‑Tree Mostrar STP
 show spanning-tree 
Configurar prioridade STP
 spanning-tree vlan 10 priority 4096 
Ativar Portfast (edge)
 spanning-tree portfast 
Endereçamento / Interface VLAN (SVI) Criar interface VLAN
 interface vlan 10 
Configurar IP
 ip address x.x.x.x y.y.y.y 
Mostrar interfaces VLAN
 show interfaces vlan 
Diagnóstico Ping
 ping x.x.x.x 
Traceroute
 traceroute x.x.x.x 
Mostrar tabela MAC
 show mac-address-table 
Limpar tabela MAC
 clear mac-address-table dynamic 
Mostrar ARP
 show arp 
SNMP Configurar comunidade SNMP leitura
 snmp-server community nome ro 
Configurar comunidade SNMP escrita
 snmp-server community nome rw 

GPON • REDES • DATACENTER • AUTOMAÇÃO

Explore Nossa Base Técnica

Tudo o que você precisa para configurar e administrar sua rede.

Scripts e Comandos
+ 0
Guias Técnicos
+ 0
Fabricantes Suportados
+ 0

Leave A Comment