Friday, May 23, 2014

Cisco IOS Troubleshooting Tip

I always love hearing about little IOS tips and tricks that are quick, easy, and provide lots of useful information. One that I use occasionally when I'm on a new Cisco IOS device is the command "show tech-support | include show".

What this gives you is all the 'show' commands generated when the command 'show tech-support' is executed. Pretty useful to see what commands Cisco TAC deem essential for troubleshooting, without having to scroll through hundreds of pages of output from 'show tech-support' command.

Here's what commands are executed on a Cisco 3850 running IOS-XE 03.03.03SE with IP Services license:

C3850#sh tech-support     | in show
------------------ show clock ------------------
------------------ show version ------------------
------------------ show running-config ------------------
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
------------------ show stacks ------------------
------------------ show interfaces ------------------
  Last clearing of "show interface" counters never
<..snip..>
  Last clearing of "show interface" counters never
------------------ show interfaces history ------------------
------------------ show controllers ------------------
------------------ show user ------------------
------------------ show logging ------------------
------------------ show env all ------------------
------------------ show interfaces status ------------------
------------------ show interfaces status err-disabled ------------------
------------------ show interfaces switchport ------------------
------------------ show interfaces trunk ------------------
------------------ show vlan ------------------
------------------ show spanning-tree ------------------
------------------ show etherchannel summary ------------------
------------------ show cef linecard ------------------
------------------ show data-corruption ------------------
------------------ show memory statistics ------------------
------------------ show process memory ------------------
------------------ show process cpu ------------------
------------------ show process cpu history ------------------
------------------ show switch detail ------------------
------------------ show platform oir states ------------------
------------------ show platform ses states ------------------
------------------ show license right-to-use summary ------------------
------------------ show license right-to-use ------------------
------------------ show license right-to-use usage ------------------
------------------ show license right-to-use default ------------------
------------------ show license right-to-use detail ------------------
------------------ show version running ------------------
------------------ show processes cpu detailed ------------------
------------------ show processes ------------------
------------------ show redundancy history ------------------
------------------ show redundancy states ------------------
------------------ show redundancy switchover history ------------------
------------------ show ipc nodes ------------------
------------------ show ipc ports ------------------
------------------ show ipc queue ------------------
------------------ show ipc status ------------------
------------------ show pds buffergroup all ------------------
------------------ show pds buffers ------------------
------------------ show pds client all ------------------
------------------ show pds memory ------------------
------------------ show pds statistics ------------------
------------------ show pds tag all ------------------
------------------ show stack-power ------------------
------------------ show ip nbar version ------------------
      Iv:                         showmypc - 1
14  netshow                          Mv: 3
      Iv:                         showmypc - 1
210  showmypc                         Mv: 1
------------------ show crypto key mypubkey rsa ------------------
------------------ show buffers ------------------
------------------ show inventory ------------------
------------------ show region ------------------

No comments:

Post a Comment