Tuesday, May 20, 2014

Some basic Troubleshoot/Show Command for Router/Switch/ASA



Some basic Troubleshoot/Show Command for Router/Switch/ASA:

Basic Show command:
Router#show clock
Router#show version               >> System hardware and software status
Router#show hosts   >> IP domain-name, lookup style, nameservers, and host table
Router#show file systems        >> Device File Systems
Router#show flash:                  >> about flash: file system
Router#show running-config   >> Current operating configuration
Router#show startup-config               >> Startup configuration 
Router#copy running-config startup-config >>Save running to startup config
Router#write                                          >>Save running to startup config
Router#show arp                      >>  IP ARP table
Router#show cdp neighbors     >> CDP neighbor entries


Show Routing table:
Router#show ip route >> on router/switch
ASA#show route >> on ASA

NAT/PAT:

Router#show ip nat translations  >> Translation entries


VLAN Troubleshoot command:

Router#show vtp status                    >> VTP domain status
Router#show vlan-switch brief        >> VTP all VLAN status in brief

Router#show interfaces vlan  1         >> Catalyst Vlans
Router#show interfaces trunk           >> Show interface trunk information

Switch#vlan database    >> see vlan info
 

ACL:
Router#show access-lists 10     >> ACL number
Router#show access-lists abc   >> ACL name



No comments:

Post a Comment