Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

Reader Tip - The 'write default' command

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:

https://tools.cisco.com/gdrp/coiga/showsurvey.do?surveyCode=474&keyCode=123668_1

Version history
Revision #:
1 of 1
Last update:
‎05-04-2011 06:04 AM
Updated by:
 
Labels (1)
Everyone's tags (2)
Comments
Hall of Fame Super Gold

Nice one Slim! 

New Member

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