Reader Tip - The 'write default' command


May 20, 2011 3:32 PM
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:

Overall Rating: 5 (2 ratings)
Leo Laohoo Wed, 05/18/2011 - 17:11

Nice one Slim! 

KyleWoodhouse 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 :)


Login or Register to take actions

This Document

Posted May 4, 2011 at 6:04 AM
Updated May 18, 2011 at 12:25 PM
Comments:2 Overall Rating:5
Views:2694 Contributors:2

Related Content