28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuration mode has two basic components:<br />

commands<br />

Use to perform actions within the router’s configuration<br />

statements<br />

The actual keywords that define the configuration<br />

To create or modify the router’s configuration, use the commands that are available<br />

in configuration mode to add statements to the configuration that define the behavior<br />

of the router. If you type a ? at the top level of configuration mode, you see the<br />

broad types of commands you can use while configuring the router:<br />

[edit]<br />

aviva@router1# ?<br />

Possible completions:<br />

<br />

activate<br />

annotate<br />

commit<br />

copy<br />

deactivate<br />

delete<br />

edit<br />

exit<br />

help<br />

insert<br />

load<br />

quit<br />

rename<br />

rollback<br />

run<br />

save<br />

set<br />

show<br />

status<br />

top<br />

up<br />

wildcard<br />

Execute this command<br />

Remove the inactive tag from a statement<br />

Annotate the statement with a comment<br />

Commit current set of changes<br />

Copy a statement<br />

Add the inactive tag to a statement<br />

Delete a data element<br />

Edit a sub-element<br />

Exit from this level<br />

Provide help information<br />

Insert a new ordered data element<br />

Load configuration from ASCII file<br />

Quit from this level<br />

Rename a statement<br />

Roll back to previous committed configuration<br />

Run an operational-mode command<br />

Save configuration to ASCII file<br />

Set a parameter<br />

Show a parameter<br />

Show users currently editing configuration<br />

Exit to top level of configuration<br />

Exit one level of configuration<br />

Wildcard operations<br />

When creating or modifying a configuration, you primarily use the edit and set<br />

commands to control which configuration statement to include. Use the edit command<br />

to move to the portion of the configuration you want to modify (this is similar<br />

to using the Unix cd command to move to a different directory) and use the set command<br />

to configure a specific item. The up command moves up one hierarchy level,<br />

and the top command returns to the top of the hierarchy, [edit] (this command is<br />

similar to the Unix cd / command). At the top level, use the exit or quit command<br />

to return to operational mode.<br />

4 | Chapter 1: Router Configuration and File Management<br />

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

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

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

Saved successfully!

Ooh no, something went wrong!