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.

about a configuration statement, you can use the help topic command. The following<br />

example shows how to get high-level help about configuring the domain name on<br />

the router:<br />

aviva@router1> help topic system domain-name<br />

Configuring the Router's Domain Name<br />

For each router, you should configure the name of the domain in which the<br />

router is located. This is the default domain name that is appended to<br />

hostnames that are not fully qualified. To configure the domain name,<br />

include the domain-name statement at the [edit system] hierarchy level:<br />

[edit system]<br />

domain-name domain-name;<br />

Example: Configuring the Router's Domain Name<br />

Configure the router's domain name:<br />

[edit]<br />

user@host# set system domain-name company.net<br />

[edit]<br />

user@host# show<br />

system {<br />

domain-name company.net;<br />

}<br />

Use the help reference command to get help about the syntax and options of a configuration<br />

statement, similar to Unix manpages. The following shows the reference<br />

help that is displayed for the domain-name configuration statement:<br />

aviva@router1> help reference system domain-name<br />

domain-name<br />

Syntax<br />

domain-name domain-name;<br />

Hierarchy Level<br />

[edit system]<br />

Description<br />

Configure the name of the domain in which the router is located. This is<br />

the default domain name that is appended to hostnames that are not fully<br />

qualified.<br />

Options<br />

domain-name--Name of the domain.<br />

Usage Guidelines<br />

See "Configuring the Router's Domain Name".<br />

Required Privilege Level<br />

system--To view this statement in the configuration.<br />

system-control--To add this statement to the configuration.<br />

How We Show Commands and Configurations in This Book<br />

In the explanation of the JUNOS CLI so far, we have described the different types of<br />

commands and illustrated what they look like when you type them on the router.<br />

Because it can be a bit confusing for newcomers, this section summarizes how we<br />

show the commands in this book.<br />

Here is an operational mode command:<br />

aviva@router1> show route table inet.0<br />

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