Help validate my simple configuration/coach CLI on a Cisco 4503 Catalyst

westonp used Ask the Experts™
I have done the following configurations out of the box as a neophyte with cli on my cisco 4503-e switch with one WS-X4248-FE-SFP blade

Steps so far:
console into rommon
tftp iosCAT4500-ipbasek9-mz.122-53.sg1.bin
set hostname
set my F2/1 - f2/17 to full duplex( (resulted in getting Tx/Rx link led green (These are 100base sfp modules talking to 100-b EtherWANEX9600 switches)
On the Supervisor , I Assumed that the RJ45 Mgmt port to the right of the console is Vlan1, so...
I Set vlan1 ip of
set enable secret password
added Descriptions to the SFP interfaces (qty 10 sfp modules in 1-17 odd slots)

Problem #1
when i powered off the unit and moved to the project location, it booted up in ROMMON!
I thought I lost all my work. I'm unsure how to save my configurations and tried this:
OPSswitch#copy running-config startup-config (saw this somewhere but not sure if this will allow the switch to boot automatically. Is there is supposed to be something between:
Because I'm paranoid about loosing entries, every time I make a change like:
OPSswitch(config)#int f2/1
OPSswitch(config-if)#duplex full I do a CTRL-Z here (Not sure if i can hit enter then a ctrl-Z)

Note Before I powered off the switch the first time, I installed the CNA Windows GUI to make it easy to not deal with the CLI - just get the job done. Now I cant ping the 101.100 nor CNA to it. So stuck again with tinkering in the CLI

I  need this switch to have one IP of and allow all  Etherwans at the end of of my 10 SFP's  ping The etherwans are

I should have ordered a second RJ45 blade for the 4 local workstations and 1 server( to attach to thes etherwans - BUT Did not. My workaround is an 11th SFP in F2/41 on the fiber blade to jump into a $100 cat5 linksys switch with 1 sfp uplink. I cant get the Server to ping the switch 101.100 nor the Etherwans 103.100-110

The end goal is a simple lan with no real fancy switching (like L3) until IT eventually owns this and can tweak this switch. Once this is working, I need to be sure that if the power cycles that the switch will automatically operate in the configured lan without me having to type boot from console

BTW I bought a Sybex CCNA book and will be learning how lame i've been trying to understand this stuff.

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
You booted into ROMMON mode and then loaded the IOS via a tftp pull and you will want to copy a valid image into the bootflash on the device. If you do a show bootflash: you will see if you have any images to boot from at startup. If you have space you can tftp the image file onto the bootflash using:

copy tftp://x.x.x.x/imagefile-name bootflash:

This will copy the file once the system is up again onto the bootflash and then in the configuration mode you can use

boot system bootflash:<image name>

This will set the booting parameter that should help you prevent booting into rommon every time you reload/power off then on the device.

Problems 2 and 3 are more driven by making sure you have a written configuration with the VLAN 1 interface in the right subnet as you defined initially. You also need to be sure that all of those ports you have configured are members of VLAN 1 as well.

Once you can boot and then be able to save your configuration I can help you with some more details if you can paste the configuration and move on. Also as far as hitting CTRL-Z that is just a shortcut for type the "end" command at any point in the configuration process. You do not save any configuration changes made (save through a reboot) unless you execute a "write memory" from the priveledge level prompt outside configuration mode. In case you type something wrong and just want to reset to what it was before you started making changes.



This means that I successfully installed IOS but not my config to NVRAM?
OPSswitch>sh bootflash
-#- ED ----type---- --crc--- -seek-- nlen -length- ---------date/time--------- n
1   .. image        FC388696  C10F08   33 12127880 Nov 11 2009 09:41:33 +00:00 c

47116536 bytes available (12128008 bytes used)

What you  say about  Vlan1 membership for F2/1-17 makes sense, but on day one I never added those ports to vlan1 (dont know how) and I was able to ping from a laptop on an Etherwan and the Cat4500 with replied.

So, should I now: OPSswitch#copy running-config startup-config  then tell the 4500 to reboot then go from there?

By default the ports should be part of VLAN 1 unless you change it. That should be why they worked initially for you. Looks like you have a valid image in the bootflash and so I would suggest using this command from config mode:

boot system bootflash:cat4500-ipbase-mz.122-31.SGA8.bin

Then from the priviledge mode you will want to do a show bootvar and that should tell you what the system boot parameters are. The update of the show bootvar will not update until you perform a write memory command though after making a change to the boot system parameter in configuration mode. The write memory command is the old/supported way but menas the same as copy running-config startup-config. Once you are sure that is set then yes I would reboot it and make sure it boots into the configuration you specified and not rommon. The only other item which might be causing you to boot into rommon and you may have to change is the config register but I will not confuse you with that until this doesn't work.
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.


I did this:
  OPSswitch#boot system bootflash:cat4500-ipbase-mz.122-31.SGA8.bin

Then This:
  OPSswitch#show bootvar
  BOOT variable =
  CONFIG_FILE variable does not exist
  BOOTLDR variable does not exist
  Configuration register is 0x1122

now Im going to do a....
This one?
  OPSswitch#copy running-config startup-config.
or (please advise on this choice)
This one?
  OPSswitch(config)#copy running-config startup-config.

Then the command OPSswitch#reload (to reboot)
the command you want is OPSswitch#copy running-config startup-config

When you see a # at the end of your prompt and nothing before you are in priveledged mode, if you see (config)# you are in config mode, and then there are sub config modes beyond that (config-if)# for interface configuration as an fyi. Anyways after you perform the command above, you should perform a
OPSswitch#show bootvar

Then you should see the BOOT variable = field populated with the bootflash:cat information you inputed before. Also as you can see in the show output you did above your Configuration register is set to 0x1122 which will bypass your boot commands so before you reload perform this:

OPSswitch#config t
OPSswitch(config)#config-register 0x2102
OPSswitch#write memory
OPSswitch#show bootvar

If you execute those commands and then post the show bootvar again and you see the BOOT variable and Configuration register lines changed to match your expectations you can "reload" the box.



Enter on this:
  OPSswitch#copy running-config startup-config

Yields this:
  Destination filename [startup-config]? Enter here...

  Building configuration...
  Compressed configuration from 2688 bytes to 1200 bytes[OK]

  OPSswitch#sh bootvar
  BOOT variable = bootflash:cat4500-ipbasek9-mz.122-53.SG1.bin,12;
 What's this?---> CONFIG_FILE variable does not exist
                           BOOTLDR variable does not exist
  Configuration register is 0x1122


OPSswitch#write memory
  Building configuration...
  Compressed configuration from 2688 bytes to 1200 bytes[OK]

OPSswitch#sh bootvar
  BOOT variable = bootflash:cat4500-ipbasek9-mz.122-53.SG1.bin,12;
??  CONFIG_FILE variable does not exist
??  BOOTLDR variable does not exist
  Configuration register is 0x1122 (will be 0x3122 at next reload)

should i type reload at this point?
The config file variable and the bootldr variable are for additional booting instructions - if you wanted to use a configuration other then the startup config you could flag with that statement. Also if you have a bootldr image it is used to load a mini IOS to get you more functionality then the rommon but less then the full IOS. It was used to speed up the loading process in years past.

I was driving home so sorry for the delay in response, and yes you can reload at this point and then we can look at the running-config and see about fixing your IP connectivity issues.


i went home using logmein on a console pc...

Rom Monitor Program Version 12.2(31r)SGA2
 Supervisor: WS-X4516  Chassis: WS-C4503-E
 Hardware Revisions - Board: 3.4 CPLD: 34 Dagobah: 226

 MAC Address  : 00-22-55-c0-72-82
 IP Address   :
 Netmask      :
 Gateway      : Not set.
 TftpServer   :
 Main Memory  : 512 MBytes

 ***** The system will autoboot in 5 seconds *****

 Type control-C to prevent autobooting.
 . . . . .

 ******** The system will autoboot now ********

 config-register = 0x3122
 Autobooting using BOOT variable specified file.....

 Could not find a valid file in BOOT environment variable.
 BOOT variable can be set from IOS. To find currently set
 Rom Monitor variables, please type 'set' command.

 For help on choosing a boot method,  type 'confreg' command.
rommon 1 > UH OH!
That is not the right bootfile name as before - sorry I should of read closer for you but if you look at the bootflash (show bootflash) you will see the filename which is reside in the bootflash is:

cat4500-ipbase-mz.122-31.SGA8.bin and not

BOOT variable = bootflash:cat4500-ipbasek9-mz.122-53.SG1.bin

You have the wrong file version here - you should be able to do boot bootflash:cat4500-ipbase-mz.122-31.SGA8.bin from the rommon mode. Then you can perform copy startup-config running-config which will bring across the configuration as you want. The next item you need to do is locate the boot system paramter which corresponds to the 122-53 image file in your configuration and then perform a "no <that line which should say boot system bootflash:cat4500-ipbasek9-mz.122-53.SG1.bin>" . After you have done that you then want to input a "boot system bootflash:cat4500-ipbase-mz.122-31.SGA8.bin" OR you can tftp the 122-53 image onto the bootflash if you have it available.

Make sense?


cat4500-ipbasek9-mz.122-53.SG1.bin is the file I downloaded from cisco.

then i made changes

At this point,
  OPSswitch#copy running-config startup-config

I was wondering was i supposed to hit enter here? or type a name for the bootflash
  Destination filename [startup-config]? If I dont type a name here and hit enter what happens? if i do type a name?

I'm trying to keep up with you but i'm getting too many questions
Might be easier if you post your email and I can email you directly or maybe we can IM / Desktop Share and I can probably walk you through the fixes to this in about 10 minutes.




lets use crossloop free edition. Once I get your email I'll reply with the access code for you


Brentloper is a true IT Professional!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial