cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3845
Views
0
Helpful
16
Replies

How do i remove this variable in ROMMON mode on WS-C3750V2-48PS-S

lakshanindika
Level 1
Level 1

i had to recover my cisco switch WS-C3750V2-48PS-S by copy image file to flash by using  copy xmodem::c3750-ipservicesk9-mz.150-2.SE11.bin flash: c3750-ipservicesk9-mz.150-2.SE11.bin command. it was successfully copied. i set to  baud rate to 115220  and  i changed back to baud rate 9600 after copied the file. and i made a mistake i  set wrong variable for baud rate "set baud?="  how can i remove baud?= from the system. i have attached image, please refer, please help me to this remove baud?= from ROMMON

Thanks

16 Replies 16

Here is the output of those commands. Switch does in fact boot, so I included both outputs. I stacked the switches so that is why there are stack commands present. 

I have italicized the commands I want to delete. 

I bolded the command I need to edit. (cat9k_iosxe.17.09.03.spa.bin is not on the switch at all anymore, I just want to boot from packages.conf)

Thanks for having a look.

 

rommon 1 > set
ABNORMAL_RESET_COUNT=0
AUTO_SWITCH_CONSOLE_DISABLE=0
BAUD=9600
BOARDID=3F
BOOT=bootflash:packages.conf;bootflash:cat9k_iosxe.17.09.03.spa.bin;
BOOTLDR=
BSI=0
CONFIG_FILE=
CONSOLE_MIRRORING_DISABLE=0
DOPPLER_E_WA=1
D_STACK_DAD=
D_STACK_DISTR_STACK_LINK1=Twe2/0/23,Twe2/0/24,
D_STACK_DISTR_STACK_LINK2=
D_STACK_DOMAIN_NUM=1
D_STACK_MODE=aggregation
ETHER_PORT=0
HW_STRM_CNTRL=1
MAC_ADDR=24:2A:04:DC:01:20
MODEL_NUM=C9500-24Y4C
MOTHERBOARD_SERIAL_NUM=FDO270227QE
PS1=rommon ! >
RANDOM_NUM=2089252227
RETRY=0
RET_2_RCALTS=
RET_2_RTS=
ROMMON_AUTOBOOT_ATTEMPT=3
SWITCH_IGNORE_STARTUP_CFG=0
SWITCH_NUMBER=2
TEMPLATE=core
USB_DISABLE=0
boot=flash:/cat9k_iosxe.17.09.03.spa.bin
unset:boot=flash:/cat9k_iosxe.17.09.03.spa.bin
rommon 2 >

coretest>sh romvar
Switch 1
ROMMON variable table does not exist
Switch 2
ROMMON variables:
PS1="rommon ! > "
BOARDID="3F"
ETHER_PORT="0"
MAC_ADDR="24:2A:04:DC:01:20"
DOPPLER_E_WA="1"
RETRY="0"
MODEL_NUM="C9500-24Y4C"
MOTHERBOARD_SERIAL_NUM="FDO270227QE"
TEMPLATE="core"
HW_STRM_CNTRL="1"
USB_DISABLE="0"
BAUD="9600"
AUTO_SWITCH_CONSOLE_DISABLE="0"
CONSOLE_MIRRORING_DISABLE="0"
RET_2_RTS=""
boot="flash:/cat9k_iosxe.17.09.03.spa.bin"
IMAGE_UPGRADE="no"
unset:boot="flash:/cat9k_iosxe.17.09.03.spa.bin"
SWITCH_IGNORE_STARTUP_CFG="0"
D_STACK_MODE="aggregation"
D_STACK_DOMAIN_NUM="1"
SWITCH_NUMBER="2"
D_STACK_DISTR_STACK_LINK1="Twe2/0/23,Twe2/0/24,"
D_STACK_DISTR_STACK_LINK2=""
D_STACK_DAD=""
CONFIG_FILE=""
BOOTLDR=""
ABNORMAL_RESET_COUNT="0"
RET_2_RCALTS=""
RANDOM_NUM="2089252227"
BOOT="bootflash:packages.conf"
ROMMON_AUTOBOOT_ATTEMPT="3"
BSI="0"

coretest>

redgasgiant
Level 1
Level 1

Solved for me: Since these are switches we are testing before putting into production I have time and freedom to F around. I went ahead and I did a:

"factory-reset boot-vars" -which nukes all the variables in ROMMON   

copied an image to a usb, then from rommon booted from the usb with "boot usbflash0:cat9k_iosxe....." 

then once the image was running I did a fresh install with the command from your PDF.

"install add file flash:cat9k_iosxe.17.06.03.SPA.bin activate commit"

Now my rommon list is cleaned up.