Step 5: Monitor Statistics for a Channelized OC-12 IQ Interface
Action
To monitor statistics for a Channelized OC-12 interface, use the following JUNOS CLI operational mode command:
user@host>monitor interfacesinterface-type-fpc/pic/port:channelSample Output
user@host>monitor interfaces so-0/0/0:1.0host Seconds: 10 Time: 00:23:13Delay: 0/0/32Interface: so-0/0/0:1.0,Enabled, Link is UpFlags: Point-To-Point SNMP-TrapsEncapsulation: PPPLocal statistics: Current deltaInput bytes: 431244 [0]Output bytes: 432268 [0]Input packets: 35933 [0]Output packets: 36019 [0]Remote statistics:Input bytes: 0 (0 bps) [0]Output bytes: 0 (0 bps) [0]Input packets: 0 (1 pps) [0]Output packets: 0 (0 pps) [0]Traffic statistics:Input bytes: 431244 [0]Output bytes: 432268 [0]Input packets: 35933 [0]Output packets: 36019 [0]Protocol: inet, MTU: 4470user@host>monitor interfaces t1-0/0/0:2:1.0host Seconds: 1 Time: 00:32:07Delay: 0/0/26Interface: t1-0/0/0:2:1.0,Enabled, Link is UpFlags: Point-To-Point SNMP-TrapsEncapsulation: PPPLocal statistics: Current deltaInput bytes: 432028 [0]Output bytes: 433076 [0]Input packets: 35954 [0]Output packets: 36041 [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:Input bytes: 432028 [0]Output bytes: 433076 [0]Input packets: 35954 [0]Output packets: 36041 [0]Protocol: inet, MTU: 1500user@host>monitor interfaces ds-0/0/0:4:1:1.0host Seconds: 3 Time: 00:36:59Delay: 0/0/0Interface: ds-0/0/0:4:1:1.0,Enabled, Link is UpFlags: Point-To-Point SNMP-TrapsEncapsulation: PPPLocal statistics: Current deltaInput bytes: 432836 [0]Output bytes: 433882 [0]Input packets: 36065 [0]Output packets: 36152 [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:Input bytes: 432836 [0]Output bytes: 433882 [0]Input packets: 36065 [0]Output packets: 36152 [0]Protocol: inet, MTU: 1500What It Means
The sample output shows common interface failures, indicates whether loopback is detected, and shows increases in framing errors. Use information from this command to help 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.