Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Tue Dec 07, 2021 5:02 am


Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
 
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
     

Topic review - Junos: How to increase the number of configuration rollbacks
Author Message
Post subject: Junos: How to increase the number of configuration rollbacks  |  Post Posted: Wed Nov 05, 2014 11:00 am
http://forums.juniper.net/t5/SRX-Servic ... 396#M19772

Junos max-configurations-on-flash and max-configuration-rollbacks

Code:
[edit]
root@junos# run show system commit
0   2014-11-05 12:49:07 UTC by root via cli
1   2014-11-04 10:56:06 UTC by root via cli
2   2014-11-04 10:50:21 UTC by root via cli
3   2014-11-04 09:13:07 UTC by root via cli
4   2014-11-03 11:45:16 UTC by root via cli
5   2014-11-03 11:44:09 UTC by root via cli
rescue  2014-07-17 07:51:04 UTC by root via cli

[edit]
root@junos# set system max-configurations-on-flash 49

[edit]
root@junos# set system max-configuration-rollbacks 49

[edit]
root@junos# commit
run sh sys comm
commit complete


[edit]
root@junos# commit
commit complete

[edit]
root@junos# run show system commit
0   2014-11-05 12:51:33 UTC by root via cli
1   2014-11-05 12:51:16 UTC by root via cli
2   2014-11-05 12:49:07 UTC by root via cli
3   2014-11-04 10:56:06 UTC by root via cli
4   2014-11-04 10:50:21 UTC by root via cli
5   2014-11-04 09:13:07 UTC by root via cli
6   2014-11-03 11:45:16 UTC by root via cli
rescue  2014-07-17 07:51:04 UTC by root via cli


http://forums.juniper.net/t5/SRX-Services-Gateway/max-configurations-on-flash-vs-max-configuration-rollbacks/m-p/153396#M19772
http://www.juniper.net/techpubs/en_US/junos12.1/topics/example/uac-junos-enforcer-device-using-ipsec-configuring-cli.html
Quote:
Note: On SRX Series devices, the factory default for the maximum number of backup configurations allowed is five. Therefore, you can have one active configuration and a maximum of five rollback configurations. Increasing this backup configuration number will result in increased memory usage on disk and increased commit time.

To modify the factory defaults, use the following commands:
root@host# set system max-configurations-on-flash number
root@host# set system max-configuration-rollbacks number

where max-configurations-on-flash indicates backup configurations to be stored in the configuration partition and max-configuration-rollbacks indicates the maximum number of backup configurations.
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO