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.

You see that the running configuration file, juniper.conf.gz, was activated February<br />

25 at 10:45 a.m.<br />

When you use the commit at command, you must be at the [edit] hierarchy level in<br />

the configuration. The time and date that you specify are interpreted based on the<br />

router’s time clock. Use the show system uptime command to determine the current<br />

date and time as set on the router:<br />

aviva@router1> show system uptime<br />

Current time: 2005-02-25 10:59:09 PST<br />

System booted: 2005-02-25 03:07:42 PST (07:51:27 ago)<br />

Protocols started: 2005-02-25 03:10:07 PST (07:49:02 ago)<br />

Last configured: 2005-02-25 10:45:12 PST (00:13:57 ago) by aviva<br />

10:59AM PST up 7:51, 1 user, load averages: 0.01, 0.02, 0.00<br />

To determine whether and when a configuration activation has been scheduled, use<br />

the show system commit command:<br />

aviva@router1> show system commit<br />

commit requested by aviva via cli at 2005-02-26 10:00:00 PST<br />

0 2005-02-25 10:45:12 PST by aviva via cli commit at<br />

1 2005-02-25 03:10:21 PST by aviva via cli<br />

2 2005-02-25 03:01:01 PST by aviva via cli<br />

The first line shows that a configuration activation has been requested, who<br />

requested it, and when it will occur. This command also lists the history of all the<br />

commit operations that have occurred on the router and who activated them, and<br />

provides you with a history of configuration changes.<br />

Another way you know that a configuration activation has been scheduled is that<br />

you see a message when you enter configuration mode:<br />

aviva@router1> configure<br />

Entering configuration mode<br />

Users currently editing the configuration:<br />

aviva terminal p0 (pid 6231) on since 2005-02-25 11:55:07 PST, idle 00:15:54<br />

commit-at<br />

Note that when a delayed configuration activation is scheduled, you cannot commit<br />

any changes to the configuration:<br />

[edit]<br />

aviva@router1# commit<br />

error: Another commit is pending<br />

To cancel a scheduled commit, use the clear system commit command.<br />

1.16 Provisionally Activating a Configuration<br />

Problem<br />

You want to activate a new or modified router configuration but you are not sure<br />

whether the configuration will somehow disable the router.<br />

Provisionally Activating a Configuration | 39<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!