From: Aaron Leonard on
on an aIOS AP, flash:env_vars (i.e. the bootloader variables)
and nvram:startup-config are pretty much the whole of the
config. Don't know why your IP address came back.

The most elegant way of cleaning out the static IP address
info from env_vars is:

ap#write default-config

This restores not only the startup-config but also
env_vars to the defaults.

Hth,

Aaron

----

>On Jul 8, 3:42�pm, Uli Link <VonRechts.NachLi...(a)usenet.arcornews.de>
>wrote:
>> bobneworle...(a)yahoo.com schrieb:
>>
>> > I'm working with a 1231 AP. �I had addressed the BVI1 interface
as
>> > 10.1.105.100 as a temporary work-around while DHCP was down. �Now
>> > after rebooting the AP, DHCP gives it a valid lease but the AP
>> > releases it around 15 seconds later and it goes back to
10.1.105.100.
>> > Since I see it in env_vars, I figured I'd delete this file but
even
>> > after doing so, erasing the startup file and reloading, the value
of
>> > this variable was restored in the new Env_vars file. �Can you
tell me
>> > where this info is stored?
>>
>> A safe and supported/documented way is
>> � - to reset the AP using the mode button
>> � - to reset via the web interface
>> and then a complete reconfigure.
>>
>> If you update the configuration of interface BVI1 and then store
the
>> configuration, the addresses in env_var should be updated to the
new config.
>>
>> --
>> ULi
>
>I reset and downloaded a fresh copy of IOS from tftp at 10.0.0.2.
>This solved the problem but in a very inefficient manner.
>I had hoped to learn a bit more about where this variable is stored
>across reboots when neither env_vars nor the startup config are
>present.

From: bobneworleans on
On Jul 9, 1:13 pm, Aaron Leonard <Aa...(a)Cisco.COM> wrote:
> on an aIOS AP, flash:env_vars (i.e. the bootloader variables)
> and nvram:startup-config are pretty much the whole of the
> config.  Don't know why your IP address came back.
>
> The most elegant way of cleaning out the static IP address
> info from env_vars is:
>
> ap#write default-config
>
> This restores not only the startup-config but also
> env_vars to the defaults.
>
> Hth,
>
> Aaron

THANKS!
This is exactly what I was looking for. I look forward to trying this
out next week.
Bob