Examine Output for Framing Errors
Purpose
By examining the output for an interface, you can determine if framing errors are incrementing in the absence of any SONET alarms or defects
.Action
From the JUNOS command-line interface (CLI) operational mode, use the following command to check for framing errors:
user@host>show interfacesinterface-nameextensiveSample Output
user@router1>show interfaces so-1/0/0 extensivePhysical interface: so-1/0/0, Enabled, Physical link is UpInterface index: 13, SNMP ifIndex: 18, Generation: 12Link-level type: PPP, MTU: 4474, Clocking: Internal, SONET mode, Speed: OC3, Loopback: None,FCS: 16, Payload scrambler: EnabledDevice flags : Present RunningInterface flags: Link-Layer-Down Point-To-Point SNMP-TrapsLink flags : KeepalivesHold-times : Up 0 ms, Down 0 msKeepalive settings: Interval 10 seconds, Up-count 1, Down-count 3Keepalive statistics:Input : 6 (last seen 00:00:52 ago)Output: 11 (last sent 00:00:05 ago)LCP state: OpenedNCP state: inet: Opened, inet6: Not-configured, iso: Opened, mpls: Conf-req-sentCHAP state: Not-configuredLast flapped : 2002-11-01 22:28:30 UTC (1w5d 23:26 ago)Statistics last cleared: 2002-11-14 21:52:51 UTC (00:01:50 ago)Traffic statistics:Input bytes : 692 0 bpsOutput bytes : 716 32 bpsInput packets: 23 0 ppsOutput packets: 72 0 ppsInput errors:Errors: 0, Drops: 0,Framing errors: 27, Runts: 0, Giants: 0, Bucket drops: 0, Policed discards: 0, L3 incompletes: 0,L2 channel errors: 0, L2 mismatch timeouts: 0, HS link CRC errors: 0, HS link FIFO overflows: 0Output errors:Carrier transitions: 0, Errors: 0, Drops: 0, Aged packets: 0, HS link FIFO underflows: 0SONET alarms : NoneSONET defects : NoneSONET PHY: Seconds Count StatePLL Lock 0 0 OKPHY Light 0 0 OKSONET section:BIP-B1 0 0SEF 0 0 OKLOS 0 0 OKLOF 0 0 OKES-S 0SES-S 0SEFS-S 0SONET line:BIP-B2 0 0REI-L 0 0RDI-L 0 0 OKAIS-L 0 0 OKBERR-SF 0 0 OKBERR-SD 0 0 OKES-L 0SES-L 0UAS-L 0ES-LFE 0SES-LFE 0UAS-LFE 0SONET path:BIP-B3 0 0REI-P 0 0LOP-P 0 0 OKAIS-P 0 0 OKRDI-P 0 0 OKUNEQ-P 0 0 OKPLM-P 0 0 OKES-P 0SES-P 0UAS-P 0ES-PFE 0SES-PFE 0UAS-PFE 0Received SONET overhead:F1 : 0x00, J0 : 0x00, K1 : 0x00, K2 : 0x00S1 : 0x00, C2 : 0xcf, C2(cmp) : 0xcf, F2 : 0x00Z3 : 0x00, Z4 : 0x00, S1(cmp) : 0x00, V5 : 0x00V5(cmp) : 0x00Transmitted SONET overhead:F1 : 0x00, J0 : 0x01, K1 : 0x00, K2 : 0x00S1 : 0x00, C2 : 0xcf, F2 : 0x00, Z3 : 0x00Z4 : 0x00, V5 : 0x00Received path trace:router2 so-1/3/173 6c 69 70 70 65 72 79 20 73 6f 2d 31 2f 33 2f router2 so-1/3/131 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................00 00 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a ................Transmitted path trace:router1 so-1/0/068 61 69 72 79 20 73 6f 2d 31 2f 30 2f 30 00 00 router1 so-1/0/000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................HDLC configuration:Policing bucket: DisabledShaping bucket : DisabledGiant threshold: 4484, Runt threshold: 3Packet Forwarding Engine configuration:Destination slot: 1, PLP byte: 1 (0x00)CoS transmit queue Bandwidth Buffer Priority Limit% bps % bytes0 best-effort 95 147744000 95 0 low none3 network-control 5 7776000 5 0 low noneLogical interface so-1/0/0.0 (Index 8) (SNMP ifIndex 108) (Generation 9)Flags: Device-Down Point-To-Point SNMP-Traps Encapsulation: PPPProtocol inet, MTU: 4470, Generation: 15, Route table: 1Flags: Is-PrimaryAddresses, Flags: Dest-route-down Is-Default Is-Preferred Is-PrimaryDestination: 1.1.6.1, Local: 1.1.6.2, Broadcast: Unspecified, Generation: 15Protocol iso, MTU: 4470, Generation: 16, Route table: 1Flags: Is-PrimaryProtocol mpls, MTU: 4458, Generation: 17, Route table: 1Flags: Protocol-Down, Is-PrimaryWhat It Means
The sample output shows that Router1 is configured for FCS 16, that framing errors have incremented to 27, and that there are no SONET alarms or defects. Incrementing framing errors, in the absence of any SONET alarms or defects, are a symptom of SONET frame checksum errors
.