Chapter 5 CLI Tips, Techniques, and Shortcuts

CLI Tips and Shortcuts

F I N A L D R A F T — C i s c o C o n f i d e n t i a l

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

Use the question mark (?) to learn what commands are available and the correct syntax for a command. Table 5-1summarizes the options for on-screen help.

Tip The space (or no space) before the question mark (?) is significant. If you include a space before the question mark, the system displays all available options for a command or CLI mode. If you do not include a space, the system displays a list of commands that begin with a particular character string.

Table 5-1 On-Screen Help Commands

 

Command

Description

 

 

 

 

 

 

 

 

partial-command?

Type a question mark (?) at the end of a partial command to list the commands that begin with those

 

 

 

 

characters.

 

 

 

 

 

 

 

RP/0/RSP0/CPU0:router# co?

 

 

 

 

configure copy

 

 

 

 

Note Do not include a space between the command and question mark.

 

 

 

 

 

?

 

 

Lists all commands available for a particular command mode.

 

 

 

 

 

command ?

Include a space before the question mark (?) to list the keywords and arguments that belong to a

 

 

 

 

command.

 

 

 

 

 

 

 

RP/0/RSP0/CPU0:router# configure ?

 

 

 

 

exclusive

Configure exclusively from this terminal

 

 

 

 

terminal

Configure from the terminal

 

 

 

 

<cr>

 

 

 

 

 

 

 

Note For most commands, the <cr> symbol indicates that you can execute the command with the

 

 

 

 

syntax already entered. For the preceding example, press Enter to enter global configuration

 

 

 

 

mode.

 

 

 

 

 

 

 

 

command keyword ?

Type a question mark (?) after the keyword to list the next available syntax option for the command.

 

 

 

 

RP/0/RSP0/CPU0:router# show aaa ?

 

 

 

 

taskgroup

Show all the local taskgroups configured in the system

 

 

 

 

userdb

Show all local users with the usergroups each belong to

 

 

 

 

usergroup

Show all the local usergroups configured in the system

 

 

 

 

Note Include a space between the keyword and question mark.

 

 

 

 

 

 

 

 

 

 

The following example shows how to add an entry to access list 99. The added entry denies access to all

 

 

 

 

hosts on subnet 172.0.0.0 and ignores bits for IPv4 addresses that start within the range of 0 to 255. The

 

 

 

 

following steps provide an example of on-screen command help:

 

 

 

 

 

 

 

 

 

Step 1

Type the access-listcommand, followed by a space and a question mark, to list the available options for

 

 

 

 

the command:

 

 

 

 

 

 

 

RP/0/RSP0/CPU0:router(config)# ipv4 access-list ?

 

 

 

 

log-update

Control access lists log updates

 

 

 

 

maximum

Out of resources configration

 

 

 

 

WORD

Access list name - maximum 32 characters

 

 

 

Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide

 

 

 

 

 

 

 

 

 

 

 

 

5-2

 

 

 

OL-17502-01

 

 

 

 

 

 

Page 104
Image 104
Cisco Systems A9KMOD80TR, ASR 9000, A9K24X10GETR manual Using the Question Mark ? to Display On-Screen Command Help

A9KMOD80TR, A9K24X10GETR, ASR 9000 specifications

Cisco Systems has long been a leader in networking technology, providing cutting-edge solutions for service providers and enterprise organizations alike. Among their standout products is the Cisco ASR 9000 Series Aggregation Services Routers, notably the A9K24X10GETR and the A9KMOD80TR models. These routers are engineered to deliver unmatched performance, scalability, and versatility for networks that require high bandwidth and low latency.

The Cisco ASR 9000 Series is built for the needs of today's complex service provider and enterprise networks. A significant feature of the A9K24X10GETR is its 24-port 10-Gigabit Ethernet module. This functionality allows for high-density connectivity, making it ideal for aggregating numerous connections to different parts of a network while maintaining optimal performance. Whether used for Internet service providers delivering high-speed connectivity or for enterprises looking to connect multiple branches, the A9K24X10GETR provides robust and reliable data transmission.

Further enhancing the capabilities of the ASR 9000 is the A9KMOD80TR module, which supports an extensive range of services. This module is designed to run a variety of technologies, including Layer 2 and Layer 3 services, MPLS (Multiprotocol Label Switching), and IPv6. Its ability to integrate seamlessly into existing infrastructures while providing the advanced features customers demand makes it an invaluable asset for network engineering teams.

Another cutting-edge technology present in the ASR 9000 Series is its support for eBGP (External Border Gateway Protocol), which plays a critical role in managing traffic across multiple networks. The routers are equipped with advanced telemetry features, empowering operators with real-time insights into network performance and health. Additionally, they come with integrated security features that protect against DDoS threats and other vulnerabilities.

In summary, Cisco's ASR 9000 Series, particularly the A9K24X10GETR and A9KMOD80TR, combines high-density connections, extensive service support, and advanced security and telemetry capabilities. These routers are perfect for demanding environments where reliable performance and adaptability are crucial. With their focus on innovation and performance, Cisco continues to shape the future of networking technology.