Comandos Básicos Switch ⁠Cisco

Entrar no modo privilegiado
 enable 
Entrar no modo de configuração global
 configure terminal 
Sair do modo de configuração
 exit 
Sair para o modo EXEC
 end 
Mostrar ajuda
 ? 
Mostrar histórico de comandos
 show history 
Salvar configuração
 write memory 
ou
 copy running-config startup-config 
Mostrar versão
 show version 
Mostrar configuração atual
 show running-config 
Mostrar configuração gravada
 show startup-config 
Interfaces Listar interfaces
 show ip interface brief 
Mostrar interface completa
 show interface GigabitEthernet0/1 
Entrar na interface
 interface GigabitEthernet0/1 
Configurar descrição
 description texto 
Habilitar interface
 no shutdown 
Desabilitar interface
 shutdown 
VLAN Criar VLAN
 vlan 10 
Configurar nome da VLAN
 name VLAN10 
Mostrar VLANs
 show vlan brief 
Configurar porta ACCESS
 interface GigabitEthernet0/1
switchport mode access
switchport access vlan 10
Configurar porta TRUNK
 interface GigabitEthernet0/1
switchport mode trunk
switchport trunk allowed vlan all
EtherChannel (LACP) Criar EtherChannel
 interface range GigabitEthernet0/1 - 2
channel-group 1 mode active
Mostrar EtherChannel
 show etherchannel summary 
Spanning-Tree (STP) Mostrar STP
 show spanning-tree 
Configurar prioridade da VLAN
 spanning-tree vlan 10 priority 4096 
Habilitar PortFast
 interface GigabitEthernet0/1
spanning-tree portfast
MAC Address Mostrar tabela MAC
 show mac address-table 
Limpar tabela MAC
 clear mac address-table dynamic 
Endereçamento / SVI Criar interface SVI (VLAN Interface)
 interface vlan 10 
Configurar IP
 ip address x.x.x.x y.y.y.y 
Mostrar interfaces VLAN
 show interface vlan 
Diagnóstico Ping
 ping x.x.x.x 
Traceroute
 traceroute x.x.x.x 
Mostrar ARP
 show ip arp 
Mostrar logs
 show logging 
Mostrar uso da CPU
 show processes cpu 
SNMP Configurar comunidade SNMP
 snmp-server community nome RO 
 snmp-server community nome RW 

Leave A Comment