show spx csp

Displays Control and Status Protocol (CSP) information for the specified PE or all PE units.
Syntax
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 }
Parameters
pe-id
Specifies the number of the attached PE from which CSP information is to be obtained.
all
Displays all CSP information, including miscellaneous events.
distributed
Specifies that debug information is to originate from a particular PE unit, a list of PE units, or all PE units (rather than from the data stored at the CB).
all-pe
Specifies that CSP information will be obtained from all PE units.
units list
Lists the units from which CSP information is to be obtained.
detail
Displays detailed information for specified items.
events
Displays information on CSP events.
pe-id
Displays CSP event information for the PE number specified.
all
Displays all CSP events.
misc
Displays miscellaneous CSP event information.
Modes

Privileged EXEC mode

Usage Guidelines

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:

Output field Description
Unit ID MAC MAC address of unit specified in show command
CSP Oper: CSP Operational (yes or no )
Attach time: Up time recorded by the CB since this PE joined the network
Up time: Time unit is active (hours, minutes, seconds)
CB SPX LAG ID:

Information on CB SPX LAG, including:

  • Network identifier for the LAG to which unit belongs
  • IPC/ECP Port: SPX port on CB unit through which IPC/ECP messages are sent to the designated PE
  • Current state: Current state of LAG (up or down)

PE SPX Uplink Port: SPX port on the PE unit (identified as unit/slot/port) through which it connects to the CB, current status (Should always be up.)
Number of Traffic Class: Number of QoS traffic classes supported on the designated PE
Priority Flow Control: Priority flow control setting (yes or no)
CSP control ECID handshake complete: Control channel communication established between CB and designated PE (yes or no)
CSP control ECID: Identifier of E-channel allocated to the designated PE
CSP Alternate control ECID: Alternate E-channel allocated to the designated PE, when PE is attached in a ring. Becomes the active ECID when the PE cannot reach the CB through its uplink port (typically, when the ring is broken).
PE is in a Ring Appears only if PE is part of an SPX ring. Displays status of the ring (active or broken), Logical Block: (indicates whether PE is a logical end point in a ring; possible values: 1 or 0)
CB Alternate Spx Lag id: For PEs in a ring, displays the alternate ID SPX LAG number and related information.
Total number of configured ports Total number of ports configured on the designated PE.
CSP number of allocated ECIDS (VPs created, excl Control VP): Number of ECIDs allocated to the designated PE (for data ports)
List of ports

Information on all SPX ports configured on the designated PE (unit/slot/port), including:

  • ecid: ECID associated with the port.
  • spx-port-type: Type of SPX port (on CB: Host, Uplink, or Cascade; on PE: Host, Uplink, Cascade (Init), Cascade (Forward), or Cascade (Block))
  • cascade-port: On CB: SPX cascade port through which this data port can be reached; on PE: uplink port through which the designated PE can reach the CB
  • cascade-lag: SPX LAG ID associated with cascade port

CSP last TX Trans ID, last RX Trans ID Last sent transmission ID, last received transmission ID
ECP transmission statistics

ECP transmission statistics, including:

  • txErrors: ECP transmission errors
  • sequence:
  • firstSeq:
  • lastSeq:
  • firstAckldx:
  • ackldx:
  • tPause:
  • state:
  • ackTimer:
  • syncTimer:
  • sync_cnt:
  • need_cleanup:

Next PE: Next PE in the ring or chain (if any)
PE Spx downlink Port: When there is a next PE, port ID (or first reachable port ID for an SPX LAG) of the SPX downlink between the designated PE and the next PE
Previous PE: ECP information for previous PE in chain (if any).
Local CSP Major version For local peer (CB or PE), RUCKUS CSP software version
Peer CSP Major version RUCKUS CSP software version for remove peer (CB or PE)
Oper CSP Major version Operating CSP version (lowest shared version of peer and remote versions)
Msg-ID list

Message statistics by Message ID, including:

  • Msg-Name: Name of message type associated with Msg-ID
  • Local (ver, size): Local peer (CSP software version, message size in Bytes)
  • Peer (ver, size): Remote peer (CSP software version, message size in Bytes)
  • Oper (ver, size): Operating CSP software (version, message size in Bytes)
  • Up_Conv: (Yes or no; indicates whether conversion is needed (from higher to lower or operating version) when CSP messages are received from the remote peer
  • Down_Conv: (Yes or no; indicates whether conversion is needed (from higher to lower or operating version) when CSP messages are sent to the remote peer

Examples

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]
History
Release version Command history
08.0.40 This command was introduced.
08.0.61 The distributed parameter was added.