How to Flash a Juniper CTP Compact Flash Card: 58 Steps
This serves as a detailed procedure guide to reformat the Juniper CTP compact flash cards. Procedure is written using 4.3R2 ctp image and 2.2R2 ctpview server.
Steps
1. Download ctp image file from Juniper's website
2. Power ctpview server
3. Connect a laptop nic to ctpview server nic via crossover cable
4. Establish secure file transfer session with ctpview server from laptop
5.Copy downloaded ctp image file previously downloaded from laptop into ctpview server's /var/www/html/flash directory
6. Login to ctpview server
7. Connect compact flash card reader to ctpview server
8. Remove rear cpu module from ctp system
9. Remove compact flash card from cpu board
10. Insert compact flash card into compact flash card reader
11. Change to root in ctpview server by issuing the "su" command followed by password
12. Change directoy to sbin by issuing the "cd /sbin/" command
13. Format the compact flash card by issuing the "fdisk /dev/sdc" command
14. Then press d then enter then 1 to delete partition 1
15. Then press d then enter then 2 to delete partition 2
16. Then press d to delete partition 3
17. Then press w to write changes
18. Create a ext2 filesystem by issuing the "mkfs.ext2 /dev/sdc" command
19. Hit enter to confirm file name
20. Mount the compact flash file system by issuing the "mount -t ext2 /dev/sdc /mnt/flash" command
21. Navigate to the /var/www/html/flash/ directory by issuing the "cd /var/www/html/flash/" command
22. Edit the burn_flash script by issuing the "nano ./burn_flash" command
23. Then scroll down to the #FLASH="/dev/sd*" line
24. Edit the line as follows
25. FLASH="/dev/sdc"
26. Press CTRL-X to exit
27. Press y to save changes
28. Reformat the flash by issuing the "./burn_flash 4.3R2" command
29. Then enter y to verify /dev/sdc usb device
30. Then wait for command to finish
31. Unmount the compact flash card by issing the "umount /dev/sdc" command
32. Remove the compact flash card from the reader
33. Insert the compact flash card back into the ctp cpu module
34. Insert the ctp cpu module back into the ctp system
35. Power on the ctp system and DONE!
Post a Comment Blogger Facebook