erase

Erases a device‘s (wireless controller, Access Point, and service platform) file system. Erases the content of the specified storage device. Also erases the startup configuration to restore the device to its default.

Supported in the following platforms:

  • Access Points — AP505i, AP510i/e, AP560i/h
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000

Syntax

erase [flash:|nvram:|startup-config|usb1:|usb2:|usb3:|usb4:]
erase [flash:|nvram:|usb1:|usb2:|usb3:|usb4:]
erase startup-config {<HOSTNAME/MAC>|on <DOMAIN-NAME> {containing <SUB-STRING>|exclude-controllers|exclude-rf-domain-manager|filter <DEVICE-TYPE>}}

Parameters

erase [flash:|nvram:|usb1:|usb2:|usb3:|usb4:]

flash:

Erases everything in the device's flash: file

nvram:

Erases everything in the device's nvram: file

startup-config

Erases the device's startup configuration file. The startup configuration file is used to configure the device when it reboots.

usb1:

Erases everything in the device's usb1: file

usb2:

Erases everything in the device's usb2: file

usb3:

Erases everything in the device's usb3: file

usb4:

Erases everything in the device's usb4: file

erase startup-config {<HOSTNAME/MAC>|on <DOMAIN-NAME> {containing <SUB-STRING>|
exclude-controllers|exclude-rf-domain-manager|filter <DEVICE-TYPE>}}
startup-config: Erases the startup configuration file on a specified device or devices in a specified RF Domain. The specified device(s) are reloaded after the startup configuration file is erased. Use the <HOSTNAME/MAC> or on <DOMAIN-NAME> options to identify the device or RF Domain respectively. Once executed, the configuration file, for the targeted device or for all device(s) in the targeted RF Domain, is also erased from the adopting controller‘s configuration file. They are automatically reloaded once the startup configuration file has been erased.
<HOSTNAME/MAC> Optional. Erases the startup configuration file on the device identified by the <HOSTNAME/MAC> keyword. Specify the device‘s hostname or MAC address.
on <DOMAIN-NAME> {containing <SUB-STRING>| exclude-controllers| exclude-rf-domain-manager| filter <DEVICE-TYPE>} Optional. Erases the startup configuration file on all devices or specified device(s) in a specified RF Domain
  • <DOMAIN-NAME> – Specify the RF Domain name. After specifying the RF Domain, optionally use the filters provided to identify specific device(s) within the RF Domain. If none of the filters are used, the command is executed on all devices within the RF Domain. These filters are:
    • containing <SUB-STRING> – Optional. Executes the command on all devices containing a specified sub-string in their hostname
      • <SUB-STRING> – Specify the sub-string to match. The startup configuration file is erased on all devices whose hostname contains the sub-string specified here.
    • exclude-controllers – Optional. Executes the command on all devices excluding controllers. The startup configuration file is erased on all devices except controllers.
    • exclude-rf-domain-manager – Optional. Executes the command on all devices excluding RF Domain managers. The startup configuration file is erased on all devices except RF Domain managers.
    • filter <DEVICE-TYPE> – Optional. Executes the command on all devices of a specified type.
      • <DEVICE-TYPE> – Specify the device type. The options are: AP 6522, AP 6562, AP 7161, AP 7502, AP-7522, AP 7532, AP 7562, AP 7602, AP-7612, AP 7622, AP7632, AP7662, AP-8163, AP-8432, AP-8533, RFS 4000, NX 5500, NX 7500, NX 95XX, NX 96XX, and VX. The startup configuration file is erased on all devices of the type specified here. For example, if AP7602 is the device-type specified, the startup configuration file on all AP7602, within the RF Domain, is erased.

Examples

nx9500-6C8809#erase ?
  cf:             Erase everything in cf:
  flash:          Erase everything in flash:
  nvram:          Erase everything in nvram:
  startup-config  Reset configuration to factory default
  usb1:           Erase everything in usb1:
  usb2:           Erase everything in usb2:
nx9500-6C8809#