# Monitoring Modules

Use the following commands to view information about all router modules.

show hardware

- Use to display information about SRP modules, line modules, and I/O modules in ERX7xx models, ERX14xx models, and the ERX310 router.
- Use to display information about the chassis, SRP modules, SFMs, line modules, IOAs, and the fan tray in the E120 and E320 routers.
- Field descriptions
  - slot—Physical slot that contains the module
  - type—Kind of module or chassis and fan tray in the E120 and E320 routers; an “e” at the end of an SRP module type (for example, SRP-5Ge) indicates that the module includes error-checking code (ECC) memory.
  - serial number—Serial number of the module, chassis, or fan tray
  - assembly number—Part number of the module, chassis, or fan tray
  - assembly rev.—Hardware revision of the module, chassis, or fan tray
  - ram (MB)—Memory capacity of the host processor
  - number of MAC addresses—Total number of Ethernet addresses on an I/O module or an IOA
  - base MAC address—Lowest Ethernet address on an I/O module or an IOA
  - Tray—Number of the fan tray in the E120 and E320 routers; 0 indicates the primary fan
  - Major/Minor rev—Revision number of the module on the E120 and E320 routers
- Example 1—Displays the status of hardware on an ERX7xx model

      host1#show hardware
                                  serial      assembly    assembly   ram
      slot         type           number       number       rev.     (MB)
      ----   ----------------   ----------   ----------   --------   ----
      0      SRP-10Ge           4305358981   3500005472     A06      2048
      1      SRP-10Ge           4305359020   3500005472     A06      2048
      2            ---             ---          ---         ---      ---
      3            ---             ---          ---         ---      ---
      4      CT3-12             4305337201   3500010901     A07      128
      5      OC3/OC12/DS3-ATM   4605300290   3500103958     A06      256
      6      GE/FE              4605340294   3500104554     A08      256

                                                                   number
                                                                     of
                               serial      assembly    assembly      MAC
      slot       type          number       number       rev.     addresses
      ----   -------------   ----------   ----------   --------   ---------
      0           ---           ---          ---         ---         ---
      1      SRP-10Ge I/O    4605250426   3500003302     A02          1
      2           ---           ---          ---         ---         ---
      3           ---           ---          ---         ---         ---
      4      CT3/T3-12 I/O   4305316605   3500010801     A02
      5      OC3(8)-MM I/O   4304443600   4500001501     A03          4
      6      GE-SFP I/O      4605310064   4500002001     A05          1
                  base
      slot    MAC address
      ----   --------------
      0           ---
      1      0090.1aa0.577a
      2           ---
      3           ---
      4
      5      0090.1a41.7c68
      6      0090.1aa0.6216

