Show version command output shows wrong model

This article describes how to obtain the correct SRX model information after the show version command output has shown the wrong SRX model number or even a completely different model (such as the M40).

On an SRX, the output of the show version command shows the following incorrect model (M40, instead of SRX):

The correct output should be as follows:

This issue can be caused by a corrupt image, corrupt kernel, or a Junos version mismatch between the compact flash and hard disk.

To recover the correct model within the RE, use one of the following methods:

Method 1:

1. Enter the shell as the root user:

This outputs the product model, as currently viewed by the device.
2. Enter db mode:

3. Load the image again (using the same procedure: request system software add).

4. Reboot the device.

Method 2:

Note: This method can wipe out the entire configuration. Back up the logs and configuration before proceeding.

1. Reboot the device (using a console connection).

2. Look for the following message:

3. Hold down the space bar. You will be directed to the OK prompt. Enter the commands below in the order shown:

Note: If the kernel cannot be found, go to Method 3.

4. After the device comes up (after booting), re-install the image.

Method 3:

Note: This method can wipe out the entire configuration. Back up the logs and configuration before proceeding.

1. If Method 2 fails, the kernel may be corrupt. Wipe out the kernel, using the command below:

2. When the device comes back up, execute the following commands:

Note: When the device is up, it will have the version that was on the hard disk.

3. If the version is incorrect, re-install the image and reboot the device.

4. When the device comes back up, reload the configuration on the device.

About the author

Prasanna

Leave a Comment