Configuration Management Commands on Cisco IOS XR Software
Examples
The following is sample output from the show configuration rollback changes command with the to
keyword and the commit-id argument. The output displays the configuration changes that would occur
if the configuration were to be rolled back to the configuration commit specified for the commit-id
argument.
RP/0/RP0/CPU0:router# show configuration rollback changes to 1000000007
Building configuration...
hostname old-name
end
The following is sample output from the show configuration rollback changes command with last
keyword and number-of-commits argument. The output displays the configuration changes that would
occur if the configuration were to be rolled back to the number of configuration commits specified for
the number-of-commits argument.
RP/0/RP0/CPU0:router# show configuration rollback changes last 2
Building configuration...
hostname orig_name
interface POS0/1/0/1
shutdown
!
end
The following is sample output from the show configuration rollback changes command with the diff
keyword.
In the display, the following symbols signify changes:
+ indicates an added line.
- indicates a deleted line.
# indicates a modified line.
router# show configuration rollback changes last 1 diff
Building configuration...
interface Loopback1000
#
ipv4 address 1.1.1.1 255.255.255.255
!
end
Related Commands
Command
rollback configuration
OL-17231-01
Description
Rolls back the configuration to a previous commit.
Cisco ASR 14000 Series Router System Management Command Reference
show configuration rollback changes
SMR-201