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.

Here, the first line of the error shows that one closing brace was omitted, and the<br />

second line indicates the hierarchy level:<br />

terminal:9:(0) syntax error: }<br />

[edit protocols pim]<br />

''<br />

syntax error<br />

load complete (1 errors)<br />

However, for a simple syntactical error like this, the CLI adds the remaining closing<br />

brace. You can verify this by checking the configuration:<br />

[edit]<br />

aviva@router1# show protocols<br />

pim {<br />

interface all {<br />

mode sparse;<br />

version 2;<br />

}<br />

interface fxp0.0 {<br />

disable;<br />

}<br />

} file copy /config/juniper.conf.gz server1:/homes/aviva/tmp<br />

aviva@server1's password:<br />

juniper.conf.gz 100% 2127 2.1KB/s 00:00<br />

From configuration mode, use the save command to copy the candidate configuration<br />

to your home directory on a server:<br />

[edit]<br />

aviva@router1# save server1:configuration-march02<br />

aviva@server1's password:<br />

tempfile 100% 11KB 11.2KB/s 00:00<br />

Wrote 433 lines of configuration to 'server1:configuration-march02'<br />

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