Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

trying to delete vlan.dat on a cisco 4500R and it says i dont have permission

Posted on 2008-10-05
13
Medium Priority
?
2,496 Views
Last Modified: 2011-10-19
I tried to delete the vlan.dat and i get a message you dont have permission so created a user with level 15
and it still wont let me delete it .Also when i start the 4500R i have to typr boot to make it load ?
0
Comment
Question by:long17
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
13 Comments
 
LVL 79

Expert Comment

by:lrmoore
ID: 22645211
If it boots up to rommon> mode then the config-register is off
Post result of "show ver" and look at the config-register setting - should be 0x2102
If you are in enable mode, you should be able to delete the vlan.dat file

switch#delete flash:\vlan.dat
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 22645400
Which flash device are you trying to delete the vlan.dat file from?

I haven't deleted the file on a 4500 but based on this:

http://www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a00800c4546.shtml#reset_vlan

It looks like the command is:

"erase cat4000_flash:vlan.dat"


0
 

Author Comment

by:long17
ID: 22645770
yes it boots in rommon then i type in boot and then the statup when its finished if i put in sh ver
configuration register is 0x2102
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
LVL 50

Expert Comment

by:Don Johnston
ID: 22645803
Try a "boot system flash <device>: filename in the configuration.

i.e.:

boot system flash slot0:cat4000-i5s-mz.122-20.bin

0
 

Author Comment

by:long17
ID: 22645840
i just tried the configuration and nothing happens i still have to use boot ? why has this happend ?
why wont it boot from default ?
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 22645861
Do a show start and paste the boot system so we can see it. Also please post the results of a "dir" command for the device that the IOS is in.
0
 

Author Comment

by:long17
ID: 22645899
ive attached to boot message and the dir after i have loaded up
boot.txt
dir.txt
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 22645977
No, you need to do a "show start" so we can see the boot system command.
0
 

Author Comment

by:long17
ID: 22646008
the show start as you asked for hope this helps
start.txt
0
 
LVL 23

Accepted Solution

by:
Mysidia earned 2000 total points
ID: 22646069
Specify a boot environment variable
in the configuration and save the configuration

normally with a sequence of commands like
device# conf t
device(config)# boot system flash (filename here)
device(config)# ^Z
device# wr
Building configuration...
[OK]
device#

When done applying the boot options
type "show boot"  to see the boot path for next reload
verify proper file path with the  'dir flash:'



0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 22647305
Like I said before. You need a boot system command in your startup-config:

=============
Try a "boot system flash <device>: filename in the configuration.

i.e.:

boot system flash slot0:cat4000-i5s-mz.122-20.bin
0
 

Author Comment

by:long17
ID: 22647936
i have installed the boot correctly now and everything works but when try to delete vlan.dat it says
permissions denied
0
 

Author Comment

by:long17
ID: 22649736
if i did erase cat400_flash that removed the vlan.dat file i think its becasue its a early IOS

thanks
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question