To return to the most recently committed configuration and load it into configuration mode without activating it, use the
rollback
configuration mode command: [edit]
user@host#rollback
load complete
[edit]
user@host# rollback
load complete
[edit]
user@host# commit
To return to a configuration prior to the most recently committed one, include the number in the
rollback
command: [edit]
user@host#rollback
number
load complete
number
can be a number in the range 0 through 9. The most recently saved configuration is number 0 (which is the default configuration to which the system returns), and the oldest saved configuration is number 9. To display previous configurations, including rollback number, date, time, the name of the user who committed changes, and the method of commit, use the
rollback ?
command.[edit]
user@host# rollback ?
Possible completions:
<[Enter]> Execute this command
Numeric argument
0 2001-02-27 12:52:10 PST by abc via cli
1 2001-02-26 14:47:42 PST by cde via cli
2 2001-02-14 21:55:45 PST by fgh via cli
3 2001-02-10 16:11:30 PST by hij via cli
4 2001-02-10 16:02:35 PST by klm via cli
| Pipe through a command
[edit]
The access privilege level for using the
rollback
command is controlled by the rollback
permission bit. Users for whom this permission bit is not set can return only to the most recently committed configuration. Users for whom this bit is set can return to any prior committed configuration. For more information, see Example: Return to a Previously Committed Version of the Configuration
[edit]
user@host# rollback 3
load complete
[edit]
user@host# commit
No comments:
Post a Comment