[j-nsp] Cisco ASR 9001 vs Juniper MX104
James Bensley
jwbensley at gmail.com
Wed Dec 2 04:40:14 EST 2015
On 2 December 2015 at 09:17, Mark Tinka <mark.tinka at seacom.mu> wrote:
>
>
> On 1/Dec/15 17:49, john doe wrote:
>
>>
>>
>>
>> Yeah, I was just referring to cli experience. commits, rollback, hierarchy within. Prior XR IOS was wall of text, no?
>
> Still is, but you get used to working with what you have :-).
IOS does support configuration reverting and rollbacks, not in exactly
the same way as IOS-XR/Junos but I always use it when workingon the
production network. Just enable configuration archiving:
conf t
archive
path sup-bootdisk:/config-backup-
maximum 10
write-memory
end
wr
conf term lock revert timer 20
%ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_BACKUP: Backing up current running
config to sup-bootdisk:/config-backup-Nov-25-2015-23-04-57.804-UTC-166
%ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_START_ABSTIMER: User: james.bensley:
Scheduled to rollback to config
sup-bootdisk:/config-backup-Nov-25-2015-23-04-57.804-UTC-166 in 20
minutes
! config changes goes here
end
! Check everythign is OK, then confirm the changes to cancel the rollback timer,
! If I make a big boo boo that cuts me off, the config will roll back
after 20 mins (as above)
! without me confirming it
configure confirm
! Oh no, I haven't made such a big mistake that I've been disconnected
! but actually I do need to rollback
configure replace
sup-bootdisk:/config-backup-Nov-25-2015-23-04-57.804-UTC-166 list
Nov 25 2015 23:25:17.479 UTC:
%ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_ROLLBACK_START: Start rolling to:
sup-bootdisk:/config-backup-Nov-25-2015-23-04-57.804-UTC-166
Cheers,
James.
More information about the juniper-nsp
mailing list