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.

The > tells you that you are in operational mode, and the bold font shows what you<br />

type. The command is show route. The word table is an option for this command,<br />

and inet.0 is a variable (the name of a specific routing table) that is required to complete<br />

the table option. The table name is italicized because you can substitute the<br />

desired routing-table name.<br />

Here are two configuration mode commands:<br />

[edit]<br />

aviva@router1# edit system<br />

[edit system]<br />

aviva@router1# set login user aviva class operator<br />

You know you are in configuration mode because of the # after the prompt and<br />

because the CLI shows your location in the hierarchy of configuration statements by<br />

displaying the [edit] and [edit system] lines. edit and set are configuration mode<br />

commands. system, login, user, and class are configuration statements. aviva is a<br />

variable required for the user statement, and operator is an option required for the<br />

class statement. Again, what you type is shown in bold. The commands and statements,<br />

which you have to type exactly as shown, are in bold, and the variables,<br />

which you substitute with the proper values for your network, are italicized.<br />

In this book, when we show how to configure the router, we generally show just the<br />

commands that you type and the configuration hierarchy level at which you type<br />

them, as shown above. Sometimes, however, if you have to type several commands<br />

to configure a feature or if you type a command that results in a multilevel hierarchy,<br />

we’ll show you what the resulting configuration looks like. The configuration<br />

commands that we typed above result in the following configuration:<br />

[edit system]<br />

aviva@router1# show<br />

login {<br />

user aviva {<br />

class operator;<br />

}<br />

}<br />

When viewed from the top level of the statement hierarchy, it looks like this:<br />

[edit]<br />

aviva@router1# show<br />

system {<br />

login {<br />

user aviva {<br />

class operator;<br />

}<br />

}<br />

}<br />

We show this format for a couple of reasons. When you are on the router and configuring<br />

it, you might get lost or forget what you have already configured. The text in<br />

square brackets above the prompt (here, [edit]) is your road map to your location in<br />

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

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

Introduction | 11

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

Saved successfully!

Ooh no, something went wrong!