EasyManua.ls Logo

Cisco ASR 9000 User Manual

Cisco ASR 9000
188 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #132 background imageLoading...
Page #132 background image
128
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
OL-28417-02
Chapter CLI Tips, Techniques, and Shortcuts
Wildcards, Templates, and Aliases
In the next example, a template with one parameter is applied and the show configuration command
displays the result:
RP/0//CPU0:router# configure
RP/0//CPU0:router(config)# apply-template test2 (router)
RP/0//CPU0:router(config)# show configuration
Building configuration...
hostname router
end
Aliases
With the Cisco IOS XR software, you can define command-line aliases for any physical or logical entity
in a router. After you define the alias, it is used in the CLI to reference the real entity.
To create a command alias, enter the alias command in global configuration or administration
configuration mode:
alias alias-name [(parameter1 parameter2...)] command-syntax [$parameter1] [command-syntax]
[$parameter2]
Table 27 defines the alias command syntax.
Multiple commands can be supported under a single command alias, and multiple variables can be
supported for each command. If multiple commands are specified under a single alias, each command is
executed in the order in which it is listed in the alias command.
In the following example, an alias named my-cookie is created for the Management Ethernet interface,
and then the new alias is specified to enter interface configuration mode:
RP/0//CPU0:router(config)# alias my-cookie mgmtEth 0/0/CPU0/0
RP/0//CPU0:router(config)# interface my-cookie
RP/0//CPU0:router(config)# interface mgmtEth 0/0/CPU0/0
RP/0//CPU0:router(config-if)#
After you enter a command with an alias, the router displays the command you entered with the alias
value so that you can verify that alias value.
To delete a specific alias, enter the no form of the alias command with the alias name.
Ta b l e 27 alias Command Syntax
Syntax Specifies that the Alias Is Created for
alias-name Name of the command alias. An alias name can be a single word or
multiple words joined by a dash (–) delimiter.
command-syntax Original command syntax. Valid abbreviations of the original
command syntax can be entered for the command-syntax argument.
(parameterx) Argument or keyword that belongs to the command you specified for
the command-syntax argument. When the parameter is entered in
parenthesis after the alias name, the alias requires a parameter name.
To associate the parameter with a command within the alias, enter the
$ character preceding the parameter name.

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Cisco ASR 9000 and is the answer not in the manual?

Cisco ASR 9000 Specifications

General IconGeneral
Operating SystemCisco IOS XR
ManagementCLI, SNMP, NETCONF, RESTCONF
TypeEdge Router
Interface Support10G, 40G, 100G, 400G
Power SupplyAC and DC options available
Routing ProtocolBGP, IS-IS, OSPF, EIGRP
StorageSSD
Operating Temperature0 to 40°C (32 to 104°F)
Humidity5 to 95% (noncondensing)
RedundancyYes (Power, Fabric, Route Processor)
MTBFVaries by model (typically > 200, 000 hours)

Summary

Introduction to the Cisco ASR 9000 Series Aggregation Services Router

Initial Router Configuration

Explains the initial router configuration process upon booting.

Selecting and Identifying the Active RSP/DSC

Guides on selecting and identifying the active RSP/DSC for router operation.

Connecting to the Router via Console Port

Provides steps for connecting to the router using the console port for initial setup.

Bringing Up Cisco IOS XR Software on the Router

Bringing Up and Configuring a Standalone Router

Guides on connecting and configuring username/password for a standalone router.

Verifying System After Initial Boot

Provides procedures to verify the router's status after the initial boot.

Configuring General Router Features

Connecting and Communicating with the Router

Explains how to establish communication with the router via CLI.

Logging In to a Router or SDR

Details the process of logging into the router using username and password.

Managing Configuration Sessions

Details the two-stage process for making and committing configuration changes.

Configuring Additional Router Features

Managing Configuration History and Rollback

Explains how to manage committed configuration changes and perform rollbacks.

CLI Tips, Techniques, and Shortcuts

Displaying System Information with show Commands

Explains how to use show commands to display system status and configuration.

Troubleshooting the Cisco IOS XR Software

Basic Troubleshooting Commands

Introduces basic commands for diagnosing connectivity and router operation.

Configuration Error Messages

Explains how to display and interpret configuration error messages.

Memory Warnings in Configuration Sessions

Covers low-memory warnings and how to resolve them.

Troubleshooting Interfaces Not Coming Up

Provides steps to verify and troubleshoot interface status issues.

Related product manuals