clear command

This command restores the primary management module configuration or an I/O (switch) module configuration to the default settings.

The clear command must always include the -config option.

Table 1. clear command
Function What it does Command Valid targets
Restore default configuration of primary management module Restores the default configuration of the primary management module; then, resets the management module.

No results are returned from this command because it resets the management module.

When you restore the management-module configuration, the Ethernet configuration method is set to a value of dthens. After the management module resets, this causes the management module to try dhcp configuration and then default to the static IP configuration, which might cause the management module to remain offline for longer than normal. See ifconfig command for information.

clear -config

Command use restricted (see Commands and user authority).

                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Restore default configuration of I/O module Restores the configuration of the specified I/O module to the default settings. clear -config

Command use restricted (see Commands and user authority).

                           -T system:switch[x]
                        

where x is the I/O-module bay number.

Example: To restore the primary management-module configuration to default settings, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  clear -config
               

No results are returned from this command. After the management module resets, you will need to start a new command-line session.