System Management
7450 ESS OS Basic System Configuration Guide Page 415
Rollback Commands
compare
Syntax compare [to source2]
compare source1 to source2
Context admin
admin>rollback
Description This command displays the differences between rollback checkpoints and the active operational
configuration, with source1 as the base/first file to which source2 is compared.
Parameters source1, source2 — Specifies comparison information.
Values active-cfg — The currently operational configuration that is active in the node.
latest-rb — The most recent rollback checkpoint (the checkpoint file at the configured
rollback-location with “*.rb” as the suffix).
rescue— The rescue configuration (at the configured rescue-location).
checkpoint-id — An id from [1 ..max] indicating a specific rollback checkpoint (where
max is the highest checkpoint allowed/configured). A checkpoint-id of 1 indicates the
rollback checkpoint file (at the configured rollback-location) with “*.rb.1” as the suffix, 2
for file “*.rb.2”, etc.
Default The defaults for source1 and source2 are context aware and differ based on the branch in which the com-
mand is executed. In general, the default for source1 matches the context from which the command is
issued.
• In the admin node: No defaults. source1 and source2 must be specified.
• In the admin>rollback node:
source1 default = active-cfg, source2 default = lastest-rb
compare: Equivalent to “compare active-cfg to lastest-rb”
compare to source2:Equivalent to “compare active-cfg to source2”
delete
Syntax delete {latest-rb| checkpoint-id | rescue}
Context admin>rollback
Description This command deletes a rollback checkpoint and causes the suffixes to be adjusted (decremented) for all
checkpoints older that the one that was deleted (to close the “hole” in the list of checkpoint files and create
room to create another checkpoint).