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.

0.0.0.0/0 *[Static/5] 07:36:18<br />

Discard<br />

...<br />

aviva@router> show route in prompt indicates operational mode<br />

inet.0: 20 destinations, 20 routes (19 active, 0 holddown, 1 hidden)<br />

+ = Active Route, - = Last Active, * = Both<br />

0.0.0.0/0 *[Static/5] 07:36:18<br />

Discard<br />

...<br />

What does it mean to move to a portion of the configuration? You can think of the<br />

JUNOS configuration as a hierarchy of configuration statements and containers,<br />

delimited by braces ({ }) that define the scope in which those statements apply. This<br />

hierarchy provides a way to organize the large number of features and functions that<br />

you can configure on the router, grouping related functions together so that you can<br />

locate them when configuring the router and when reviewing the configuration.<br />

When you first enter configuration mode, you are at the top of the hierarchy. You<br />

see your location in the hierarchy in the line that precedes the configuration mode<br />

prompt. The line [edit] indicates that you are at the top of the hierarchy. The edit<br />

command allows you to move within the configuration hierarchy so that all configuration<br />

commands take place within the current container. As you move through the hierarchy,<br />

the text in square brackets changes to indicate your location in the hierarchy.<br />

The configuration statements that you use to set the router’s behavior are also<br />

arranged in a hierarchical fashion. If you type edit ? at the top level of the configuration<br />

hierarchy, you see the broad functional JUNOS software areas that you can control<br />

through the configuration:<br />

[edit]<br />

aviva@router1# edit ?<br />

Possible completions:<br />

> access Network access configuration<br />

> accounting-options Accounting data configuration<br />

> applications Define applications by protocol characteristics<br />

> chassis Chassis configuration<br />

> class-of-service Class-of-service configuration<br />

> firewall Define a firewall configuration<br />

> forwarding-options Configure options to control packet sampling<br />

> groups Configuration groups<br />

> interfaces Interface configuration<br />

> logical-routers Logical routers<br />

> policy-options Routing policy option configuration<br />

> protocols Routing protocol configuration<br />

> routing-instances Routing instance configuration<br />

> routing-options Protocol-independent routing option configuration<br />

> security Security configuration<br />

> services Service PIC applications settings<br />

> snmp Simple Network Management Protocol configuration<br />

> system System parameters<br />

6 | 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!