Contents

C H A P T E R 6

CLI Tips, Techniques, and Shortcuts

6-1

 

 

 

 

 

Contents

6-1

 

 

 

 

 

 

 

 

 

CLI Tips and Shortcuts 6-1

 

 

 

 

 

 

 

 

Entering Abbreviated Commands

6-2

 

 

 

 

 

Using the Question Mark (?) to Display On-Screen Command Help 6-2

 

Completing a Partial Command with the Tab Key

6-4

 

 

Identifying Command Syntax Errors

 

6-4

 

 

 

Using the no Form of a Command

6-5

 

 

 

 

Editing Command Lines that Wrap

6-5

 

 

 

 

Displaying System Information with show Commands

6-5

 

 

Common show Commands

6-6

 

 

 

 

 

 

 

Browsing Display Output when the --More-- Prompt Appears

6-7

 

Halting the Display of Screen Output

6-7

 

 

 

Redirecting Output to a File

6-8

 

 

 

 

 

 

Narrowing Output from Large Configurations 6-8

 

 

 

Filtering show Command Output

 

6-9

 

 

 

 

 

Wildcards, Templates, and Aliases

6-11

 

 

 

 

 

Using Wildcards to Identify Interfaces in show Commands

6-11

 

Creating Configuration Templates

6-12

 

 

 

 

Applying Configuration Templates

6-14

 

 

 

 

Aliases

6-15

 

 

 

 

 

 

 

 

 

Keystrokes Used as Command Aliases

 

6-16

 

 

 

Command History

6-16

 

 

 

 

 

 

 

 

Displaying Previously Entered Commands 6-16

 

 

 

Recalling Previously Entered Commands

6-17

 

 

 

Recalling Deleted Entries

6-17

 

 

 

 

 

 

 

Redisplaying the Command Line

 

6-17

 

 

 

 

Key Combinations

6-18

 

 

 

 

 

 

 

 

Key Combinations to Move the Cursor

 

6-18

 

 

 

Keystrokes to Control Capitalization

6-18

 

 

 

Keystrokes to Delete CLI Entries

 

6-19

 

 

 

 

Transposing Mistyped Characters

6-19

 

 

 

 

Troubleshooting the Cisco IOS XR Software

 

 

 

C H A P T E R 7

7-1

 

 

 

Contents

7-1

 

 

 

 

 

 

 

 

 

Additional Sources for Information

7-1

 

 

 

 

 

Basic Troubleshooting Commands

7-1

 

 

 

 

 

Using show Commands to Display System Status and Configuration

7-2

 

 

 

 

Cisco IOS XR Getting Started Guide

 

 

 

 

 

OL-10957-02

 

 

vii

 

 

 

 

 

Page 7
Image 7
Cisco Systems Cisco IOS XR manual Contents CLI Tips and Shortcuts