You can set statistics baselines for the section, line, and path layers using the baseline interface sonet commands.
To display statistics for SONET and SDH interfaces, use the show controllers sonet commands. Use the delta options to display statistics with the baseline subtracted.
baseline line interface sonet
- host1#baseline line interface sonet 2/0
- host1#baseline line interface sonet 3/0/0
baseline path interface sonet
- host1#baseline path interface sonet 2/0
- host1#baseline path interface sonet 3/0/0
baseline section interface sonet
- host1#baseline section interface sonet 2/0
- host1#baseline section interface sonet 3/0/0
show controllers sonet
host1# show controllers sonet 1/0
show controllers sonet 1/0oc3 1/0
non channelized
ifAdminStatus: up
description: link1
snmp trap link-status: enabled
alarms used for operational status calculation: LOS LOF AIS RDI
defect trigger soaking delay: 2500 milliseconds
Operational Status: down, failure alarm: AIS
time since last status change: 07:33:12
Loopback State: none
Mode: sonet
Timing source: line
Receive FIFO Overruns: 0, Framer stats: 0/0
Current section defects: none
Current line defects: AIS
Received SONET overhead:
F1 : n/a, J0 : n/a, K1 : 0xFF, K2 : 0xFF, S1 : 0xFF
Transmitted SONET overhead:
F1 : 0x00, J0 : 0x01, K1 : 0x00, K2 : 0x00, S1 : 0x00
Channel configuration:
channel = 0, path = oc3, hierarchy = 1/0, current path defects: LowerLayerDefect
ifAdminStatus: up
snmp trap link-status: disabled
alarms used for operational status calculation: LOP AIS
defect trigger soaking delay: 2500 milliseconds
c2 byte set by upper interface type
Operational Status: lowerLayerDown
time since last status change: 07:33:12
Received SONET Path overhead:
F2 : n/a, Z3 : n/a, Z4 : n/a, C2 : 0xFF, C2Exp : 0x00
Transmitted SONET Path overhead:
F2 : 0x00, Z3 : 0x00, Z4 : 0x00, C2 : 0x00
show controllers sonet line | path | section
The following fields may appear in line, path, or section:
host1#show controllers sonet 1/0 path
Channel number 0
Number of valid intervals - 31 Time elapsed in current interval - 141 Current status = LowerLayerDefect
Current Path Interval Counters Seconds Counts State ES 0 SES 0 UAS 141 RDI 141 0 Active AIS 141 0 Active LOP 0 0 OK UNEQ 0 0 OK PLM 141 0 Active BIP-B3 (Code Violation) 0 0
Last Path Interval Counters Seconds Counts ES 0 SES 0 UAS 900 RDI 900 0 AIS 900 0 LOP 0 0 UNEQ 0 0 PLM 900 0 BIP-B3 (Code Violation) 0 0
Total Path Counters Seconds Counts ES 0 SES 0 UAS 27255 RDI 27255 0 AIS 27255 0 LOP 0 0 UNEQ 0 0 PLM 27255 0 BIP-B3 (Code Violation) 0 0
Current Far End Path Interval Counters Seconds Counts ES 0 SES 0 UAS 141 REI 0 0
Far End Last Path Interval Counters Seconds Counts ES 0 SES 0 UAS 900 REI 0 0
Total Far End Path Counters Seconds Counts ES 0 SES 0 UAS 27255 REI 0 0
host1#show controllers sonet 1/0 line
Number of valid intervals - 31 Time elapsed in current interval - 114 Current status = AIS
Current Line Interval Counters Seconds Counts State ES 0 SES 0 UAS 113 RDI 0 0 OK AIS 113 0 Active BERR-SF 0 0 OK BERR-SD 0 0 OK BIP-B2 (Code Violation) 0 0
Last Line Interval Counters Seconds Counts ES 0 SES 0 UAS 900 RDI 0 0 AIS 900 0 BERR-SF 0 0 BERR-SD 0 0 BIP-B2 (Code Violation) 0 0
Total Line Counters Seconds Counts ES 0 SES 0 UAS 27227 RDI 0 0 AIS 27227 1 BERR-SF 0 0 BERR-SD 0 0 BIP-B2 (Code Violation) 0 0
Current Far End Line Interval Counters Seconds Counts ES 0 SES 0 UAS 0 REI 0 0
Far End Last Line Interval Counters Seconds Counts ES 0 SES 0 UAS 0 REI 0 0
Total Far End Line Counters Seconds Counts ES 0 SES 0 UAS 10 REI 0 0
host1#show controllers sonet 1/0 section
Number of valid intervals - 31 Time elapsed in current interval - 49 Current status = No Defect
Current Section Interval Counters Seconds Counts State ES 0 SES 0 SEFS 0 LOS 0 0 OK LOF 0 0 OK BIP-B1 (Code Violation) 0 0
Last Section Interval Counters Seconds Counts ES 0 SES 0 SEFS 0 LOS 0 0 LOF 0 0 BIP-B1 (Code Violation) 0 0
Total Section Counters Seconds Counts ES 1 SES 1 SEFS 0 LOS 0 0 LOF 0 0 BIP-B1 (Code Violation) 1 16
host1#show controllers sonet 2/0 section total
Number of valid intervals - 31 Time elapsed in current interval - 244
Total Section Counters Seconds Counts ES 1 SES 1 SEFS 0 LOS 0 0 LOF 0 0 BIP-B1 (Code Violation) 1 16