CATOS switch getting out of NVRam errors

Switch giving out of NVRam messages when making port settings changes such as description, speed, vlan etc..

To stop errors I can change the config mode from binary to text and save the config in flash with the following command.

Console> (enable) set config mode text bootflash:switch.cfg
Binary system configuration has been deleted from NVRAM. Configuration mode set to text.
Use the write memory command to save configuration changes. System configuration file set
to: bootflash:switch.cfg
The file specified will be used for configuration during the next bootup.

I believe that this change does not require a reboot to clear up space in NVRam.

Where will the config.txt file be physically stored on the external PCMCIA or onboard flash?

sh ver
WS-C6513 Software, Version NmpSW: 8.5(3)
Copyright (c) 1995-2006 by Cisco Systems
NMP S/W compiled on Jan 28 2006, 18:03:10

System Bootstrap Version: 6.1(3)
System Boot Image File is 'bootflash:cat6000-sup2k8.8-5-3.bin'
System Configuration register is 0xf

Hardware Version: 1.0  Model: WS-C6513  Serial #: TBA05161586

PS1  Module: WS-CAC-2500W    Serial #: ART0823E0DP
PS2  Module: WS-CAC-2500W    Serial #: ART0632003M

Mod Port Model               Serial #    Versions
--- ---- ------------------- ----------- --------------------------------------
2   2    WS-X6K-SUP2-2GE     SAD05330021 Hw : 2.2
                                         Fw : 6.1(3)
                                         Fw1: 6.1(3)
                                         Sw : 8.5(3)
                                         Sw1: 8.5(3)
         WS-F6K-PFC2         SAD0532035D Hw : 1.4
                                         Sw :
3   16   WS-X6416-GBIC       SAD051600EF Hw : 1.2
                                         Fw : 5.4(2)
                                         Sw : 8.5(3)
4   48   WS-X6148-GE-TX      SAL1227WAHS Hw : 7.2
                                         Fw : 7.2(1)
                                         Sw : 8.5(3)
5   48   WS-X6148-GE-TX      SAL1226VPNV Hw : 7.2
                                         Fw : 7.2(1)
                                         Sw : 8.5(3)
9   48   WS-X6348-RJ-45      SAD0416005H Hw : 2.1
                                         Fw : 5.4(2)
                                         Sw : 8.5(3)
10  48   WS-X6348-RJ-45      SAL0533AE35 Hw : 5.0
                                         Fw : 5.4(2)
                                         Sw : 8.5(3)
12  48   WS-X6348-RJ-45      SAL0533A9KR Hw : 5.0
                                         Fw : 5.4(2)
                                         Sw : 8.5(3)
13  48   WS-X6348-RJ-45      SAL0532A7KE Hw : 5.0
                                         Fw : 5.4(2)
                                         Sw : 8.5(3)

       DRAM                    FLASH                   NVRAM
Module Total   Used    Free    Total   Used    Free    Total Used  Free
------ ------- ------- ------- ------- ------- ------- ----- ----- -----
2      131072K  83541K  47531K  31232K   9983K  21249K  512K  488K   24K

Uptime is 1 day, 20 hours, 42 minutes

> (enable) sh boot
BOOT variable = bootflash:cat6000-sup2k8.8-5-3.bin,1;
CONFIG_FILE variable = slot0:switch.cfg

Configuration register is 0xf
ignore-config: disabled
auto-config: non-recurring, overwrite, sync disabled
ROMMON console baud: 9600
boot: image specified by the boot system commands

Image auto sync is enabled
Image auto sync timer is 2 seconds


> (enable) pwd
bootflash

Dragon0x40Asked:
Who is Participating?
 
mikebernhardtConnect With a Mentor Commented:
OK. In that command, the file will be stored in bootflash and will be called switch.cfg. Space will be cleared in NVRAM after the reboot. And that's when you could begin using the wr mem command.
0
 
lrmooreCommented:
>CONFIG_FILE variable = slot0:switch.cfg
Slot0: should be your PCMCIA card
0
 
harbor235Commented:


Try this command to veify;

dir slot0:

harbor235 ;}
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
Dragon0x40Author Commented:
> (enable) dir slot0:
Open device slot0 failed (no device)

> (enable) dir flash:
Open device flash failed (unknown device)

> (enable) dir all
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
  1 .. ffffffff 618e9ce4  a3f9a0   24 10221856 Dec 05 2006 15:19:05 cat6000-sup2k8.8-5-3.bin

21759584 bytes available (10221984 bytes used)

> (enable) wr mem
This command is available only in text configuration mode.
0
 
harbor235Commented:
dir slot1: ????

Do you have any PCMCIA cards installed ?

You have changed the location of the filename fro saving the configuratuion file;
"Console> (enable) set config mode text bootflash:switch.cfg"

It will not be used until the next reboot, this command does not clear space but points to a different filename to save the config, it needs a reboot.

harbor235 ;}
0
 
mikebernhardtCommented:
Try dir bootflash:
That should show you the config, the reason being that that's where you told the switch to save it.
0
 
Dragon0x40Author Commented:
I think that I confused everyone by copying and pasting from a website.

This was copied from a website and not my switch:

Console> (enable) set config mode text bootflash:switch.cfg
Binary system configuration has been deleted from NVRAM. Configuration mode set to text.
Use the write memory command to save configuration changes. System configuration file set
to: bootflash:switch.cfg
The file specified will be used for configuration during the next bootup.

I was basically asking two questions if I ran the above command.

Where would the fiel be stored and do I need to reboot the switch to be in text mode and use the "wr mem" command?
0
 
Dragon0x40Author Commented:
Also I want to know if space is cleared in NVRAM after changing from binary to text mode and how the NVRAM space is cleared or not cleared.
0
 
Dragon0x40Author Commented:
Also I want to know if space is cleared in NVRAM after changing from binary to text mode and how the NVRAM space is cleared or not cleared.
0
 
Dragon0x40Author Commented:
I had changed the mode before and did not remember having to reboot the switch.

Tried it on a test switch not in production and I did not have to reboot to switch from binary mode to text mode and then back to binary mode.

I still don't know how to look at the contents of NVRAM. (See what is stored there) Other than what is shown at the bottom of "sh ver" Which seems to show the second sup not using any memory.

       DRAM                    FLASH                   NVRAM
Module Total   Used    Free    Total   Used    Free    Total Used  Free
------ ------- ------- ------- ------- ------- ------- ----- ----- -----
1      131072K  83258K  47814K  31232K  27483K   3749K  512K  488K   24K
2      131072K

> (enable) wr mem
This command is available only in text configuration mode.

> (enable) set config mode text bootflash:config.txt
Binary system configuration has been deleted from NVRAM.
Configuration mode set to text.
Use the 'write memory' command to save subsequent

configuration changes.
System configuration file set to: bootflash:config.txt
The file specified will be used for configuration during the

next bootup.
WARNING: File bootflash:config.txt does not exist.
The file can be created by executing the 'write memory'

command.
Text configuration auto-save feature disabled.


> (enable) wr mem

Upload configuration to bootflash:config.txt
4041760 bytes available on device bootflash, proceed (y/n)

[n]? y

.................
...................................

...................................


......................................


......................................
......................................
......................................
......................................
......................................


....................
C
Configuration has been copied successfully.


> (enable) set config mode binary
System configuration copied to NVRAM. Configuration mode set

to binary.
Text configuration auto-save feature disabled.

> (enable) wr mem
This command is available only in text configuration mode.

> (enable)
0
 
mikebernhardtCommented:
try dir nvram:

But that may not work in Cat OS, only in IOS.
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.

All Courses

From novice to tech pro — start learning today.