Monitoring interfaces and traffic from the cli, Using the monitor interface command – Juniper Networks J-Series User Manual
Page 267

Monitoring Interfaces and Traffic from the CLI
This section contains the following topics:
■
Using the monitor interface Command on page 245
■
Using the monitor traffic Command on page 246
Using the monitor interface Command
Use the CLI
monitor interface
command to display real-time traffic, error, alarm, and
filter statistics about a physical or logical interface. Enter the command with the
following syntax:
user@host> monitor interface (interface-name | traffic)
Replace
interface-name
with the name of a physical or logical interface. If you specify
the
traffic
option, statistics for all active interfaces are displayed.
The real-time statistics are updated every second. The
Current delta
and
Delta
columns
display the amount the statistics counters have changed since the
monitor interface
command was entered or since you cleared the delta counters. Table 127 on page
245 and Table 128 on page 245 list the keys you use to control the display using the
interface-name
and
traffic
options. (The keys are not case sensitive.)
Table 127: CLI monitor interface Output Control Keys
Action
Key
Clears (returns to 0) the delta counters in the
Current delta
column. The
statistics counters are not cleared.
c
Freezes the display, halting the update of the statistics and delta counters.
f
Displays information about a different interface. You are prompted for the
name of a specific interface.
i
Displays information about the next interface. The Services Router scrolls
through the physical and logical interfaces in the same order in which they
are displayed by the
show interfaces terse
command.
n
Quits the command and returns to the command prompt.
q or ESC
Thaws the display, resuming the update of the statistics and delta counters.
t
Table 128: CLI monitor interface traffic Output Control Keys
Action
Key
Displays the statistics in units of bytes and bytes per second (bps).
b
Clears (returns to 0) the delta counters in the
Delta
column. The statistics
counters are not cleared.
c
Using CLI Diagnostic Commands
■
245
Chapter 12: Using Services Router Diagnostic Tools