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

FAQ
It is currently Sat Aug 19, 2017 2:42 am


Author Message
mandrei99
Post  Post subject: Juniper SRX / Junos rescue configuration is not set  |  Posted: Mon Feb 16, 2015 11:42 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 245

Offline
 

Juniper SRX / Junos rescue configuration is not set

Juniper devices configuration is saved in files named "juniper.conf.gz" and historical configuratio is saved as "juniper.conf.X.gz" where X is the number of backup configurations saved (max-configuration-rollbacks). Another important configuration role is the rescue configuration which is contained in /config/rescue.conf.gz.

The SRX devices also have a feature called "Reset configuration" which is triggred by the "Reset config" button on front panel. If pressed and released, this button loads the a rescue configuration, a configuration snapshot chosen by the administrator at a specific point in time and is a way of remotely restore a configuration if remote access has been terminated by a configuration or protocol change. The only requirement is physical access to the box to remote personel (trained or untrained).

Saving rescue configuration in Junos


The "request" Junos operational command is used to operate on the rescue configuration:
Code:
admin@R1> request system configuration rescue save

admin@R1>



Load Junos rescue configuration


This requires configuration mode.
Code:

[edit]
admin@R1# rollback ?     
Possible completions:
  <[Enter]>            Execute this command
  0                    2015-02-09 14:50:36 UTC by admin via cli
  1                    2015-02-09 14:49:18 UTC by admin via cli
  2                    2015-02-09 14:48:47 UTC by admin via cli
  3                    2015-01-26 16:35:34 UTC by admin via cli
  4                    2015-01-26 16:12:27 UTC by admin via cli
  5                    2015-01-26 15:56:46 UTC by admin via cli
  6                    2015-01-26 15:55:43 UTC by admin via cli
  7                    2015-01-26 15:53:06 UTC by admin via cli
  8                    2015-01-26 15:44:11 UTC by admin via cli
  9                    2015-01-26 15:42:44 UTC by admin via cli
  10                   2014-12-01 21:42:47 UTC by admin via cli
  11                   2014-12-01 21:40:27 UTC by admin via cli
  12                   2014-12-01 20:48:00 UTC by admin via cli
  13                   2014-12-01 20:34:32 UTC by admin via cli
  14                   2014-12-01 20:26:46 UTC by admin via cli
  15                   2014-12-01 20:26:09 UTC by admin via cli
  16                   2014-12-01 20:22:16 UTC by admin via cli
  17                   2014-12-01 20:18:27 UTC by admin via cli
  18                   2014-11-27 15:07:14 UTC by admin via cli
  19                   2014-11-24 20:18:09 UTC by admin via cli
  20                   2014-11-18 12:27:55 UTC by root via other
  21                   2014-11-18 12:26:05 UTC by admin via cli commit confirmed, rollback in 1mins
  22                   2014-11-18 12:19:52 UTC by admin via cli
  23                   2014-11-18 12:18:14 UTC by admin via cli
  24                   2014-11-13 16:20:32 UTC by admin via cli
  25                   2014-11-13 16:09:52 UTC by admin via cli
  26                   2014-11-13 16:07:16 UTC by admin via cli
  27                   2014-11-13 16:05:35 UTC by admin via cli
  28                   2014-11-13 15:43:48 UTC by admin via cli
  29                   2014-11-13 15:36:42 UTC by admin via cli
  30                   2014-11-13 14:51:50 UTC by admin via cli
  31                   2014-11-13 14:43:35 UTC by admin via cli
  32                   2014-11-13 12:20:19 UTC by admin via cli
  33                   2014-11-13 12:18:13 UTC by admin via cli
  34                   2014-11-13 12:15:44 UTC by admin via cli
  35                   2014-11-13 12:15:10 UTC by admin via cli
  36                   2014-11-12 22:58:20 UTC by admin via cli
  37                   2014-11-12 22:56:18 UTC by admin via cli
  38                   2014-11-12 15:00:57 UTC by admin via cli
  39                   2014-11-12 14:56:23 UTC by admin via cli
  40                   2014-11-12 13:59:36 UTC by admin via cli
  41                   2014-11-12 13:38:49 UTC by admin via cli
  42                   2014-11-12 13:34:09 UTC by admin via cli
  43                   2014-11-12 13:24:48 UTC by admin via cli
  44                   2014-11-11 20:15:23 UTC by admin via cli
  45                   2014-11-06 23:58:09 UTC by admin via cli
  46                   2014-11-06 23:46:48 UTC by admin via cli
  47                   2014-11-06 23:46:10 UTC by admin via cli
  48                   2014-11-06 23:45:44 UTC by admin via cli
  49                   2014-11-06 23:41:46 UTC by admin via cli
  rescue               2015-02-16 15:37:37 UTC by admin via cli
  |                    Pipe through a command
[edit]
admin@R1# rollback rescue
load complete

[edit]
admin@R1# commit


Another method of loading the rescue configuration in Junos is pressing shortly the "Reset Config" button in front panel.!!!!! Pressing and holding the "Reset config" button for more than 15 seconds will delete all configuration on the device (backup and rescue configuration) and it will load factory defaults. !!!!!

View the rescue configuration in Junos


Code:
admin@R1> show system configuration rescue   
## Last changed: 2015-02-09 14:50:31 UTC
version 12.1X44-D40.2;
groups {
...





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "Juniper SRX / Junos rescue configuration is not set"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Junos: How to disconnect idle ssh connections in configuration mode - Juniper SRX

mandrei99

0

18645

Tue May 14, 2013 5:40 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to search junos configuration option within cli help apropos

mandrei99

0

833

Mon Jan 12, 2015 12:34 pm

mandrei99 View the latest post

There are no new unread posts for this topic. Junos system configuration archival is not working over scp

mandrei99

0

2938

Thu Jan 01, 2015 4:06 am

mandrei99 View the latest post

There are no new unread posts for this topic. Junos: How to increase the number of configuration rollbacks

admin

0

1432

Wed Nov 05, 2014 11:00 am

admin View the latest post

There are no new unread posts for this topic. Juniper - Junos 11.4R8 based Olive

mandrei99

1

2677

Tue Jun 18, 2013 5:36 am

mandrei99 View the latest post

There are no new unread posts for this topic. MTR / My traceroute in Junos

mandrei99

1

3259

Mon Oct 10, 2016 5:54 am

barrel View the latest post

There are no new unread posts for this topic. Junos: How to show uncommitted changes and cancel them

mandrei99

1

17542

Wed Sep 25, 2013 7:31 am

mandrei99 View the latest post

There are no new unread posts for this topic. Junos: How to list routing table IDs

admin

0

1047

Sat Jan 17, 2015 3:53 pm

admin View the latest post

There are no new unread posts for this topic. Junos - How to limit arguments to ping CLI command

mandrei99

1

866

Thu Jun 27, 2013 4:04 am

admin View the latest post

There are no new unread posts for this topic. Junos: ping: invalid routing instance `RI0'

mandrei99

0

1780

Fri Jan 03, 2014 10:11 am

mandrei99 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
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