Step 4: Monitor Statistics for a SONET Interface
Action
To monitor statistics for a SONET interface, use the following JUNOS CLI operational mode command:
user@host> monitor interfaceso-fpc/pic/portSample Output
user@router> monitor interface so-1/1/1router Seconds: 168 Time: 15:48:50Interface: so-1/1/1, Enabled, Link is DownEncapsulation: Cisco-HDLC, Keepalives, Speed: OC3Traffic statistics: Current DeltaInput bytes: 375527568 (0 bps) [0]Output bytes: 6612857 (0 bps) [475]Input packets: 224001 (0 pps) [0]Output packets: 102090 (0 pps) [20]Encapsulation statistics:Input keepalives: 0 [0]Output keepalives: 176 [17]Error statistics:Input errors: 0 [0]Input drops: 0 [0]Input framing errors: 179 [17]Policed discards: 47 [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]F2 : 0x00 Z3 : 0x00 Z4 : 0x00Interface warnings:o Received keepalive count is zeroo Framing errors are increasing, check FCS configuration and linkNext='n', Quit='q' or ESC, Freeze='f', Thaw='t', Clear='c', Interface='i'What It Means
This output checks for and displays common interface failures, whether or not loopback is detected, and any increases in framing errors. Information from this command can help you narrow down possible causes of an interface problem.
NOTE: If you are accessing the router from the console connection, make sure you set the CLI terminal type using the
set cli terminalcommand.
The statistics in the second column are the cumulative statistics since the last time they were cleared using the
clear interfaces statisticsinterface-namecommand. The statistics in the third column are the statistics since themonitor interfaceinterface-namecommand was executed.If the framing errors are increasing, verify that the frame check sequence (FCS) and scrambling configuration match on both ends of the connection. If the configuration is correct, check the cabling to the router and have the carrier verify the integrity of the line.
If the input errors are increasing, check the cabling to the router and have the carrier verify the integrity of the line.
If you are sending output keepalives but are not receiving any input keepalives, verify that the encapsulation and keepalive configurations match on both ends of the connection.
Table 28 lists and describes the SONET error statistics in the output for the
monitor interfacecommand. The output fields are listed in the order in which they appear in the output.
Table 28: SONET Error Statistics