Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3010
  • Last Modified:

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

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
long17
Asked:
long17
1 Solution
 
lrmooreCommented:
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
 
Don JohnstonInstructorCommented:
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
 
long17Author Commented:
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
Improved Protection from Phishing Attacks

WatchGuard DNSWatch reduces malware infections by detecting and blocking malicious DNS requests, improving your ability to protect employees from phishing attacks. Learn more about our newest service included in Total Security Suite today!

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

i.e.:

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

0
 
long17Author Commented:
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
 
Don JohnstonInstructorCommented:
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
 
long17Author Commented:
ive attached to boot message and the dir after i have loaded up
boot.txt
dir.txt
0
 
Don JohnstonInstructorCommented:
No, you need to do a "show start" so we can see the boot system command.
0
 
long17Author Commented:
the show start as you asked for hope this helps
start.txt
0
 
MysidiaCommented:
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
 
Don JohnstonInstructorCommented:
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
 
long17Author Commented:
i have installed the boot correctly now and everything works but when try to delete vlan.dat it says
permissions denied
0
 
long17Author Commented:
if i did erase cat400_flash that removed the vlan.dat file i think its becasue its a early IOS

thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now