Technical Documentation

Comparing Device Inventory in NSM and the CLI

NSM and the JUNOS command-line interface (CLI) display similar information about the device inventory, although screens rendered in NSM look different than the JUNOS CLI. This topic provides an introduction to viewing software and hardware inventory using NSM and compares the NSM view with the CLI output for the same device.

Viewing Device Inventory in NSM

Purpose

NSM displays the hardware and software inventory for each device according to the information it has in its database. For a device with dual Routing Engines, NSM collects the inventory data from the master Routing Engine.

To view the device inventory, the device must be in the Managed state.

Action

To view the device inventory, follow these steps:

  1. In the navigation tree, select Device Manager > Devices.
  2. Right-click the device whose inventory you want to view.
  3. Select View/Reconcile Inventory.

    The Device Inventory window opens, similar to the example shown in Figure 1.

    Figure 1: The Device Inventory Window

    Image s001337.gif

  4. Select the Hardware tab to display information about hardware modules in the device, including the I/O module, the Routing Engine, and so on. (See Figure 2.)

    Figure 2: Viewing the Hardware Inventory

    Image s001335.gif

  5. Select the Software tab to display information about the software packages installed in the device, including the installed OS and its version, and any other installed packages. (See Figure 3.)

    Figure 3: Viewing the Software Inventory

    Image s001336.gif

    Note: The License tab not supported for M-series or MX-series devices.

Viewing Device Inventory from the CLI

Purpose

The information displayed in the Device Inventory window, as shown in Viewing Device Inventory in NSM can also be viewed from the device (router) using the CLI operational mode. Generally, the hardware and software information displayed in the Device Inventory window and the CLI command output is similar.

Action

To view device hardware and software inventory, from the device enter the following JUNOS CLI operational mode commands:

show chassis hardware
show version

Sample Output

The following sample output shows hardware and software inventory for the same router used in Viewing Device Inventory in NSM.
user@host> show chassis hardware 
Hardware inventory:
Item             Version  Part number  Serial number     Description
Chassis                                39097             M10i
Midplane         REV 04   710-008920   CM0805            M10i Midplane
Power Supply 0   Rev 06   740-008537   5384103           AC Power Supply
Power Supply 1   Rev 06   740-008537   5384265           AC Power Supply
HCM 0            REV 03   710-010580   CM1272            M10i HCM
HCM 1            REV 03   710-010580   CM1187            M10i HCM
Routing Engine 0 REV 09   740-009459   1000602468        RE-5.0
CFEB 0           REV 09   750-010465   DK6820            Internet Processor II
FPC 0                                                    E-FPC
  PIC 0          REV 10   750-002971   CL0219            4x OC-3 SONET, MM
  PIC 1          REV 11   750-002992   CM4540            4x F/E, 100 BASE-TX
  PIC 2          REV 08   750-005724   CL9082            2x OC-3 ATM-II IQ, MM
  PIC 3          REV 08   750-005724   CL9078            2x OC-3 ATM-II IQ, MM
FPC 1                                                    E-FPC
  PIC 2          REV 12   750-008425   CG1204            Adaptive Services
  PIC 3          REV 12   750-012838   DJ0049            4x 1GE(LAN), IQ2
    Xcvr 0       REV 01   740-013111   7303532           SFP-T
    Xcvr 1       REV 01   740-013111   7314215           SFP-T
    Xcvr 2       REV 01   740-013111   7303398           SFP-T
    Xcvr 3       REV 01   740-013111   7303376           SFP-T
Fan Tray 1                                               Rear Right Fan Tray

user@host> show version
Hostname: host
Model: m10i
JUNOS Base OS boot [9.3B2.7]
JUNOS Base OS Software Suite [9.3B2.7]
JUNOS Kernel Software Suite [9.3B2.7]
JUNOS Crypto Software Suite [9.3B2.7]
JUNOS Packet Forwarding Engine Support (M/T Common) [9.3B2.7]
JUNOS Packet Forwarding Engine Support (M7i/M10i) [9.3B2.7]
JUNOS Online Documentation [9.3B2.7]
JUNOS Routing Software Suite [9.3B2.7]

Meaning

The sample output for the show chassis hardware command shows the hardware installed on the M10i device. The row of output showing the midplane is in bold to illustrate that the midplane information in this example is identical to the midplane information in the NSM UI example.

The sample output for the show version command shows the version of JUNOS software installed on the M10i device. In this instance, the CLI output provides more information than is provided by the NSM UI.


Updated: 2009-04-30