Re: Can't delete vlan.dat

From: paul cosgrove (paul.cosgrove@gmail.com)
Date: Tue Dec 23 2008 - 17:50:58 ARST


Oops... didn't mean to suggest that the running config is persistent. If it
is saved in transparent mode, you can then delete the vlan.dat and reload
without affecting vtp mode.

On Tue, Dec 23, 2008 at 7:47 PM, paul cosgrove <paul.cosgrove@gmail.com>wrote:

> Hi Syed,
>
> The easiest method is probably to use Narbik's suggestion of configuring
> VTP settings which are not consistent with your other switches:
> 1) shutdown your trunk ports
> 2) then delete your vlan.dat file & startup configuration
> 3) and then set a VTP domain to be unique (or change to transparent mode)
> 4) reload
>
> If you shutdown the ports after deleting the vlan.dat, there is a
> posibility that VTP will relearn the VLAN information whilst you are
> disabling the ports.
>
> Making VTP changes (e.g. settting a unique domain) after deleting the
> vlan.dat file ensures that this file still exists at bootup. If you delete
> the vlan.dat and the startup configuration & then immediately reload, all
> VTP and config settings will be at their defaults when the switch comes back
> up - so it will be in VTP server mode and will re learn VLANs using VTP.
>
> Setting a switch to transparent mode adds configuration lines to both the
> running config and the vlan.dat file. The switch will stay in transparent
> mode if you delete any one of these and reload, but not if you delete both
> and reload.
>
> Paul.
>
>
>>
>> On Tue, Dec 23, 2008 at 3:57 PM, Syed Ali <testcricket@gmail.com> wrote:
>>
>> > Hello Experts,
>> > Sorry for the late response due to the difference
>> in
>> > time zones. Here is what is happening in all 3550 I have
>> >
>> > All Switches are in the same VTP domain and are in server mode
>> >
>> > The vlan.dat was deleted ONLY by shutting the trunk ports of the other 3
>> > switches
>> >
>> > BUT, the vlan.dat kept coming back after I did the followings:
>> >
>> > 1. DELETED THE VLAN.DAT
>> > 2. SHUTDOWN ALL THE PORTS ON LOCAL SWITCH
>> > 3. WR MEM
>> > 4. WR ERASE
>> > 5. COPY START RUN
>> > 6. RELOAD
>> >
>> > And yet the vlan.dat showed up again.
>> > INTERESTING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>> >
>> > Again thanks to all of you for your interest and support.
>> >
>> > thanks
>> > Syed
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Tue, Dec 23, 2008 at 5:15 AM, CCIE Gmail <majonestx@gmail.com>
>> wrote:
>> >
>> > > Oh ok. That makes sense then.
>> > >
>> > > - Michael
>> > > Cry in the lab, laugh in the Data center.
>> > >
>> > > Sent from my IPhone.
>> > >
>> > > On Dec 22, 2008, at 7:38 PM, "Jason Madsen" <madsen.jason@gmail.com>
>> > > wrote:
>> > >
>> > > Yep, he specifically stated that he shut them down, did a "wr erase",
>> > and
>> > > then a reload I believe.
>> > >
>> > > Jason
>> > >
>> > > On Mon, Dec 22, 2008 at 6:23 PM, Jonathan Greenwood II <
>> > gwood83@gmail.com>wrote:
>> > >
>> > >> I agree the ports will come back in a up state. Now if you shutdown
>> the
>> > >> ports then save the configuration the ports should come back in an
>> > >> administrative down state. I doubt he saved the configuration once
>> he
>> > shut
>> > >> the ports down before he rebooted..
>> > >>
>> > >> Jonathan
>> > >>
>> > >> On Mon, Dec 22, 2008 at 4:25 PM, Jason Madsen <
>> madsen.jason@gmail.com
>> > >wrote:
>> > >>
>> > >>> Try shutting down all of your switch interfaces, doing a wr er
>> reload,
>> > >>> and
>> > >>> see what you come up with. I'm quite sure you'll find the
>> interfaces
>> > are
>> > >>> no
>> > >>> longer in the shutdown state ;-) They were coming back up, forming
>> a
>> > >>> trunk
>> > >>> to another switch, and re-learning the vlans.
>> > >>>
>> > >>> Jason
>> > >>>
>> > >>> On Mon, Dec 22, 2008 at 5:05 PM, CCIE Gmail <majonestx@gmail.com>
>> > wrote:
>> > >>>
>> > >>> > But previously he shut down all the ports and it didn't work ? By
>> > that
>> > >>> > theory it shouldn't have recived the vlan.dat. File because no
>> trunks
>> > >>> would
>> > >>> > be able to form due to all his ports being disabled. Am I missing
>> > >>> something
>> > >>> > here???
>> > >>> >
>> > >>> > - Michael
>> > >>> >
>> > >>> > Cry in the lab, laugh in the Data center.
>> > >>> >
>> > >>> > Sent from my IPhone.
>> > >>> >
>> > >>> >
>> > >>> > On Dec 22, 2008, at 5:44 PM, "Narbik Kocharians" <
>> narbikk@gmail.com>
>> > >>> > wrote:
>> > >>> >
>> > >>> > When the switch comes back up, it establishes a trunk and gets
>> all
>> > the
>> > >>> >> VLAN
>> > >>> >> info from the other switch, that's why this worked, once you
>> > shutdown
>> > >>> the
>> > >>> >> other ports, the local switch was not able to establish a trunk.
>> > >>> >>
>> > >>> >> On Mon, Dec 22, 2008 at 3:21 PM, Jonny English <
>> > >>> redkidneybeans@gmail.com
>> > >>> >> >wrote:
>> > >>> >>
>> > >>> >> Shut all your ports down on all your switches.
>> > >>> >>> wr er
>> > >>> >>> reload
>> > >>> >>>
>> > >>> >>> *shut all your ports down on all your switches*
>> > >>> >>>
>> > >>> >>> del vlan.dat
>> > >>> >>> reload
>> > >>> >>>
>> > >>> >>> on all switches
>> > >>> >>>
>> > >>> >>>
>> > >>> >>> On Tue, Dec 23, 2008 at 12:05 PM, Syed Ali <
>> testcricket@gmail.com>
>> > >>> >>> wrote:
>> > >>> >>>
>> > >>> >>> Hi Mark / Jonny,
>> > >>> >>>> I did shut down all the ports, saved
>> the
>> > >>> config
>> > >>> >>>> and deleted the vlan.dat but it shows up again after a reload.
>> In
>> > >>> fact I
>> > >>> >>>>
>> > >>> >>> am
>> > >>> >>>
>> > >>> >>>> trying to remove the older vlan info as well as remove the
>> entire
>> > >>> >>>> config.
>> > >>> >>>>
>> > >>> >>> to
>> > >>> >>>
>> > >>> >>>> move to the next lab.
>> > >>> >>>>
>> > >>> >>>>
>> > >>> >>>>
>> > >>> >>>>
>> > >>> >>>>
>> > >>> >>>> On Tue, Dec 23, 2008 at 1:58 AM, Jonny English <
>> > >>> >>>> redkidneybeans@gmail.com
>> > >>> >>>> wrote:
>> > >>> >>>>
>> > >>> >>>> shut all your ports on your switch.
>> > >>> >>>>> do a:
>> > >>> >>>>> del vlan.dat
>> > >>> >>>>> reload
>> > >>> >>>>>
>> > >>> >>>>>
>> > >>> >>>>> On Tue, Dec 23, 2008 at 11:54 AM, Syed Ali <
>> > testcricket@gmail.com>
>> > >>> >>>>>
>> > >>> >>>> wrote:
>> > >>> >>>
>> > >>> >>>>
>> > >>> >>>>> Hi guys,
>> > >>> >>>>>> I am deleting as following on my 3550 :
>> > >>> >>>>>>
>> > >>> >>>>>> Switch#del vlan.dat
>> > >>> >>>>>> Delete filename [vlan.dat]?
>> > >>> >>>>>> Delete flash:vlan.dat? [confirm]
>> > >>> >>>>>> Switch#
>> > >>> >>>>>> When I say "pops back" I mean the output of command "dir"
>> shows
>> > >>> the
>> > >>> >>>>>> vlan.dat
>> > >>> >>>>>> file and my old vlan are shown.
>> > >>> >>>>>>
>> > >>> >>>>>>
>> > >>> >>>>>>
>> > >>> >>>>>> On Tue, Dec 23, 2008 at 1:41 AM, sidd ant <
>> > >>> aspiretobeccie@gmail.com>
>> > >>> >>>>>> wrote:
>> > >>> >>>>>>
>> > >>> >>>>>> what command have you used to try and delete the file Syed?
>> > >>> >>>>>>>
>> > >>> >>>>>>>
>> > >>> >>>>>>> On Tue, Dec 23, 2008 at 9:37 AM, Syed Ali <
>> > >>> testcricket@gmail.com>
>> > >>> >>>>>>>
>> > >>> >>>>>> wrote:
>> > >>> >>>>>>
>> > >>> >>>>>>>
>> > >>> >>>>>>> Hi all,
>> > >>> >>>>>>>> I have tried deleting vlan database and then write
>> erase
>> > >>> the
>> > >>> >>>>>>>> config
>> > >>> >>>>>>>> file. But after the reload the vlan.dat pops back up and I
>> see
>> > >>> the
>> > >>> >>>>>>>>
>> > >>> >>>>>>> old
>> > >>> >>>
>> > >>> >>>> vlans
>> > >>> >>>>>>>> and vtp config. Can someone help as how to delete the old
>> vlan
>> > >>> and
>> > >>> >>>>>>>>
>> > >>> >>>>>>> vtp
>> > >>> >>>
>> > >>> >>>> info.
>> > >>> >>>>>>>>
>> > >>> >>>>>>>> thanks
>> > >>> >>>>>>>> Syed
>> > >>> >>>>>>>>
>> > >>> >>>>>>>>
>> > >>> >>>>>>>> Blogs and organic groups at http://www.ccie.net
>> > >>> >>>>>>>>
>> > >>> >>>>>>>>
>> > >>> >>>>>>>>
>> > >>>
>> _______________________________________________________________________
>> > >>> >>>>>>
>> > >>> >>>>>
>> > >>> >
>> > >>> > Subscription information may be found at:
>> > >>> >>>>>>>> http://www.groupstudy.com/list/CCIELab.html
>> > >>> >>>>>>>>
>> > >>> >>>>>>>
>> > >>> >>>>>>
>> > >>> >>>>>> Blogs and organic groups at http://www.ccie.net
>> > >>> >>>>>>
>> > >>> >>>>>>
>> > >>> >>>>>>
>> > >>>
>> _______________________________________________________________________
>> > >>> >>>>>>
>> > >>> >>>>>
>> > >>> >
>> > >>> > Subscription information may be found at:
>> > >>> >>>>>> http://www.groupstudy.com/list/CCIELab.html
>> > >>> >>>>>>
>> > >>> >>>>>
>> > >>> >>>
>> > >>> >>> Blogs and organic groups at http://www.ccie.net
>> > >>> >>>
>> > >>> >>>
>> > >>>
>> _______________________________________________________________________
>> > >>> >>>
>> > >>> >>
>> > >>> >
>> > >>> > Subscription information may be found at:
>> > >>> >>> http://www.groupstudy.com/list/CCIELab.html
>> > >>> >>>
>> > >>> >>>
>> > >>> >>>
>> > >>> >>>
>> > >>> >>>
>> > >>> >>>
>> > >>> >>>
>> > >>> >>>
>> > >>> >>>
>> > >>> >>
>> > >>> >> --
>> > >>> >> Narbik Kocharians
>> > >>> >> CCSI#30832, CCIE# 12410 (R&S, SP, Security)
>> > >>> >> www.MicronicsTraining.com <http://www.micronicstraining.com/><
>> > http://www.micronicstraining.com/>
>> > >>> >> www.Net-Workbooks.com <http://www.net-workbooks.com/><
>> > http://www.net-workbooks.com/>
>> > >>> >> Sr. Technical Instructor
>> > >>> >>
>> > >>> >>
>> > >>> >> Blogs and organic groups at http://www.ccie.net
>> > >>> >>
>> > >>> >>
>> > >>>
>> _______________________________________________________________________
>> > >>> >>
>> > >>> >
>> > >>> >
>> > >>> > Subscription information may be found at:
>> > >>> >> http://www.groupstudy.com/list/CCIELab.html
>> > >>> >>
>> > >>> >
>> > >>> >
>> > >>> > Blogs and organic groups at http://www.ccie.net
>> > >>> >
>> > >>> >
>> > _______________________________________________________________________
>> > >>> > Subscription information may be found at:
>> > >>> > http://www.groupstudy.com/list/CCIELab.html
>> > >>>
>> > >>>
>> > >>> Blogs and organic groups at http://www.ccie.net
>> > >>>
>> > >>>
>> _______________________________________________________________________
>> > >>> Subscription information may be found at:
>> > >>> http://www.groupstudy.com/list/CCIELab.html
>> >
>> >
>> > Blogs and organic groups at http://www.ccie.net
>> >
>> > _______________________________________________________________________
>> > Subscription information may be found at:
>> > http://www.groupstudy.com/list/CCIELab.html
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Thu Jan 01 2009 - 12:53:09 ARST