show spx-mon

Gives a snapshot of the SPX system.
Syntax
show spx-mon [ history [ distributed { pe-id | units pe-list | all_pe } ] | pe-join unit/slot/port ] [ begin | exclude | include match-string ]
Parameters
history
Generates a history of SPX activity.
distributed
Obtains ECP events from the specified PE or all PEs, rather than from the history stored in the CB database.
pe-id
Specifies the PE by number from which the history is to be obtained.
units pe-list
Indicates that the history is to be obtained from the specified list of PE units.
all_pe
Indicates that the history is to be obtained from all connected PE units.
pe-join unit/slot/port
Provides PE status for the specified port.
begin match-string
Specifies where output starts, based on the pattern provided in the match string.
exclude match-string
Specifies what information to exclude from output based on the contents of the match string.
include match-string
Specifies what information to include in output based on the contents of the match string.
Modes

Privileged EXEC mode

Global configuration mode

Usage Guidelines

Use the show spx-mon command to determine the health of the Campus Fabric domain. The command tells you if the domain is in good health, and if not, what corrective actions to take.

Examples

The following example shows a Campus Fabric domain with two PE units in Ready state, and one PE has reserved configuration only. CLI guidance is given to troubleshoot a potential pe-join issue with the third PE unit.

device# show spx-mon
spx-mon is enabled

Total 2 PE(s) attached, 2 attached PE(s) are in Ready state
Number of PEs in Configuration only:  1                      <--- Reserved configuration for 1 PE
Number of PEs in Config-mismatch   :  0
Number of PEs in Image-Mismatch    :  0

CLI: sh spx-mon pe-join <cb-cport> can be used to diagnose pe-join issues   <----- CLI help for additional diagnosis

Active CPU Utilization
1   sec avg 1 percent busy
5   sec avg 1 percent busy
60  sec avg 1 percent busy
300 sec avg 1 percent busy

PE CPU Utilization:           Normal
Spx Interface Utilization:    Very low
Spx Interface Errors:         None
PE User Port Errors:          None

The following example indicates a configuration mismatch, as port 2/1/1 has no matching PE database. The CLI guidance given is to use show spx debug lag all to obtain more information.

device# show spx-mon
spx-mon is enabled

Total 2 PE(s) attached, 2 attached PE(s) are in Ready state
Number of PEs in Configuration only:  1
Number of PEs in Config-mismatch   :  0
Number of PEs in Image-Mismatch    :  0

CLI: sh spx-mon pe-join <cb-cport> can be used to diagnose pe-join issues

Active CPU Utilization
1   sec avg 1 percent busy
5   sec avg 1 percent busy
60  sec avg 7 percent busy
300 sec avg 3 percent busy

Port 2/1/1 doesn't have matching PE db                       <--- Error condition indicated for Port 2/1/1.
 CLI sh spx debug lag all can be used for more information   <--- CLI help for additional diagnosis.
PE CPU Utilization:           Normal
Spx Interface Utilization:    Very low
Spx Interface Errors:         None
PE User Port Errors:          None

!!! Temperature is over warning level on stack unit 23 !!!

SYSLOG: <9> Feb 20 13:28:33 System: Stack unit 23 Temperature 58.0 C degrees, warning

SYSLOG: <12> Feb 20 13:28:33 System: Temperature is over warning level on unit 23

The following example uses the show spx-mon pe-join command to provide status of a PE unit joining through CB SPX port 2/1/1.

device# show spx-mon pe-join 2/1/1
Error! Last PE 23 in the chain has no DOWNSTREAM SPX ports in UP state
Above error(s) needs to be corrected...

The following example uses the show spx-mon history distributed command to derive a history of ECP information directly from designated PE units as indicated by the keyword distributed in the command line. Without the keyword, ECP information is derived from the CB.


device# show spx-mon history distributed 19

