[Contents] [Prev] [Next] [Index] [Report an Error]


Common Operational Mode CLI Commands To Monitor Router Components

NOTE: If the Forwarding Engine Board (FEB) on M5 and M10 routers, CFEB on M10i routers, SSB on M20 routers, SCB on M40 routers, SFM on M40e and M160 routers, or SIB on M320 routers, T320 routers and the T640 routing node is not running and if you log in to the backup Routing Engine, no information about chassis components is available through the CLI.


Action

To use the CLI to monitor routers, follow these steps:

  1. Log in to the router.
  2. At the command prompt, type cli to start the JUNOS software and enter operational mode.

    NOTE: You only need to type cli if you log in to the router as root. Otherwise, the CLI should already be in operational mode.


  3. Use one of the operational mode CLI commands listed in Table 14.

Table 14: Operational Mode CLI Commands for Router Monitoring
Command
Description
show version

Displays the router hostname, model number, and version of JUNOS software running on the router.

show chassis firmware

Displays firmware and operating system version for router components.

show chassis hardware

Displays an inventory of the hardware components installed in the router, including the component name, version, part number, serial number, and a brief description.

show chassis environment

Displays environmental information about the router chassis, including the temperature and status.

show chassis environment component-name

Displays more detailed operational status information about the following components:

  • M5, M10, M7i, M10i, M20 routers: Routing Engine
  • M40e and M160 routers: FPC, FPM, MCS, PCG, Power Entry Modules (PEM), Routing Engine, and SFM
  • M320 router: Control Board, FPC, FPM, PEM, Routing Engine, and SIB
  • T320 router and T640 routing node: Control Board, FPC, FPM, PEM, Routing Engine, SCG, and SIB
show chassis craft-interface

Displays operational status information about the router, including the alarm status and LED status of major components.

show chassis alarms

Displays the current router component alarms that have been generated, including the date, time, severity level, and description.

show chassis component-name

Displays more detailed operational status information about the following components:

  • M7i router: CFEB, FPC, PIC, and Routing Engine
  • M10i router: CFEB, Ethernet switch, FPC, PIC, and Routing Engine
  • M20 router: FPC, PIC, Routing Engine, and SSB
  • M40e/M160 router: Ethernet switch, FPCs, PICs, Routing Engine, and SFMs
  • M320 router: Ethernet switch, FPCs, SIBs, PICs, and Routing Engine
  • T320 router and T640 routing node: Ethernet switch, FPCs, PICs, Routing Engine, SIBs, and switch processor mezzanine board (SPMB)

The command displays the total CPU DRAM and SRAM being used by the SFM processor. The command output displays the time that the SFM became active and how long the SFM has been up and running. A small uptime means that the component came online a short time ago and could indicate a possible FPC error condition.

show log messages

Displays the contents of the messages system log file that records messages generated by component operational events, including error messages generated by component failures.

To monitor the messages file in real time, use the monitor start messages CLI command. This command displays the new entries in the file until you stop monitoring by using the monitor stop messages CLI command.

show log chassisd

Displays the contents of the chassis daemon (chassisd) log file that keeps track of the state of each chassis component

To monitor the chassisd file in real time, use the monitor start chassisd CLI command. This command displays the new entries in the file until you stop monitoring by using the monitor stop chassisd CLI command.

request support information

Use this command when you contact JTAC about your component problem. This command is the equivalent of using the following CLI commands (see "Contact JTAC" on page 35):

  • show system uptime
  • show version detail
  • show system core-dumps
  • show chassis hardware
  • show system processes extensive
  • show pfe statistics error
  • show chassis routing-engine
  • show chassis environment
  • show chassis firmware
  • show chassis fpc detail
  • show system boot-messages
  • show system storage
  • show system virtual-memory
  • show system buffer
  • show system queues
  • show system statistics
  • show configuration | except SECRET-DATA
  • show interfaces extensive (for each configured interface)
  • show chassis hardware extensive


[Contents] [Prev] [Next] [Index] [Report an Error]