T

Cisco ROMMON වලින් IOS Image එකක් Copy කරන ආකාරය

30 views · updated 2026-07-01 · published 2026-07-01 · by Hasarinda Manjula · Microsoft Windows Reading time: 2 min English සිංහල

ROMmon Mode එකෙන් Cisco Router එකකට IOS Image එකක් Copy කරන්නේ කොහොමද

missing හෝ corrupt IOS එකක් තියෙන router එකක් ROMmon එකෙන් TFTP හරහා image එකක් transfer කරලා recover කරගන්න.

Overview

Cisco router එකක IOS image එක missing හෝ corrupt වුණොත්, ඒක ROMmon (ROM monitor) mode එකට වැටෙනවා. එතනින් valid IOS image එකක් TFTP හරහා transfer කරලා router එක restore කරගන්න පුළුවන්. මේ guide එකෙන් ඒ process එක පියවරෙන් පියවර පෙන්නනවා.

ROMmon mode එකෙන් IOS image එකක් copy කිරීම.

Warning: මේක කරන්නේ ඔබට අයිති හෝ service කරන්න authorized equipment වල විතරයි. ඔබට run කරන්න license තියෙන Cisco IOS image එකක් පාවිච්චි කරන්න.

Key Takeaways

  • valid IOS එකක් load වෙන්නේ නැති වුණාම ROMmon පේනවා.
  • TFTP server එකක් ඔබේ PC එකේ IOS image එක host කරනවා.
  • image එක ගන්නේ කොහෙන්ද කියලා ROMmon variables වලින් router එකට කියනවා.
  • tftpdnld එකෙන් image එක flash එකට download කරනවා.

Prerequisites

  • router එකට console cable එකක් සහ terminal software.
  • correct IOS image එක එක්ක ඔබේ PC එකේ TFTP server එකක්.
  • PC එකයි router එකේ first interface එකයි අතර Ethernet cable එකක්.
  • ඔබේ router model එකට correct IOS filename එක.

ROMmon Variables Set කරන්න

1. rommon> prompt එකේ router IP එක set කරන්න: IP_ADDRESS=192.168.1.1

2. subnet mask එක set කරන්න: IP_SUBNET_MASK=255.255.255.0

3. default gateway එක set කරන්න: DEFAULT_GATEWAY=192.168.1.2

4. TFTP server එක (ඔබේ PC එක) set කරන්න: TFTP_SERVER=192.168.1.2

5. file එක set කරන්න: TFTP_FILE=c2800-ios.bin (ඔබේ image name එක පාවිච්චි කරන්න).

Image එක Download කරන්න

1. PC එක router එකේ first Ethernet port එකට connect කරලා TFTP server එක start කරන්න.

2. rommon> එකේ run කරන්න: tftpdnld

3. flash එක erase කරලා download කරන්න prompt එක confirm කරන්න.

4. transfer එකට wait කරන්න (exclamation marks වලින් progress එක පෙන්නනවා).

අලුත් IOS එක Boot කරන්න

1. download එක complete වුණාට පස්සේ router එක reset කරන්න: reset

2. ඒක අලුත් IOS image එක boot කරන්න ඕන.

3. verify කරන්න: show version, සහ ඕන නම් config එකේ boot system command එක set කරන්න.

Troubleshooting

Problem: TFTP transfer එක time out වෙනවා.

Solution: first interface එකට cabling එක, IP settings, TFTP server එකේ firewall එක, සහ server එක run වෙනවද කියලා check කරන්න.

Problem: "Invalid IOS image".

Solution: ඔබේ නියම router model එකට correct image එක පාවිච්චි කරලා file එක corrupt නෑ කියලා verify කරගන්න (checksum).

Problem: Router තාමත් ROMmon එකට boot වෙනවා.

Solution: boot variable/confreg එක හරියට set කරලා, image එක flash එකට copy වුණාද කියලා confirm කරගන්න.

Problem: Wrong config register.

Solution: recovery එකෙන් පස්සේ normal boot වෙන්න confreg එක 0x2102 එකට set කරන්න.

Conclusion

ROMmon recovery එකෙන් bad IOS එකක් තියෙන Cisco router එකක් restore කරගන්නවා: network variables set කරලා, image එක TFTP server එකක host කරලා, tftpdnld run කරලා, reset කරන්න. ඔබේ model එකට correct, licensed image එක පාවිච්චි කරලා, boot වුණාට පස්සේ show version එකෙන් verify කරගන්න.

Thanks for your feedback! 🙌

Read more

TechHub Assistant
Online · AI assistant
Thinking
⬇ Downloads 📦 Orders 🛒 Buy License 🎫 Create Ticket 🙋 Contact
AI-generated · may be inaccurate. Talk to a human