What show commands after configuring Switch & ROuter?

SurferdudeHBSurferdudeHB Member Posts: 199 ■■■□□□□□□□
After I'm done configuring a switch, I use the following show commands

sh running config
sh ip interface brief
sh mac

for routers

sh running config
sh ip interface brief
sh ip route
sho protocols

Any other sh commands I should use?


  • chrisonechrisone Senior Member Member Posts: 2,231 ■■■■■■■■■□
    For switches

    sh int status
    sh port-security
    sh spanning-tree
    sh vlan br
    sh run int <port #>
    sh log


    sh ip <eigrp or ospf> nieghbors
    sh ip <eigrp or ospf> topology
    sh processes cpu history
    sh processes cpu sorted
    sh ver
    sh log

    I cant think of any others at the moment. icon_thumright.gif
    Certs: CISSP, OSCP, CRTP, eCTHPv2, eCPPT, eCIR, LFCS, CEH, SPLK-1002, SC-200, AZ-900, VHL:Advanced+, Retired Cisco CCNP/SP/DP
    2021 Goals
    Courses: eLearnSecurity - PTXv2 (complete), SANS 699: Purple Team Tactics (completed), PentesterLabs Pro (ongoing)
    EnCase Courses: DF120 (complete), DF210 (in progress), DF310
    Certs: AZ-500, SC-200 (passed), SC-300 (next), EnCE, Splunk Core Power User (passed), Splunk Enterprise Sys Admin
  • alxxalxx Member Posts: 755
    more for debugging
    but can tell you if serial connections/cables are plugged in or not
    and status of the controllers and if getting buffer overflows / other errors

    show controllers / sh control
    show controller xx where xx is e.g FASTETHERNET 0 or show controller Serial 0/0
    show diag
    show ip interface brief
    show interfaces
    show int status
    show ip protocols
    show ip route
    show ip arp
    show log
    debug ip rip
    Goals CCNA by dec 2013, CCNP by end of 2014
  • ZartanasaurusZartanasaurus Member Posts: 2,008 ■■■■■■■■■□
    sh cdp nei
    sh lldp nei
    sh etherc summ
    sh int trunk
    sh ip int br | i admin
    sh int | i err-dis
    sh ip int type portnumber switchport
    sh run int type portnumber
    sh vlan / sh vlan id number
    sh mac add add hwaddr
    sh mac add int type portnumber
    sh boot
    sh catalyst6000 traffic-meter
    Currently reading:
    IPSec VPN Design 44%
    Mastering VMWare vSphere 5​ 42.8%
  • SurferdudeHBSurferdudeHB Member Posts: 199 ■■■□□□□□□□
Sign In or Register to comment.