Step 1:
rommon 1 show interface
me1: inet 172.20.58.227 netmask 255.255.255.0 broadcast 172.20.58.255
rommon 2 show ip route
Destination Gateway Interface
default 0.0.0.0 me1
Step 2: Set the default gateway, if needed.
rommon 3 set ip route default 172.20.58.1
Step 3:
rommon 5 set
PS1=rommon !
AutobootStatus=success
MemorySize=32
DiagBootMode=post
?=0
ROMVERSION=4.4(1)
WHICHBOOT=bootflash:cat4000.4-4-1.bin
BOOT=bootflash:cat4000.4-4-1.bin,1;
rommon 6 Tftpserver=172.20.59.67
!--- Setting TFTP server variable.
rommon 7 set
!---Verifying the setting.
PS1=rommon !
AutobootStatus=success
MemorySize=32
DiagBootMode=post
Tftpserver=172.20.59.67
?=0
ROMVERSION=4.4(1)
WHICHBOOT=bootflash:cat4000.4-4-1.bin
BOOT=bootflash:cat4000.4-4-1.bin,1;
Step 4: Netboot the system.
rommon 9 boot cat4000.4-4-1.bin
Step 5: After netbooting the system, you will get the switch console. Use the copy tftp Flash command to copy the valid image to the Flash