Cisco ASR 9000 Troubleshooting Commands Guide - 夜莺博客

Cisco ASR 9000 Troubleshooting Commands Guide

The ASR 9000 series runs IOS XR, where interface state lives in the Interface Manager (IM) database and memory thresholds are configurable knobs that prevent silent failures. This article walks through the troubleshooting commands from the official ASR 9000 advanced system command reference — what show im database actually tells you, how to read its views, and how to configure watchdog memory thresholds that keep the router healthy under pressure.

Understanding the cisco-support Command Context

Several ASR 9000 troubleshooting commands carry the cisco-support task ID and are intended for use during fault-finding with Cisco TAC. They require your user group to be associated with the matching task group; if the command is blocked, your AAA administrator must adjust the assignment.

show im database: The Interface State Database

RP/0/RSP0/CPU0:router# show im database brief location 0/0/CPU0
Handle | Name | State | MTU | Views
0x01080060 Gi0/0/0/0 up 9212 GDP|LDP|L3P|OWN
0x010800c0 Gi0/0/0/3 down 1514 GDP|LDP|L3P|OWN

The IM database is the authoritative record of every interface's state, MTU and ownership. Use brief for a fast overview, interface <type> to drill into a specific interface, and verbose for the full ownership and state-transition detail — the Views column (OWN, L3P, LDP, GDP...) tells you which subsystem owns the interface at each layer, invaluable when routing sees a link that the line card does not.

watchdog threshold memory: Proactive Memory Monitoring

IOS XR can alarm on memory pressure per node instead of failing unpredictably. The recommended thresholds scale with total memory (minor 20%, severe 10%, critical 5% of available memory):

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# watchdog threshold memory location 0/RP0/CPU0 minor 30 severe 20 critical 10

Set global defaults without a location to cover all nodes, and override per-node where needed. If a node sits at the critical threshold, collect show processes memory and show watchdog memory-state before assuming a leak.

Pairing with the TAC Collection Set

For full-platform triage, combine these with the IOS XR TAC command collection list (platform, install, BGP/OSPF, MPLS and drops) and our multi-vendor CLI cheat sheet for IOS XR/Junos/SR OS/VRP cross-reference.

原文链接:https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/adv-sys/command/reference/b-advsys-cr-asr9000/b-advsys-cr-asr9000_chapter_01.html