28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

You can use a number of operational mode commands, grouped together into<br />

related commands, to monitor your router and network. On the router, you can find<br />

out what the commands are by typing a question mark (?) to activate the online help.<br />

If you type a ? at the top level of operational mode, you see the broad types of commands<br />

you can use to monitor the router and perform operations not related to configuring<br />

the router:<br />

aviva@router1> ?<br />

Possible completions:<br />

clear<br />

configure<br />

file<br />

help<br />

monitor<br />

mtrace<br />

ping<br />

quit<br />

request<br />

restart<br />

set<br />

show<br />

ssh<br />

start<br />

telnet<br />

test<br />

traceroute<br />

Clear information in the system<br />

Manipulate software configuration information<br />

Perform file operations<br />

Provide help information<br />

Show real-time debugging information<br />

Trace multicast path from source to receiver<br />

Ping remote target<br />

Exit the management session<br />

Make system-level requests<br />

Restart software process<br />

Set CLI properties, date/time, craft interface message<br />

Show system information<br />

Start secure shell on another host<br />

Start shell<br />

Telnet to another host<br />

Perform diagnostic debugging<br />

Trace route to remote host<br />

For example, you use the various show commands to display information about the<br />

router, router interfaces, and protocol software, and you use the various request<br />

commands to perform operations on the router, such as rebooting and downloading<br />

and installing software upgrades.<br />

Two commands in operational mode are not designed to monitor the router or the<br />

network:<br />

quit<br />

Use to log out of the CLI and the router<br />

configure<br />

Use to enter configuration mode so you can configure the router<br />

When you enter configuration mode, the prompt changes from username@routername><br />

to username@router-name#, and a line before the prompt, [edit], indicates that<br />

you are in configuration mode. Specifically, [edit] indicates that you are at the top<br />

of the configuration hierarchy, which is similar to being at the top of a Unix filesystem<br />

(/). A synonym for the configure command is edit. (edit is a hidden command,<br />

so you won’t see it in the list of possible completions.)<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.<br />

Introduction | 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!