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.

Each listed completion is the configuration statement at the top of a particular configuration<br />

hierarchy. For example, the statement protocols is at the top of the hierarchy<br />

in which you configure all JUNOS routing protocols:<br />

[edit]<br />

aviva@router1# edit protocols ?<br />

Possible completions:<br />

<br />

Execute this command<br />

> bfd Bidirectional Forwarding Detection (BFD) options<br />

> bgp BGP options<br />

> connections Circuit cross-connect configuration<br />

> dvmrp DVMRP options<br />

> igmp IGMP options<br />

> isis IS-IS options<br />

> l2circuit Configuration for Layer 2 circuits over MPLS<br />

> ldp LDP options<br />

> link-management LMP options<br />

> mld MLD options<br />

> mpls Multiprotocol Label Switching options<br />

> msdp MSDP configuration<br />

> ospf OSPF configuration<br />

> ospf3 OSPFv3 configuration<br />

> pgm PGM options<br />

> pim PIM configuration<br />

> rip RIP options<br />

> ripng RIPng options<br />

> router-advertisement IPv6 router advertisement options<br />

> router-discovery ICMP router discovery options<br />

> rsvp RSVP options<br />

> sap Session Advertisement Protocol options<br />

> vrrp VRRP options<br />

| Pipe through a command<br />

If you move down through the hierarchy—for example, into the protocols portion—<br />

the prompt changes to [edit protocols] to show you where you are:<br />

[edit]<br />

aviva@router1# edit protocols<br />

[edit protocols]<br />

aviva@router1#<br />

Learning About the CLI While on the Router<br />

In some of the command lines in the previous section, we showed how to use the ?<br />

to get context-sensitive help about the CLI and the software. This feature is part of<br />

the CLI’s built-in help, and you will find yourself using it regularly. When you type a<br />

? at a prompt, the CLI shows a list of commands or statements you can use, along<br />

with a short description of the command or statement. If you partially type a command<br />

or configuration statement name and then type a ?, you see a subset of the<br />

available commands or statements.<br />

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

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

Introduction | 7

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

Saved successfully!

Ooh no, something went wrong!