- Example 2—Displays the status of hardware on the E320 router

      host1#show hardware

                        Chassis
                               -------
                  serial      assembly    assembly   Major/Minor
       type       number       number       rev.         rev
      -------   ----------   ----------   --------   -----------
      Chassis   5504200687   4400006402      01         0.101

                              Modules
                                      -------
                         serial      assembly    assembly   ram    Major/Min
      slot    type       number       number       rev.     (MB)       rev
      ----   -------   ----------   ----------   --------   ----   ---------
      0        ---        ---          ---         ---      ---        ---
      1        ---        ---          ---         ---      ---        ---
      2      LM-4      4303470363   4500006301      01      256       1.101
      3        ---        ---          ---         ---      ---        ---
      4        ---        ---          ---         ---      ---        ---
      5        ---        ---          ---         ---      ---        ---
      6        ---        ---          ---         ---      ---        ---
      6        ---        ---          ---         ---      ---        ---
      7      SRP-100   4304218323   4500006601      03      1024      1.103
      7      SFM-100   4304218323   4500006601      03      ---       1.103
      8      SFM-100   4304206756   4500006701      04      ---       1.104
      9      SFM-100   4304206762   4500006701      04      ---       1.104
      10     SFM-100   4304206737   4500006701      04      ---       1.104
      11       ---        ---          ---         ---      ---        ---
      12       ---        ---          ---         ---      ---        ---
      13       ---        ---          ---         ---      ---        ---
      14       ---        ---          ---         ---      ---        ---
      15       ---        ---          ---         ---      ---        ---
      16       ---        ---          ---         ---      ---        ---

                            Adapters
                                   --------
                                                              number
                                                                of
                          serial      assembly    assembly      MAC
      slot     type       number       number       rev.     addresses
      ----   --------   ----------   ----------   --------   ---------
      0/0      ---         ---          ---         ---         ---
      0/1      ---         ---          ---         ---         ---
      1/0      ---         ---          ---         ---         ---
      1/1      ---         ---          ---         ---         ---
      2/0    GE-4 IOA   4304020462   4500006800      11          4
      2/1      ---         ---          ---         ---         ---
      3/0      ---         ---          ---         ---         ---
      3/1      ---         ---          ---         ---         ---
      4/0      ---         ---          ---         ---         ---
      4/1      ---         ---          ---         ---         ---
      5/0      ---         ---          ---         ---         ---
      5/1      ---         ---          ---         ---         ---
      7/0    SRP IOA    4303470366   4500006500      02          2
      11/0     ---         ---          ---         ---         ---
      11/1     ---         ---          ---         ---         ---
      12/0     ---         ---          ---         ---         ---
      12/1     ---         ---          ---         ---         ---
      13/0     ---         ---          ---         ---         ---
      13/1     ---         ---          ---         ---         ---
      14/0     ---         ---          ---         ---         ---
      14/1     ---         ---          ---         ---         ---
      15/0     ---         ---          ---         ---         ---
      15/1     ---         ---          ---         ---         ---
      16/0     ---         ---          ---         ---         ---
      16/1     ---         ---          ---         ---         ---
                  base        Major/Minor
      slot    MAC address         rev
      ----   --------------   -----------
      0/0         ---             ---
      0/1         ---             ---
      1/0         ---             ---
      1/1         ---             ---
      2/0    0090.1a00.17ec      1.111
      2/1         ---             ---
      3/0         ---             ---
      3/1         ---             ---
      4/0         ---             ---
      4/1         ---             ---
      5/0         ---             ---
      5/1         ---             ---
      7/0    0090.1a00.17ae      1.102
      11/0        ---             ---
      11/1        ---             ---
      12/0        ---             ---
      12/1        ---             ---
      13/0        ---             ---
      13/1        ---             ---
      14/0        ---             ---
      14/1        ---             ---
      15/0        ---             ---
      15/1        ---             ---
      16/0        ---             ---
      16/1        ---             ---

                              Fan(s)
                                     ------
                             serial      assembly    assembly   Major/Minor
      Tray      type         number       number       rev.         rev
      ----   -----------   ----------   ----------   --------   -----------
      0      Primary FAN   4303370009   4400007000      01         1.101
      ---        ---          ---          ---         ---          ---

- Example 3—Displays the status of hardware on the E120 router

      host1#show hardware
                               Chassis
                               -------
                  serial      assembly    assembly   Major/Minor
       type       number       number       rev.         rev
      -------   ----------   ----------   --------   -----------
      Chassis   4307018011   4580002602      01         0.101

                                      Modules
                                      -------
                         serial      assembly    assembly   ram    Major/Minor
      slot    type       number       number       rev.     (MB)       rev
      ----   -------   ----------   ----------   --------   ----   -----------
      0        ---        ---          ---         ---      ---        ---
      1      LM-10     4306493492   4500009501      08      1024      1.108
      2      LM-10     4306493502   4500009501      08      1024      1.108
      3        ---        ---          ---         ---      ---        ---
      4        ---        ---          ---         ---      ---        ---
      5        ---        ---          ---         ---      ---        ---
      6      SRP-120   4306483377   4501008401      02      4096      1.102
      6      SFM-120   4306483377   4501008401      02      ---       1.102
      7      SRP-120   4306483378   4501008401      02      4096      1.102
      7      SFM-120   4306483378   4501008401      02      ---       1.102
      8      SFM-120   4306493692   4501008501      02      ---       1.102
      9      SFM-120   4306493725   4501008501      02      ---       1.102
      10     SFM-120   4306493734   4501008501      02      ---       1.102

                                   Adapters
                                   --------
                                                              number
                                                                of
                          serial      assembly    assembly      MAC
      slot     type       number       number       rev.     addresses
      ----   --------   ----------   ----------   --------   ---------
      0/0      ---         ---          ---         ---         ---
      0/1      ---         ---          ---         ---         ---
      1/0      ---         ---          ---         ---         ---
      1/1    GE-8 IOA   4306472048   4500009102     A04          8
      2/0      ---         ---          ---         ---         ---
      2/1    GE-8 IOA   4306362247   4500009102     A03          8
      3/0      ---         ---          ---         ---         ---
      3/1      ---         ---          ---         ---         ---
      4/0      ---         ---          ---         ---         ---
      4/1      ---         ---          ---         ---         ---
      5/0      ---         ---          ---         ---         ---
      5/1      ---         ---          ---         ---         ---
      6/0    SRP IOA    4306483232   4501006502     A00          2
                  base        Major/Minor
      slot    MAC address         rev
      ----   --------------   -----------
      0/0         ---             ---
      0/1         ---             ---
      1/0         ---             ---
      1/1    0090.1a42.7327       2.4
      2/0         ---             ---
      2/1    0090.1a42.5223       2.3
      3/0         ---             ---
      3/1         ---             ---
      4/0         ---             ---
      4/1         ---             ---
      5/0         ---             ---
      5/1         ---             ---
      6/0    0090.1a42.76c4       2.0

                                     Fan(s)
                                     ------
                             serial      assembly    assembly   Major/Minor
      Tray      type         number       number       rev.         rev
      ----   -----------   ----------   ----------   --------   -----------
      0      Primary FAN   4306505285   4400010001      01         1.101

