Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

Junos: How to increase the number of configuration rollbacks
https://forum.ivorde.com/junos-how-to-increase-the-number-of-configuration-rollbacks-t19201.html
Page 1 of 1

Author:  admin [ Wed Nov 05, 2014 11:00 am ]
Post subject:  Junos: How to increase the number of configuration rollbacks

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.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/