Viewing the Configuration Lock StatusIf you attempt to enter CONFIGURATION mode when another user has locked it, you may view whichuser has control of CONFIGURATION mode using the show configuration lock command fromEXEC Privilege mode.You can then send any user a message using the send command from EXEC Privilege mode.Alternatively, you can clear any line using the clear command from EXEC Privilege mode. If you clear aconsole session, the user is returned to EXEC mode.Example of Locking CONFIGURATION Mode for Single-User AccessDell(conf)#configuration mode exclusive autoBATMAN(conf)#exit3d23h35m: %RPM0-P:CP %SYS-5-CONFIG_I: Configured from console by consoleDell#config! Locks configuration mode exclusively.Dell(conf)#If another user attempts to enter CONFIGURATION mode while a lock is in place, the following appearson their terminal (message 1): % Error: User "" on line console0 is in exclusiveconfiguration mode.If any user is already in CONFIGURATION mode when while a lock is in place, the following appears ontheir terminal (message 2): % Error: Can't lock configuration mode exclusively sincethe following users are currently configuring the system: User "admin" on linevty1 ( 10.1.1.1 ).NOTE: The CONFIGURATION mode lock corresponds to a VTY session, not a user. Therefore, if youconfigure a lock and then exit CONFIGURATION mode, and another user enters CONFIGURATIONmode, when you attempt to re-enter CONFIGURATION mode, you are denied access even thoughyou are the one that configured the lock.NOTE: If your session times out and you return to EXEC mode, the CONFIGURATION mode lock isunconfigured.Restoring the Factory Default SettingsRestoring the factory-default settings deletes the existing NVRAM settings, startup configuration, and allconfigured settings such as, stacking or fanout.To restore the factory default settings, use the restore factory-defaults stack-unit {stack—unit—number | all} {clear-all | nvram | bootvar} command in EXEC Privilege mode.CAUTION: There is no undo for this command.Important Points to Remember• When you restore all the units in a stack, these units are placed in standalone mode.• When you restore a single unit in a stack, only that unit is placed in standalone mode. No other unitsin the stack are affected.Management 79