Você está na página 1de 4

Comandos Show e Debug

ACLs

#show running-config – mostra as ACLs configuradas e onde foram aplicadas (interfaces);


#show access-lists – mostra todas as ACLs;
#show access-lists 120 – mostra uma access-list determinada;
#show ip access-lists – mostra apenas as ACLs IPs;
#show ip interface – mostra se há alguma ACL na interface de entrada ou de saída com número da
ACL.

NTP

#show clock – mostra a hora;


#show clock detail – mostra a hora e a fonte da hora;
#show ntp associations – mostra as características do servidor NTP que o roteador está sincronizado;
#show ntp status – mostra o status do NTP no roteador (quando não sincronizado o stratum é 16).

NAT

#show ip nat translations


#show ip nat statistics
#debug ip nat

CDP

#show cdp
#show cdp neighbors
#show cdp neighbors detail
#show cdp entry
#show cdp entry matriz
#show cdp entry *
#show cdp entry hostname
#show cdp interface
#show cdp interface f0/0
#show cdp traffic

IPv6
#show ipv6 interface [interface num] [brief]
#show ipv6 neighbors -> similar ao show arp
#show ipv6 route [connected | static | ospf]
#show ipv6 protocols
#show ipv6 traffic

Port-Security
#show port-security – mostra os contadores;
#show interfaces fx/x status – mostra o status da porta se shutdown (err-disabled) e VLAN;
#show port-security interface fx/x – mostra se está habilitado na porta, qual o modo, aging time,
quantidade de violações, último mac address e vlan;
#show running-config – mostra os comandos que foram rodados na porta.

VLAN e Trunk
#show vlan
#show vlan brief
#show interface trunk
#show interface switchport
#show mac address-table

VTP
#show vtp status – mostra versão, domínio, número de vlans, modo de operação, pruning habilitado
e o IP do servidor;
#show vtp counters – mostra os contadores do vtp;
#show vtp password – mostra a senha de vtp, se configurada.

STP
#show spanning-tree [interface interface-id]
#show spanning-tree [vlan vlan-id] [root | bridge]
#show spanning-tree interface fx/x portfast
#debug spanning-tree events

Etherchannel
#show interface port-channel 1
#show etherchannel [num-channel-group] summary

OSPF
Configurações Gerais
#show running-config
Interfaces habilitadas
#show ip ospf interface
#show ip ospf interface type number
#show ip ospf interface brief
Vizinhos
#show ip ospf neighbor
#show ip ospf neighbor type number
Banco de dados LSDB
#show ip ospf database
Rotas e Tabela de Roteamento
#show ip route
#show ip route ospf
#show ip route subnet mask
#show ip route | section subnet

EIGRP
Configurações Gerais
#show running-config
Interfaces habilitadas
#show ip eigrp interface
#show ip eigrp interface detail
#show ip eigrp interface type number
#show ip protocols
Vizinhos
#show ip eigrp neighbors
#show ip eigrp neighbors type number
#show ip protocols
Tabela de Topologia
#show ip ospf topology
#show ip ospf topology subnet/prefix
#show ip ospf topology | section subnet
Rotas e Tabela de Roteamento
#show ip route
#show ip route eigrp
#show ip route subnet mask
#show ip route | section subnet

PPP
#show cdp neighbor
#show

PPPoE
#show interfaces
#show ip interfaces brief
#show interfaces dialer 1
#show interfaces virtual-access 1 configuration
#show pppoe session [interface type number]

eBGP
#show ip route network longer-prefixes
#show ip route bgp
#show ip bgp
#show ip bgp summary
#show ip bgp neighbors
#show tcp brief – Verifica se a porta TCP 179 está aberta para o eBGP
#debug ip bgp

HSRP
#show running-config
#show standby brief
#show standby

SNMPv2c
#show snmp
#show snmp location
#show snmp contact
#show snmp host

SNMPv3
#show snmp user
#show snmp group
#show snmphost

IP SLA
#show ip sla configuration
#show ip sla statistics
#show ip sla history

SPAN (Switched Port Analyzer)


#show monitor
#show monitor session number

Você também pode gostar