Introduction

    This document describes the generic set of commands to collect from Cisco IOS®-XR routers at the time of/after an issue for TAC cases.

    Usage

    The command list can be pasted to the router CLI exactly as listed without any changes. Certain commands can error out if the features that correspond are not implemented. This is an expected outcome and does not cause any issues.

    This entire list can be copied/pasted into your router. Simply enable logging on your ssh/telnet client to capture.

    ASR9K - Classic

    term length 0
    show platform
    admin show platform
    show install active summary
    show version
    show hw-module fpd location all
    show diag
    show logging
    show install log
    show running
    admin show running
    show configuration failed
    show configuration commit changes all
    show configuration history
    show configuration failed startup
    show history
    show cli history detail
    admin show environment
    admin show led
    show pfm location all
    show processes
    show processes cpu
    show processes blocked location all
    show watchdog memory-state
    show context location all
    show controllers np counters all
    show drops
    show redundancy
    show redundancy summary
    show snmp mib access
    show snmp interface
    show interfaces description
    show ospf neighbor
    show bgp sessions
    show bgp summary
    show rib update-groups
    show tcp brief
    show l2vpn xconnect
    show mpls traffic-eng tunnels
    show bfd session
    show virtual-service list

    ASR9K - eXR

    term length 0
    show platform
    show install active summary
    show version
    show hw-module fpd
    show diag
    show logging
    show install log
    show running
    admin show running
    show configuration failed
    show configuration commit changes all
    show configuration history
    show configuration failed startup
    show history
    show cli history detail
    admin show environment
    admin show led
    show pfm location all
    show processes
    show processes cpu
    show processes blocked location all
    show watchdog memory-state
    show context location all
    show controllers np counters all
    show drops
    show redundancy
    show redundancy summary
    show snmp mib access
    show snmp interface
    show interfaces description
    show ospf neighbor
    show bgp sessions
    show bgp summary
    show rib update-groups
    show tcp brief
    show l2vpn xconnect
    show mpls traffic-eng tunnels
    show bfd session

    NCSxxxx Platforms, and Whitebox

    This is for all NCS platforms, for example, but not limited to NCS6K, NCS5K, NCS55xx, NCS540, and NCS560.

    term length 0
    show platform
    admin show platform
    show inventory
    show install active summary
    show version
    show hw-module fpd
    show diag
    show logging
    show install log
    show running
    admin show running
    show configuration failed
    show configuration commit changes all
    show configuration history
    show configuration failed startup
    show history
    show cli history detail
    show environment
    admin show environment
    show led
    admin show led
    show alarms brief system active
    show asic-errors all detail location 0/RP0/CPU0
    show asic-errors all detail location 0/0/CPU0
    show processes
    show processes cpu
    show processes blocked location all
    show watchdog memory-state
    show context location all
    show redundancy
    show redundancy summary
    show snmp mib access
    show snmp interface
    show interfaces description
    show ospf neighbor
    show bgp sessions
    show bgp summary
    show rib update-groups
    show tcp brief
    show l2vpn xconnect
    show mpls traffic-eng tunnels
    show bfd session

    CRS

    term length 0
    show platform
    admin show platform
    show install active summary
    show version
    show hw-module fpd location all
    show diag
    show logging
    show install log
    show running
    admin show running
    show configuration failed
    show configuration commit changes all
    show configuration history
    show configuration failed startup
    show history
    show cli history detail
    admin show environment
    admin show led
    show processes
    show processes cpu
    show processes blocked location all
    show watchdog memory-state
    show context location all
    show redundancy
    show redundancy summary
    show snmp mib access
    show snmp interface
    show interfaces description
    show ospf neighbor
    show bgp sessions
    show bgp summary
    show rib update-groups
    show tcp brief
    show l2vpn xconnect
    show mpls traffic-eng tunnels
    show bfd session

    Cisco 8xxx

    term length 0
    show platform
    show install active summary
    show version
    show hw-module fpd
    show diag
    show logging
    show install log
    show running
    show configuration failed
    show configuration commit changes all
    show configuration history
    show configuration failed startup
    show history
    show cli history detail
    show environment
    show led
    show processes
    show processes cpu
    show processes blocked location all
    show watchdog memory-state
    show context location all
    show reboot history
    show redundancy
    show redundancy summary
    show snmp mib access
    show snmp interface
    show interfaces description
    show ospf neighbor
    show bgp sessions
    show bgp summary
    show rib update-groups
    show tcp brief
    show l2vpn xconnect
    show mpls traffic-eng tunnels
    show bfd session