Chapter 6 CLI Tips, Techniques, and Shortcuts

Displaying System Information with show Commands

Common show Commands, page 6-6

Browsing Display Output when the --More-- Prompt Appears, page 6-7

Halting the Display of Screen Output, page 6-7

Redirecting Output to a File, page 6-8

Narrowing Output from Large Configurations, page 6-8

Filtering show Command Output, page 6-9

Common show Commands

Some of the most common show commands are described in Table 6-2.

Table 6-2

Common show Commands in Cisco IOS XR Software

 

 

 

 

 

Command

 

Description

Command Mode

 

 

 

 

show version

 

Displays system information.

EXEC or

 

 

 

administration

 

 

 

EXEC mode

 

 

 

show configuration

Displays the uncommitted configuration changes made during a

Global or

 

 

configuration session.

administration

 

 

 

configuration

 

 

 

mode

 

 

 

show running-config (EXEC or

Displays the current running configuration for the SDR to which

EXEC or global

global configuration mode)

you are connected.

configuration

 

 

 

mode

 

 

 

show running-config

Displays the current running configuration that applies to the

administration

(administration EXEC or

entire router or multishelf system.

EXEC or

administration configuration mode)

 

administration

 

 

 

configuration

 

 

 

mode

 

 

 

show tech-support

Collects a large amount of system information for

EXEC or

 

 

troubleshooting. You can provide this output to technical support

administration

 

 

representatives when reporting a problem.

EXEC mode

 

 

 

show platform (EXEC mode)

Displays information about cards and modules assigned to the

EXEC mode

 

 

SDR to which you are connected.

 

 

 

 

show platform (administration

Displays information about all cards and modules in the router.

administration

EXEC mode)

 

 

EXEC mode

 

 

 

show environment

Displays hardware information for the system, including fans,

EXEC mode or

 

 

LEDs, power supply voltage and current, and temperatures. Enter

administration

 

 

show environment ? to see additional command options.

EXEC mode

 

 

 

 

For more information on the use of these commands, see the “Related Documents” section on page x.

Cisco IOS XR Getting Started Guide

6-6

OL-10957-02

 

 

Page 162
Image 162
Cisco Systems Cisco IOS XR manual Common show Commands, Command Description Command Mode