show spx csp
show spx
csp
{
pe-id
|
all
|
distributed
{
pe-id
|
all-pe
|
units
list
}
[
detail
]
}
show spx
csp
events
show spx
csp
events
[
all
|
distributed
{
pe-id
|
all-pe
|
units
list
}
]
show spx
csp
events
misc
[
distributed
]
{
pe-id
|
all-pe
|
units
list
}
Privileged EXEC mode
It is advisable to check CSP protocol issues on the CB and on remote PE units. Use
the keyword
distributed to display CSP information directly from PE units. Without the keyword, CSP protocol
information from the CB is displayed.
As a complement to
show spx csp pe-log output, refer to the troubleshooting command
show spx zero-touch log.
The
show spx csp command displays the following information:
The following example provides detailed CSP information for PE unit 17.
device# show spx csp 17 detail
PE 17 MAC: cc4e.246c.e2b8
CSP Oper: yes, Attach time: 51.5, up time: 3 hour(s) 14 minute(s) 53 second(s)
CB Spx Lag id: 3073, cur state up, IPC/ECP Port: 1/1/1
PE Spx Uplink Port: 17/2/1, cur state up
Number of Traffic Class: 8
Priority Flow Control: no
CSP control ECID handshake complete: yes
CSP control ECID: 75
CSP Alternate control ECID: 76
PE is in Ring (Status: Active), Logical Block: 0 <-- Information appears for PE in ring topology only.
CB Alternate Spx Lag id: 3072, cur state up, IPC/ECP Port: 1/1/6
Total number of configured ports: 30
CSP number of allocated ECIDs (VPs created, excl Control VP): 29
port ecid spx-port-type cascade-port cascade-lag
---------------------------------------------------------------
17/1/1 1 Host 1/1/1 3073
17/1/2 2 Host 1/1/1 3073
17/1/3 3 Host 1/1/1 3073
17/1/4 4 Host 1/1/1 3073
17/1/5 5 Host 1/1/1 3073
17/1/6 6 Host 1/1/1 3073
17/1/7 7 Host 1/1/1 3073
17/1/8 8 Host 1/1/1 3073
17/1/9 9 Host 1/1/1 3073
17/1/10 10 Host 1/1/1 3073
17/1/11 11 Host 1/1/1 3073
17/1/12 12 Host 1/1/1 3073
17/1/13 13 Host 1/1/1 3073
17/1/14 14 Host 1/1/1 3073
17/1/15 15 Host 1/1/1 3073
17/1/16 16 Host 1/1/1 3073
17/1/17 17 Host 1/1/1 3073
17/1/18 18 Host 1/1/1 3073
17/1/19 19 Host 1/1/1 3073
17/1/20 20 Host 1/1/1 3073
17/1/21 21 Host 1/1/1 3073
17/1/22 22 Host 1/1/1 3073
17/1/23 23 Host 1/1/1 3073
17/1/24 24 Host 1/1/1 3073
17/2/1 75 Uplink 1/1/1 3073
17/2/2 75 Uplink 1/1/1 3073
17/2/3 76 Cascade 1/1/6 3072
17/2/4 53 Host 1/1/1 3073
17/3/1 60 Host 1/1/1 3073
17/4/1 70 Host 1/1/1 3073
CSP last Tx Trans ID=7, last Rx Trans ID=3
ECP txErrors=0, sequence=11 firstSeq=11 lastSeq=10 firstAckIdx=0 ackIdx=0, tPause 0, state 0
ECP ackTimer=0, syncTimer=0 sync_cnt=0 need_cleanup=0
Next PE: 23
PE Spx downlink Port: 17/2/3, cur state up
Previous PE: None
Local CSP Major version is 1 Minor version 1
Peer CSP Major version is 1 Minor version 1
Oper CSP Major version is 1 Minor version 1
Msg-Id Msg-Name Local(ver,size) Peer(ver,size) Oper(ver,size) Up_Conv Down_Conv
--------------------------------------------------------------------------------------------------
00 unknown (00) tlv 01,007 01,007 01,007 no no
01 cmd tlv 01,009 01,009 01,009 no no
02 resource cap tlv 01,042 01,042 01,042 no no
03 port param tlv 01,160 01,160 01,160 no no
04 port array tlv 01,100 01,100 01,100 no no
05 vid array tlv 01,001 01,001 01,001 no no
06 port status tlv 01,016 01,016 01,016 no no
07 stats tlv 01,000 01,000 01,000 no no
The following example shows Control and Status Protocol (CSP) information received directly from PE units 23 and 29 as indicated by the use of the keyword distributed on the command line. Without the keyword, CSP information from the CB is displayed.
device# show spx csp distributed units 23 29 ********************* Response from PE 23: ********************* CSP Oper: yes, Attach time: 1m22.0, up time: 11 hour(s) 48 minute(s) 38 second(s) PE Spx Lag id: 2, cur state up, IPC/ECP Port: 23/2/3 Number of Traffic Class: 8 Priority Flow Control: no CSP control ECID handshake complete: yes CSP control ECID: 555 CSP Alternate control ECID: 556 PE is in Ring (Status: Active), Logical Block: 1 Total number of configured ports: 566 CSP number of create port requests sent: 54 CSP last Tx Trans ID=3, last Rx Trans ID=6 ECP txErrors=0, sequence=10 firstSeq=10 lastSeq=9 firstAckIdx=0 ackIdx=0 Next PE: None Previous PE: None Local CSP Major version is 1 Minor version 1 Peer CSP Major version is 1 Minor version 1 Oper CSP Major version is 1 Minor version 1 ********************* Response from PE 29: ********************* CSP Oper: yes, Attach time: 1m13.6, up time: 11 hour(s) 48 minute(s) 44 second(s) PE Spx Lag id: 2, cur state up, IPC/ECP Port: 29/2/3 Number of Traffic Class: 8 Priority Flow Control: no CSP control ECID handshake complete: yes CSP control ECID: 1035 CSP Alternate control ECID: 1036 PE is in Ring (Status: Active), Logical Block: 0 Total number of configured ports: 566 CSP number of create port requests sent: 54 CSP last Tx Trans ID=3, last Rx Trans ID=9 ECP txErrors=0, sequence=13 firstSeq=13 lastSeq=12 firstAckIdx=0 ackIdx=0 Next PE: None Previous PE: None Local CSP Major version is 1 Minor version 1 Peer CSP Major version is 1 Minor version 1 Oper CSP Major version is 1 Minor version 1
The following example shows output on CSP events directly from PE unit 17 as indicated
by use of the keyword
distributed in the command line. In the example, PE port 17/1/1 has received a
loopback enable command from the CB, and the PE has later disabled the loopback.
device# show spx csp events distributed 17 ********************* Response from PE 17: ********************* PE 0: port 17/1/1 loopback disable pass (13 minute(s) 58 second(s) ) [stack: 002dffdc 0030dd90 002f36b4 002eaee8 002ebc2c 002ea064 00324a3c 002c53dc 009f9740 00ee16c0 00ee24b4 00c0acc8] … <snip> … PE 0: port 17/1/1 loopback enable pass (13 minute(s) 58 second(s) ) [stack: 002dfdd0 0030dd90 002f36b4 002eaee8 002ebc2c 002ea064 00324a3c 002c53dc 009f9740 00ee16c0 00ee24b4 00c0acc8]