- See show hardware.

show utilization

- Use to display information about the resources that modules consume.
- When you issue this command, the router releases available memory on the SRP module immediately; however, the display appears a few seconds later.
- To display detailed information about the average CPU utilization percentage calculated over 5-second, 1-minute, and 5-minute intervals for each module installed in the router, use the detail keyword.
- Field descriptions
  - slot—Slot in which the module resides
  - type—Type of module
  - heap (%)—Percentage of the RAM that is currently in use by software running on the module
  - cpu (%)—Percentage of the module CPU capacity currently used; this field appears only when the detail keyword is omitted
  - bw exceed—Status of bandwidth oversubscription for this slot; this field appears only when bandwidth oversubscription is configured
    - Y indicates that this slot is in an oversubscribed slot group
    - --- indicates that no module is installed or slot has no bandwidth oversubscription
  - The following additional fields appear when the detail keyword is used:
    - last available cpu (%)—Average CPU utilization percentage for each installed module during the last 5-second interval for which data was available. If the current CPU utilization data for a module is not available at any point, the last available cpu (%) field displays the last available 5-second CPU utilization percentage, which is the same value that appears in the cpu (%) field when the detail keyword is omitted. If the current 5-second CPU utilization data is available, the last available cpu (%) field and the 5 sec cpu (%) field display the same value.
    - 5 sec cpu (%)—Average CPU utilization percentage for each installed module during the most recent 5-second interval
    - 1 min cpu (%)—Average CPU utilization percentage for each installed module during the most recent 1-minute interval
    - 5 min cpu (%)—Average CPU utilization percentage for each installed module during the most recent 5-minute interval
  - Depending on the output of the show utilization command when you use the detail keyword, some or all of the following symbols and explanatory notes might appear:
    - --- indicates an empty slot on ERX7xx models, ERX14xx models, or the ERX310 router. For the E120 and E320 routers, this symbol indicates either an empty slot, or a fabric slice that resides on an SRP module or on a switch fabric module (SFM).
    - ??? indicates that the current CPU utilization data is unavailable for the specified interval. Data might be unavailable for one or more of the following reasons:
      - A slot is in an inactive state.
      - A line module is very busy (that is, using 100 percent of its CPU capacity) and is unable to send its CPU utilization data to the SRP module.
      - A line module is experiencing communication problems that prevent it from sending its CPU utilization data to the SRP module.
    - *** indicates that a module installed in the slot is running an incompatible version of JunosE Software.
- Example 1—Displays basic information about the resources consumed on the router

      host1#show utilization
      Please wait....
              System Resource Utilization
              ---------------------------
                            heap   cpu     bw
      slot       type       (%)    (%)   exceed
      ----   ------------   ----   ---   ------
      0          ---        ---    ---    ---
      1      OC12Atm(P2)     59    44      Y
      2      OC3/OC12-ATM    67    53      Y
      3          ---        ---    ---    ---
      4          ---        ---    ---    ---
      5      OC3d            79     0     ---
      6      SRP-10G         27     1     ---
      7          ---        ---    ---    ---
      8          ---        ---    ---    ---
      9          ---        ---    ---    ---
      10         ---        ---    ---    ---
      11         ---        ---    ---    ---
      12         ---        ---    ---    ---
      13         ---        ---    ---    ---

