Removing and Inserting the CompactFlash Card
The CompactFlash card is an optional component of the M7i router. If installed, it provides primary storage for the router. It can accommodate software images, configuration files, and microcode.
To remove, insert and configure an CompactFlash card, perform the following procedures:
Removing the CompactFlash Card from a Routing Engine
The CompactFlash card is located inside the Routing Engine. To remove the CompactFlash card (see Figure 1):
- Place an electrostatic bag or antistatic mat on a flat, stable surface.
- Attach an electrostatic discharge (ESD) grounding strap to your bare wrist and connect the strap to one of the ESD points on the chassis. Verify that the router is attached to a proper earth ground.
- Remove the Routing Engine as described in Removing an M7i Routing Engine.
- Use needlenose pliers with grooved jaws to pull the wire clasp out from under the CompactFlash card and lift it up (see Figure 1).
- Use the needlenose pliers to gently grasp the CompactFlash card and slide it out of the connector. Place the CompactFlash card on the antistatic mat or in the electrostatic bag.
Figure 1: Removing the CompactFlash Card

Inserting the CompactFlash Card
To install the CompactFlash card (see Figure 2):
- Attach an electrostatic discharge (ESD) grounding strap to your bare wrist and connect the strap to one of the ESD points on the chassis. Verify that the router is attached to a proper earth ground.
- If the CompactFlash card is in a PCMCIA card adapter, slide it out of the adapter.
- Slide the CompactFlash card into the connector on the Routing Engine (see Figure 2).
- Use needlenose pliers with grooved jaws to lower and secure the wire clasp.
- Install the Routing Engine as described in Installing the Routing Engine in a M7i Router.
Figure 2: Inserting the CompactFlash Card

Configuring the CompactFlash Card
After installing the CompactFlash card for the first time, you must copy the software from the Routing Engine's hard disk to the CompactFlash card.
To copy software to the CompactFlash card:
- Install the CompactFlash card and replace the Routing Engine as described in Inserting the CompactFlash Card and Installing the Routing Engine in a M7i Router.
- On the console or other management device connected
to the Routing Engine, enter CLI operational mode and issue the following
command to copy the currently running and active file system partitions
on the router to standby partitions on the CompactFlash card.
user@host> request system snapshot partitionWait until a message appears on the console confirming that the procedure is complete.
For more information about the command, see the Junos System Basics and Services Command Reference.
- Issue the following command to reboot the router's
software:
user@host> request system rebootThe CompactFlash card will now be the primary boot device.
- You can verify correct boot order by issuing the show system boot-messages command. The output lists the devices
mounted. The CompactFlash card is located at ad0.
For more information about the command, see the Junos System Basics and Services Command Reference.
