rollback
Syntax
rollback<number>Description
Return to a previously committed configuration. The software saves the last 50 committed configurations, including the rollback number, date, time, and name of the user who issued the
commitconfiguration command.The currently operational JUNOS software configuration is stored in the file
juniper.conf, and the last three committed configurations are stored in the filesjuniper.conf.1,juniper.conf.2, andjuniper.conf.3. These four files are located in the directory/config, which is on the router's flash drive. The remaining 46 previous committed configurations, the filesjuniper.conf.4throughjuniper.conf.49, are stored in the directory/var/db/config, which is on the router's hard disk.Options
none—Return to the most recently saved configuration.
number—Configuration to return to.
Range: 0 through 49. The most recently saved configuration is number 0, and the oldest saved configuration is number 49.
Default: 0rescue—Return to the rescue configuration.
Usage Guidelines
See Returning to a Previously Committed Configuration and Creating and Returning to a Rescue Configuration
Required Privilege Level
rollback—To roll back to configurations other than the one most recently committed.