目录

简介

使用率

ASR9K — 传统

ASR9K - eXR

NCSxxxx平台和白盒

CRS

思科8xxx

简介

本文档介绍在TAC案例问题发生时/之后从Cisco IOS®-XR路由器收集的一组通用命令。

使用率

命令列表可以完全按照列出的方式粘贴到路由器CLI中，而无需进行任何更改。如果未实现对应的功能，某些命令可能会出错。这是预期结果，不会引起任何问题。

整个列表可复制/粘贴到您的路由器中。只需在ssh/telnet客户端上启用日志记录即可捕获。

ASR9K — 传统

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平台和白盒

这适用于所有NCS平台，但不限于NCS6K、NCS5K、NCS55xx、NCS540和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

思科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