29. NVRAM Configuration HistoryMN700004 Rev 01 334Description of Commandsrecord configuration-history nvramThe record configuration-history nvram command, in Global Configuration mode, enablesrecording the configuration commands into the NVRAM. The no form of this commanddisables the recording, but does not clear it.If you enable configuration-history recording, you must exit configuration mode for thecommand to take effect. Actual recording of configuration commands (not show commands)starts the next time you re-enter global Configuration mode and continues as long as thatmode or any mode under it is active. In subsequent configuration sessions, as long asconfiguration-history recording is enabled, configuration commands accumulate in NVRAMby session.If you disable configuration-history recording, recording stops immediately (you need not exitconfiguration mode for the command to take effect).Command Syntaxdevice-name(config)#record configuration-history nvramdevice-name(config)#no record configuration-history nvramclear configuration-history nvramThe clear configuration-history nvram command, in Global Configuration mode, removesall the recorded configuration commands from NVRAM.Command Syntaxdevice-name(config)#clear configuration-history nvramDisplaying the Configuration HistoryTable 29-2 summarizes the commands that display configuration-history information.Table 29-2 Commands for Viewing Configuration-History InformationC o m m a n d D e s c r i p t i o nshow configuration-history Displays all configuration commands stored in the NVRAMduring the specified session.show configuration-history all Displays all configuration commands stored in the NVRAMduring all recorded sessions.show configuration-history size Displays the number of sessions currently stored in theNVRAM.show configuration-history status Displays the current recording state of configuration history(enabled or disabled).