Command introduced before JUNOS Release 7.4.
Display real-time statistics about interfaces, updating the statistics every second. Check for and display common interface failures, such as SONET/SDH and T3 alarms, loopbacks detected, and increases in framing errors.
none — Display real-time statistics for all interfaces.
interface-name — (Optional) Display real-time statistics for the specified interface.
traffic — (Optional) Display traffic data for all active interfaces.
detail — (Optional) With traffic option only, display detailed output.
The output of this command shows how much each field has changed since you started the command or since you cleared the counters by using the c key. For a description of the statistical information provided in the output of this command, see the show interfaces extensive command for a particular interface type in the JUNOS Interfaces Command Reference. To control the output of the monitor interface interface-name command while it is running, use the keys listed in Table 17. The keys are not case-sensitive.
Table 17: Output Control Keys for the monitor interface interface-name Command
To control the output of the monitor interface traffic command while it is running, use the keys listed in Table 18. The keys are not case-sensitive.
Table 18: Output Control Keys for the monitor interface traffic Command
trace
Table 19 describes the output fields for the monitor interface command. Output fields are listed in the approximate order in which they appear.
Table 19: monitor interface Output Fields
user@host> monitor interface so-0/0/0router1 Seconds: 19 Time: 15:46:29 Interface: so-0/0/0, Enabled, Link is Up Encapsulation: PPP, Keepalives, Speed: OC48 Traffic statistics: Current Delta Input packets: 6045 (0 pps) [11] Input bytes: 6290065 (0 bps) [13882] Output packets: 10376 (0 pps) [10] Output bytes: 10365540 (0 bps) [9418] Encapsulation statistics: Input keepalives: 1901 [2] Output keepalives: 1901 [2] NCP state: Opened LCP state: Opened Error statistics: Input errors: 0 [0] Input drops: 0 [0] Input framing errors: 0 [0] Policed discards: 0 [0] L3 incompletes: 0 [0] L2 channel errors: 0 [0] L2 mismatch timeouts: 0 [0] Carrier transitions: 1 [0] Output errors: 0 [0] Output drops: 0 [0] Aged packets: 0 [0] Active alarms : None Active defects: None SONET error counts/seconds: LOS count 1 [0] LOF count 1 [0] SEF count 1 [0] ES-S 0 [0] SES-S 0 [0] SONET statistics: BIP-B1 458871 [0] BIP-B2 460072 [0] REI-L 465610 [0] BIP-B3 458978 [0] REI-P 458773 [0] Received SONET overhead: F1 : 0x00 J0 : 0x00 K1 : 0x00 K2 : 0x00 S1 : 0x00 C2 : 0x00 C2(cmp) : 0x00 F2 : 0x00 Z3 : 0x00 Z4 : 0x00 S1(cmp) : 0x00 Transmitted SONET overhead: F1 : 0x00 J0 : 0x01 K1 : 0x00 K2 : 0x00 S1 : 0x00 C2 : 0xcf F2 : 0x00 Z3 : 0x00 Z4 : 0x00 Next='n', Quit='q' or ESC, Freeze='f', Thaw='t', Clear='c', Interface='i'
user@host> monitor interface so-1/0/0.0 host name Seconds: 16 Time: 15:33:39
Delay: 0/0/1
Interface: so-1/0/0.0, Enabled, Link is Down
Flags: Hardware-Down Point-To-Point SNMP-Traps
Encapsulation: PPP
Local statistics: Current delta
Input bytes: 0 [0]
Output bytes: 0 [0]
Input packets: 0 [0]
Output packets: 0 [0]
Remote statistics:
Input bytes: 0 (0 bps) [0]
Output bytes: 0 (0 bps) [0]
Input packets: 0 (0 pps) [0]
Output packets: 0 (0 pps) [0]
Traffic statistics:
Destination address: 192.168.8.193, Local: 192.168.8.21
Next='n', Quit='q' or ESC, Freeze='f', Thaw='t', Clear='c', Interface='i'
user@host> monitor interface traffic host name Seconds: 15 Time: 12:31:09 Interface Link Input packets (pps) Output packets (pps) so-1/0/0 Down 0 (0) 0 (0) so-1/1/0 Down 0 (0) 0 (0) so-1/1/1 Down 0 (0) 0 (0) so-1/1/2 Down 0 (0) 0 (0) so-1/1/3 Down 0 (0) 0 (0) t3-1/2/0 Down 0 (0) 0 (0) t3-1/2/1 Down 0 (0) 0 (0) t3-1/2/2 Down 0 (0) 0 (0) t3-1/2/3 Down 0 (0) 0 (0) so-2/0/0 Up 211035 (1) 36778 (0) so-2/0/1 Up 192753 (1) 36782 (0) so-2/0/2 Up 211020 (1) 36779 (0) so-2/0/3 Up 211029 (1) 36776 (0) so-2/1/0 Up 189378 (1) 36349 (0) so-2/1/1 Down 0 (0) 18747 (0) so-2/1/2 Down 0 (0) 16078 (0) so-2/1/3 Up 0 (0) 80338 (0) at-2/3/0 Up 0 (0) 0 (0) at-2/3/1 Down 0 (0) 0 (0) Bytes=b, Clear=c, Delta=d, Packets=p, Quit=q or ESC, Rate=r, Up=^U, Down=^D
monitor interface traffic detail
user@host> monitor interface traffic detail host name Seconds: 15 Time: 12:31:09 Interface Link Input packets (pps) Output packets (pps) Description t1-0/1/1:0 Up 19769 (0) 0 (0) To-OSAKA-1 ... Bytes=b, Clear=c, Delta=d, Packets=p, Quit=q or ESC, Rate=r, Up=^U, Down=^D