Reader Tip - The 'write default' command


Fri, 05/20/2011 - 15:32
May 4th, 2011

Special thanks to Alex McDonald for sharing his favorite tip:

My favorite tip is the ‘write default’ command on autonomous wireless access points, it  simplifies manual conversion of a WAP with a static ip address to a LAP  with a DHCP address.

This saved a lot of time when we were migrating a  couple of hundred access points. Originally we tried issuing the ‘write  erase’ command but then the device keeps its existing static IP address.  Since we were migrating the WAPs from a management vlan across to an  access point vlan it was necessary to lose the static ip. By using the  'write default' command it saved several steps.

Unfortunately I only  discovered it existed towards the end of the migration.

Subscribe today to the TS Newsletter:

kyle woodhouse Fri, 05/20/2011 - 15:32

Hi, I just wanted to clarify what exactly this does.  I looked through the command refrence guides for the 1130, 1240, and 1140 units but this command is not listed.  Maybe its a hidden command im not sure.

It does work on my 1242.

ap#write ?

default-config  Erase NV memory, IOS Environment Variables

And it looks like what it does is a combo of write erase and delete flash:env_vars

Basically allows you to erase both of those in one command. Just wanted to make sure i understood all of what it does.  Nice tip, thanks :)


This Document

Related Content