*********************
Response from PE 19:
*********************
51m17.8933 Unit 19 ecp_process_pdu: RxAck port_id 19/2/1, ecid 235, rxSeq 11, fSeq = 12, txSeq 12, fAck 0, ack 0, lSeq 11
   [stack: 002d1360 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
51m17.8786 Unit 19 ecp_process_pdu: RxAck port_id 19/2/1, ecid 235, rxSeq 10, fSeq = 11, txSeq 11, fAck 2, ack 2, lSeq 11
   [stack: 002d1360 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
51m17.8724 Unit 19 ecp_process_pdu: TxAck port_id 19/2/1, ecid 235, rxSeq 11, fSeq = 10, txSeq 11, fAck 1, ack 2, lSeq 11
   [stack: 002d201c 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
51m17.8667 Unit 19 ecp_transmit: port_id 19/2/1, ptype 1002, ecid 235, fSeq = 10, txSeq 11, fAck 1, ack 2, lSeq 11
   [stack: 002cd7e4 002f2bfc 002f53cc 002f6704 002ffa34 003008f8 002f7b2c 002f]
51m17.8393 Unit 19 ecp_process_pdu: RxPkt port_id 19/2/1, cc4e.2438.8e00, ecid 235, rxSeq 11, fSeq = 10, txSeq 10, fAck 1, ack 1, lSeq 10
   [stack: 002d18ec 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
51m17.8212 Unit 19 ecp_process_pdu: RxAck port_id 19/2/1, ecid 235, rxSeq 9, fSeq = 10, txSeq 10, fAck 1, ack 1, lSeq 10
   [stack: 002d1360 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
51m17.8148 Unit 19 ecp_process_pdu: TxAck port_id 19/2/1, ecid 235, rxSeq 10, fSeq = 9, txSeq 10, fAck 0, ack 1, lSeq 10
   [stack: 002d201c 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
51m17.8065 Unit 19 ecp_transmit: port_id 19/2/1, ptype 1002, ecid 235, fSeq = 9, txSeq 10, fAck 0, ack 1, lSeq 10
   [stack: 002cd7e4 002f2bfc 002f53cc 002f6704 002ffa34 003008f8 002f7b2c 002f]
51m17.7532 Unit 19 ecp_process_pdu: RxPkt port_id 19/2/1, cc4e.2438.8e00, ecid 235, rxSeq 10, fSeq = 9, txSeq 9, fAck 0, ack 0, lSeq 9
   [stack: 002d18ec 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
51m17.6644 Unit 19 ecp_process_pdu: TxAck port_id 19/2/1, ecid 235, rxSeq 9, fSeq = 9, txSeq 9, fAck 0, ack 0, lSeq 9
   [stack: 002d201c 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
51m17.6571 Unit 19 ecp_transmit: port_id 19/2/1, ptype 1002, ecid 235, fSeq = 9, txSeq 9, fAck 0, ack 0, lSeq 9
   [stack: 002cd7e4 002f2bfc 002f53cc 002f6704 002ffa34 003008f8 002f7b2c 002f]
51m17.6021 Unit 19 ecp_process_pdu: RxPkt port_id 19/2/1, cc4e.2438.8e00, ecid 235, rxSeq 9, fSeq = 9, txSeq 9, fAck 0, ack 0, lSeq 8
   [stack: 002d18ec 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
48m53.2531 Unit 19 ecp_process_pdu: RxAck port_id 19/2/1, ecid 235, rxSeq 8, fSeq = 9, txSeq 9, fAck 0, ack 0, lSeq 8
   [stack: 002d1360 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
48m53.1509 Unit 19 ecp_process_pdu: TxAck port_id 19/2/1, ecid 235, rxSeq 8, fSeq = 8, txSeq 8, fAck 0, ack 0, lSeq 8
   [stack: 002d201c 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
48m53.1438 Unit 19 ecp_transmit: port_id 19/2/1, ptype 1002, ecid 235, fSeq = 8, txSeq 8, fAck 0, ack 0, lSeq 8
   [stack: 002cd7e4 002f2bfc 002f53cc 002f6704 002ffa34 003008f8 002f7b2c 002f]
48m53.0729 Unit 19 ecp_process_pdu: RxPkt port_id 19/2/1, cc4e.2438.8e00, ecid 235, rxSeq 8, fSeq = 8, txSeq 8, fAck 0, ack 0, lSeq 7
   [stack: 002d18ec 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
48m48.9443 Unit 19 ecp_process_pdu: RxAck port_id 19/2/1, ecid 235, rxSeq 7, fSeq = 8, txSeq 8, fAck 0, ack 0, lSeq 7
   [stack: 002d1360 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
48m48.6568 Unit 19 ecp_process_pdu: TxAck port_id 19/2/1, ecid 235, rxSeq 7, fSeq = 7, txSeq 7, fAck 0, ack 0, lSeq 7
   [stack: 002d201c 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
48m48.6499 Unit 19 ecp_transmit: port_id 19/2/1, ptype 1002, ecid 235, fSeq = 7, txSeq 7, fAck 0, ack 0, lSeq 7
   [stack: 002cd7e4 002f2bfc 002f53cc 002f6704 002ffa34 003008f8 002f7b2c 002f]
48m47.4032 Unit 19 ecp_process_pdu: RxPkt port_id 19/2/1, cc4e.2438.8e00, ecid 235, rxSeq 7, fSeq = 7, txSeq 7, fAck 0, ack 0, lSeq 6
   [stack: 002d18ec 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
48m47.0706 Unit 19 ecp_process_pdu: RxAck port_id 19/2/1, ecid 235, rxSeq 6, fSeq = 7, txSeq 7, fAck 0, ack 0, lSeq 6
   [stack: 002d1360 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
48m47.0431 Unit 19 ecp_process_pdu: TxAck port_id 19/2/1, ecid 235, rxSeq 6, fSeq = 6, txSeq 6, fAck 0, ack 0, lSeq 6
   [stack: 002d201c 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
48m47.0358 Unit 19 ecp_transmit: port_id 19/2/1, ptype 1002, ecid 235, fSeq = 6, txSeq 6, fAck 0, ack 0, lSeq 6
   [stack: 002cd7e4 002f2bfc 002f53cc 002f6704 002ffa34 003008f8 002f7b2c 002f]
48m47.0283 Unit 19 ecp_process_pdu: RxPkt port_id 19/2/1, cc4e.2438.8e00, ecid 235, rxSeq 6, fSeq = 6, txSeq 6, fAck 0, ack 0, lSeq 5
   [stack: 002d18ec 00a1a0cc 00f0eee0 00f0fcd8 00c309f8 010a34e0 00615180 010a]
48m18.2364 Unit 19 PE joined

History
Release version Command history
08.0.50 This command was introduced.
08.0.61 The distributed parameter was added.