- Example 2—Displays detailed information about the average CPU utilization percentage calculated over 5-second, 1-minute, and 5-minute intervals for each module installed in an ERX7xx model, ERX14xx model, or ERX310 router

  In this example, slot 12 is empty (as indicated by the --- symbol), the CPU utilization for the FE-8 module installed in slot 10 is unavailable (as indicated by the ??? symbol), and the SRP module installed in slot 7 is running an incompatible version of JunosE Software (as indicated by the *** symbol).

      host1#show utilization detail
      Please wait...
                        System Resource Utilization
                        ---------------------------
                                                       5     1     5
                                   last               sec   min   min
                          heap   available     bw     cpu   cpu   cpu
      slot      type      (%)     cpu (%)    exceed   (%)   (%)   (%)
      ----   ----------   ----   ---------   ------   ---   ---   ---
      0      OC3-4A        63      76         ---     76     70    71
      1      COC3/COC12    11       2         ---      2      4     3
      2      COC3-4        39      11         ---     11     17    20
      3      OC3-4A        58      61         ---    ???    ???    68
      4      OC3-4A        88     100         ---    100     96    92
      5      OC3-4A        94     100         ---    100     93    87
      6      SRP-40G+      11      84         ---     84     85    73
      7      SRP-40G+      18      29         ---    ***    ***   ***
      8      OC3-4P        25      20         ---     20     17    22
      9      FE-8          61      48         ---     48     53    47
      10     FE-8         ???     ???         ---    ???    ???   ???
      11     CT3-12        11       2         ---      2      4    10
      12       ---        ---     ---         ---    ---    ---   ---
      13     CT3-12        32      16         ---     16     12    16

      Note: '---' indicates empty slots.
            '???' indicates data not available.
            '***' indicates board running incompatible version of software.

- Example 3—Displays detailed information about the average CPU utilization percentage calculated over 5-second, 1-minute, and 5-minute intervals for each module installed in an E320 router.

  In this example, slots 3, 5, 12, 14, and 16 are empty (as indicated by the --- symbol), fabric slices are present on the SFM-100 modules in slots 8, 9, and 10 (also indicated by the --- symbol), the CPU utilization for the LM-4 module installed in slot 1 is unavailable (as indicated by the ??? symbol), and the SRP-100 module installed in slot 7 is running an incompatible version of JunosE Software (as indicated by the *** symbol).

      host1#show utilization detail
      Please wait...
                        System Resource Utilization
                        ---------------------------
                                                       5     1     5
                                   last               sec   min   min
                          heap   available     bw     cpu   cpu   cpu
      slot      type      (%)     cpu (%)    exceed   (%)   (%)   (%)
      ----   ----------   ----   ---------   ------   ---   ---   ---
      0      LM-4       9         1           ---      1     1     1
      1      LM-4      ???       ???          ---     ???   ???   ???
      2      LM-4       23        3           ---     ???    4     8
      3        ---     ---       ---          ---     ---   ---   ---
      4      LM-4       60        1           ---      1     1     1
      5        ---     ---       ---          ---     ---   ---   ---
      6      SRP-100    15        3           ---      3     2     3
      7      SRP-100    10        1           ---     ***   ***   ***
      8      SFM-100   ---       ---          ---     ---   ---   ---
      9      SFM-100   ---       ---          ---     ---   ---   ---
      10     SFM-100   ---       ---          ---     ---   ---   ---
      11     LM-4       60        1           ---      1     1     1
      12       ---     ---       ---          ---     ---   ---   ---
      13     LM-4       68        3           ---      3     3     3
      14       ---     ---       ---          ---     ---   ---   ---
      15     LM-4       66        1           ---      1     1     1
      16       ---     ---       ---          ---     ---   ---   ---
        Note: '---' indicates empty slots or fabric Slices.
              '???' indicates data not available.
              '***' indicates board running incompatible version of software.

- See show utilization.