Vous êtes sur la page 1sur 4

Important show commands in router to troubleshoot

We have to run below commands in privilege mode to get the outputs (Example: Router#show ip inte

how to check all interfaces are up/down in router


show interface description
show ip int brief
how to check all interfaces ip address and interfaces up/down in router
show ip int brief
how to check all interfaces description in router?
show int description
how to check running configuration in router?
show run
how to check start-up configuration (permanent configuration) in router
show start-up configuration
how to check router IOS version, how many hours router is up, router model, serial number, how man
show version
how to check only interfaces configuration
show run | b interface
how to check only protocol configuration
show run | s router
show run | s eigrp
show run | s bgp
show run | s ospf
how to see only static route configuration in router
show run | I route
how to check logs in router
show log
how to check routing table in router
show ip route
how to filter ospf routes in router
show ip route ospf
how to filter eigrp routes in routing table
show ip route eigrp
how to filter bgp routes in router
show ip route bgp
how to check ospf neighbors are up/down
show ip ospf neighbor
how to check eigrp neighbors are up/down
show ip eigrp neighbor
how to check ospf database table
show ip ospf database
how to check eigrp database table
show ip eigrp database
how to check bgp neighbors are up/down
show ip bgp sum
how to check bgp table
show ip bgp
how to check destination is reachable or not
ping x.x.x.x
how to check what all the access-list configured in router
show ip access-list
how to check what all the devices connected to router
show cdp neighbor
how to check what all the devices connected to router in details to know what is the IP address, mode
show cdp neighbor detail
how to check particular interface configuration
show run interface (type number)
show run int gi 0/0
how to check arp table in router
show ip arp
how to save configuration
write memory
how to reload router
reload
hit enter
Important show commands in switch to troubleshoot
We have to run below commands in privilege mode to get the outputs (Example: Switch#show interf

how to check all interfaces are up/down in switch


show interface description
show interface status
how to check all interfaces ip address or SVI ip address or interfaces up/down in switch
show ip int brief
how to check all interfaces description in switch ?
show int description
how to check running configuration in switch ?
show run
how to check start-up configuration (permanent configuration) in switch
show start-up configuration
how to check switch IOS version, how many hours switch is up, switch model, serial number, how m
show version
how to check only interfaces configuration
show run | b interface
how to check logs in switch
show log
how to check destination is reachable or not
ping x.x.x.x
how to check what all the access-list configured in switch
show ip access-list
how to check what all the devices connected to switch
show cdp neighbor
how to check what all the devices connected to switch in details to know what is the IP address, mod
show cdp neighbor detail
how to check particular interface configuration
show run interface (type number)
show run int gi 0/0
how to check arp table in switch
show ip arp
how to save configuration
write memory
how to reload switch
reload
hit enter
how to check what all the vlans are configured
show vlan
how to port-channel information
show port-channel summary
how to check trunk interfaces
show interface trunk
how to check spanning-tree summary
show spanning-tree summay
how to check particular interface detailed
show interface <type number>
show interface ethernet 0/0 switchport
how to check mac address table
show mac

Vous aimerez peut-être aussi