Monitoring the System
This section provides basic system commands that allow you to display information about the router's state. The show configuration command, for example, allows you to display the router's entire configuration.
baseline show-delta-counts
- Use to configure the system to always display statistics relative to the most recent appropriate baseline.
- The system collects many statistics during its operation. Various show commands are available to display these statistics. Baselining allows the user to identify a point in time relative to which such statistics can be reported.
- Typically, the optional delta keyword is used with show commands to specify that baselined statistics are to be shown. This command applies the "delta" function implicitly.
- Example
host1#baseline show-delta-countsUse the no version to have access to the total statistics. show configuration
- Use to display the current (running) configuration of the router, a specified virtual router, a specified interface, or a specified category of router settings.
- See full description and examples in show configuration on 177.
show environment
- Use to display information about the router's physical environment, such as voltage or temperature.
- Optionally, specify the all keyword to view both the system environment information and the detailed temperature status table, or specify the table keyword to view only the temperature status table.
- The system displays a message if the voltage or temperature exceeds normal operating limits.
- The system enters thermal protection mode if the temperature exceeds maximum operating limits. For information about thermal protection mode, see E-series Hardware Guide, Chapter 10, Troubleshooting.
- Field descriptions
- midplaneId14Slot—5 Gbps, 14 slot midplane
- midplaneId7Slot—5 Gbps, 7 slot midplane
- midplaneIdRx1400—10 Gbps ASIC compatible, 12 line module slots, 2 SRP module slots for ERX-14xx models
- midplaneIdRx700—10 Gbps ASIC compatible, 5 line module slots, 2 SRP module slots for ERX-7xx models
- fabric—Capacity and hardware revision of fabric
- fans—Status of fans
- nvs—Capacity of NVS and amount of space used
- power—States of power feeds
- AC power—For ERX-310 routers only; states of power feeds
- srp redundancy—Availability of a redundant SRP card
- slots: cards missing or offline—Status of each slot
- width—Number of slots the redundant midplane covers
- spare—Slot that contains spare line module
- primary—Slot that contains the primary line module
- primary—Type and status of the primary timing signal
- secondary—Type and status of the secondary timing signal
- tertiary—Type and status of the tertiary timing signal
- auto-upgrade—Status of the auto-upgrade parameter, which enables the system to revert to a higher-priority timing source after switching to a lower-priority timing source.
- system operational—Status of system
- slot—Number of the slot in which the module resides
- processor temperature—Temperature of line module or SRP module
- processor temperature status—Temperature condition of the line module
- normal—Temperature is in normal range
- too hot—Module is too hot; system will go into thermal protection mode if temperature of any module exceeds 80° C
- too cold—Module is too cold; system will go into thermal protection mode if temperature of any module drops below -5° C
- IOA temperature—Temperature of corresponding I/O module
- IOA temperature status—Temperature condition of the corresponding I/O module
- normal—Temperature is in normal range
- too hot—Module is too hot; system will go into thermal protection mode if temperature of any module exceeds 80° C
- too cold—Module is too cold; system will go into thermal protection mode if temperature of any module drops below -5° C
host1#show environment allchassis: 14 slot (id 0x3, rev. 0x0)fabric: 5 Gbps (rev. 1)fans: oknvs: ok (81MB flash disk, 54% full)power: A ok, B not presentAC power: A not present, B not presentsrp redundancy: none*** slots: cards missing or offlineonline: 6 9standby: 8offline: 2empty: 0 1 3 4 5 7 10 11 12 13line redundancy: 1 redundancy group(s)width 6, spare 8, primary 9temperature: oktiming: primaryprimary: internal SC oscillator (ok)secondary: internal SC oscillator (ok)tertiary: internal SC oscillator (ok)auto-upgrade enabled*** system operational: noprocessor processor IOA IOAtemperature temperature temperature temperatureslot (10C - 70C) status (10C - 70C) status---- ----------- ----------- ----------- -----------0 31 normal 30 normal3 31 normal 30 normal5 31 normal 30 normal7 31 normal 30 normalprocessor temperature rangesbelow -5C is too coldabove 80C is too hotlow temperature warning below 10Chigh temperature warning above 70CIOA temperature rangesbelow -5C is too coldabove 80C is too hotlow temperature warning below 10Chigh temperature warning above 70Cshow hosts
- name—Name of the host
- ip address—IPv4 or IPv6 address of the host
- type of host—Type of host, for example ftp means an FTP server
host1#show hostsStatic Host Table-----------------name ip address type---- ----------- ----host1 10.2.0.124 ftpStatic Host Table-----------------name ip address type------ ------------------------------------- ----george 1111:2222:3333:4444:5555:6666:7777:8888 ftpdsw 10.10.121.42 ftpdeab 10.6.128.12 ftpsd 10.10.121.80 ftpNFS Host Table--------------name userid groupid---- ------ -------deab 2001 100show processes cpu
- task name—Name of process
- times invoked—Number of times process has been invoked
- invocations per second—Frequency of process invocation
- total running time (msec)—Time the process has been running
- percent running time—Percentage of total running time attributable to this process
- average time per invocation (usec)—Average number of microseconds per invocation of this process
- 5 second utilization (%)—CPU use by process for the last 5 seconds
- 1 minute utilization (%)—CPU use by process for the last minute
- 5 minute utilization—CPU use by process for the last 5 minutes
host1#show processes cpuProcess Statistics------------------totalinvocations running percenttimes per time runningtask name invoked second (msec) time--------------------- ------- ----------- -------- -------aaaAtm1483Config 1 0 0 0%aaaServer 52 0 260 0%agent1 399 0 3600 0%ar1EthHelp 362856 4 590 0%...templateMgr 48 0 540 0%timerd 2346566 32 0 0%~GONE~ 405202 5 184700 0%~IDLE~ 0 0 360 0%~INTERRUPT~ 8840490 121 51050 0%averagetime 5 1 5per second minute minuteinvocation utilization utilization utilizationtask name (usec) (%) (%) (%)--------------------- ---------- ----------- ----------- -----------aaaAtm1483Config 0 0 0 0aaaServer 5000 0 0 0agent1 9022 0 0 0ar1EthHelp 1 0 0 0ar1InternalNetwork 19 0 0 0...~IDLE~ --- 0 0 0~INTERRUPT~ 5 0 0 0show processes memory
- Use to display the amount of memory-related resources used by system processes. Because the router allocates memory to system processes in chunks, issuing this command performs a cleanup process to gather unused, available memory for reallocation.
- You can display different output variations by using the application, slot, and virtual-router keywords. In addition, you can combine these keywords in specific ways to display information combinations of application, slot, and virtual router.
- The appearance of parentheses in the output is significant. The parentheses indicate "partial accountability" of the current memory size. In other words, the values are accurate for the row in which they appear, but the memory value used for calculating the sum total for the column may be smaller than the value displayed. This may result in the sum total for the "current size" column not matching the sum of the values that appear within the column. This disparity can occur under shared memory conditions where a portion of the memory size for one or more of the virtual routers may be accounted for elsewhere, resulting in a lower column total.
- Field descriptions
- Memory usage summary—Statistical information about the memory usage information being displayed
- application—Name of the application being viewed (if applicable); asterisk (*) if no application is specified
- router—Name of the virtual router being viewed (if applicable); asterisk (*) if no virtual router is specified
- app—Application to which the statistics information applies
- rtr—Virtual router to which the statistics information applies
- _unassoc_—Special virtual router output category that summarizes all memory that is not currently associated with any particular virtual router
- current size—Amount of memory reserved by the listed application or virtual router
- utilization—Percentage of reserved memory currently used for the listed application or router
- headroom—Amount of memory overage available to each listed application or virtual router (if needed); 100% indicates an unlimited headroom (that is, no memory limits are set for the application or virtual router)
host1#show processes memory application*** Memory usage summary (by application, 37 total) ***application: *router: *currentapp size utilization headroom---------- ------- ----------- --------aaa 98K 3% 100%bgp 90K 28% 100%bridge 1M 4% 100%cbf 256K 2% 100%cli 3K 8% 100%dcm 64K 7% 100%dhcp 644K 0% 100%dns 4K 6% 100%dvmrp 36K 0% 100%ethernet 3K 75% 100%forwarding 20K 50% 100%gplaan 52K 0% 100%igmp 1K 0% 100%...Example 2 host1#show processes memory virtual-router*** Memory usage summary (by router, 4 total) ***application: *router: *currentrtr size utilization headroom--------- ------- ----------- --------_unassoc_ (40M) 7% 99%default (339K) 23% 100%test (366K) 23% 100%vr5 (327K) 18% 100%--------- ------- ----------- --------Total: 41M 7% 99%Example 3 host1#show processes memory virtual-router vr5 application ip*** Memory usage summary (by VRF) ***application: iprouter: vr5currentvrf size utilization headroom--- ------- ----------- --------vr5 (19K) 48% 100%show reboot-history
- Use to display the history of system and module resets.
- You can display the current reboot.hty file or a saved reboot history file.
- If you have a redundant router, it can be convenient to copy the redundant module's reboot.hty file to another filename for viewing with this command.
- Field descriptions
- Entry—Number of entry in reboot history; numbers range from lowest (most recent reset) to highest (oldest reset)
- time of reset—Timestamp for reset
- run state—State of system at reset
- image type—Type of image running when the record is written
- boot—Module is running the boot file
- diagnostics—Module is running the diagnostics file
- application—Module is running the software file
host1#show reboot-history*** Entry 1 ***time of reset: TUE APR 10 2001 20:25:59 UTCrun state: unknownimage type: diagnosticslocation: slot (7)build date: 0x3abf4337 MON MAR 26 2001 13:25:11 UTCreset type: user reboot, task "scheduler", reason "not specified"*** Entry 2 ***time of reset: TUE APR 10 2001 20:25:44 UTCrun state: unknownimage type: diagnosticslocation: slot (8)build date: 0x3abf5d5f MON MAR 26 2001 15:16:47 UTCreset type: user reboot, task "scheduler", reason "not specified"*** Entry 3 ***time of reset: TUE APR 10 2001 20:25:03 UTCrun state: unknownimage type: diagnosticslocation: slot (4)build date: 0x3abf3ee0 MON MAR 26 2001 13:06:40 UTCreset type: user reboot, task "scheduler", reason "not specified"show running-configuration
- Use to display the configuration currently running on the router, a specified virtual router, a specified interface, or a specified category of router settings.
- See full description and examples in show running-configuration on 179.
show version
- Use to display the configuration of the router hardware and the software version.
- Field descriptions
- Model identification
- Copyright—Copyright details for the system software
- System Release—Filename, version, and date of the system software currently running on the router
- System running for—Time elapsed since the last boot of the router, date and time of last boot
- slot—Physical slot that contains the line module
- state—Status of the line module
- booting—Line module is booting
- disabled (assessing)—Router is evaluating the status of this line module
- disabled (admin)—Line module disabled by slot disable command
- disabled (cfg error)—Use of the line module in this slot violates the permitted configuration for the router. For example, the fabric cannot supply sufficient bandwidth to the line module in this position.
- disabled (image error)—Software for this line module is missing or corrupted
- disabled (mismatch)—Line module in this slot is a different type from that specified in the software. Correct the condition by inserting the original module, or use the slot accept command to find information about the new module.
- hardware error—Line module has a hardware fault
- inactive—Either the I/O module is not present, or this primary line module is fully booted and ready to resume operation. In the latter case, the spare is currently providing services.
- initializing—Transitional state before the line module proceeds to the online, standby, or inactive state; diagnostics are complete, module is initializing software
- online—Line module is operating
- not present—Line module configured for this slot is missing
- not responding—Line module has a hardware or ROM problem
- standby—Spare line module or SRP module is fully booted and ready to operate if the primary line module or active SRP module fails
- unknown—Transitional state while the SRP is initializing
- type—Kind of module; an "e" at the end of an SRP module type (for example, SRP-5Ge) indicates that the module includes error checking code (ECC)
- admin—Status of the slot in the software
- spare—Line module is a spare for line module redundancy
- running release—Software that is running on the line module
- The following symbols and notices may be displayed at the end of the report:
- # This release is a result of a subsystem override
- * This release is a result of a "boot slot" override
- # The running or armed release on the slot is the same as the armed release for a subsystem. A subsystem is all the line modules of one type, such as OC3.
- * This release reflects whichever release the router is armed with at startup.
- slot uptime—Length of time for which the module has been operational; a value of --- indicates that the module is not available.
host1#show versionJuniper Networks Edge Routing Switch ERX-700Copyright (c) 1999-200X Juniper Networks, Inc. All rights reserved.System Release: rx x-y-z.relVersion: x.y.z (November 28, 200X 10:22)System running for: 17 days, 17 hours, 15 minutes, 25 seconds(since THU NOV 30 200X 03:44:36 UTC)runningslot state type admin spare release slot uptime---- ------ ------- ------- ----- ---------- -------------0 online SRP-10G enabled --- mc_341.rel 0d00h:12m:52s1 --- --- --- --- --- ---2 --- --- --- --- --- ---3 online CT3 enabled --- mc_341.rel 0d00h:12m:33s4 --- --- --- --- --- ---5 online GE enabled --- mc_341.rel ---6 --- --- --- --- --- ---