Displaying information with the show spx command
show spx command on the active controller to display information on the Campus Fabric topology.
The
show spx command output in the following example shows a two-member ICX 7750 CB stack with
one attached ICX 7450 PE unit, PE 17. The command was entered on the active controller,
and the second stack member is available to take over as the standby.
ICX7750-26Q Router# show spx
T=3h24m20.3: alone: standalone, D: dynamic cfg, S: static
ID Type Role Mac Address Pri State Comment
1 S ICX7750-26QXG active cc4e.2438.7280 0 local Ready
3 S ICX7750-26QXG standby 748e.f8f9.6300 0 remote Ready
17 S ICX7450-48GF spx-pe cc4e.246c.f190 N/A remote Ready
active standby
+---+ +---+
| 1 |2/4--2/1| 3 |
+---+ +---+
+----+
1/1/5--4/1| 17 |
+----+
Enter the
show spx
command on a PE unit to display local information as shown in the following example.
The "S" after the PE ID (17) indicates that the configuration for this PE has been
saved (is "static").
[PE]rconsole-17@ICX7450-48F Router# show spx
T=53m13.0: alone: standalone, D: dynamic cfg, S: static
ID Type Role Mac Address Pri State Comment
17 S ICX7450-48GF spx-pe cc4e.246c.f190 N/A remote Ready
+----+
-4/1| 17 |
+----+
You can add a parameter to the
show spx
command to display information about different aspects of the Campus Fabric topology.
ICX7750-26Q Router# show spx ? cb-port Displays PEs attached to this port connections Displays PE port to port connectivity csp Displays CSP information debug Displays SPX Debug commands lag Displays spx-lag information mecid Displays Dot1br Multicast ECID information multicast Multicast related information pe-group Displays PEs in a pe group pe-id Displays this PE ring SPX Ring infra information zero-touch ipc Displays statistics for zero-touch ipc zero-touch log Displays internal zero-touch log zero-touch status Displays current zero-touch status
Enter the
show spx cb-port command to display a list of PE units attached to the port.
ICX7750-48F Router# show spx cb
cb-port Displays PEs attached to this port
ICX7750-48F Router# show spx cb-port 2/1/7
Show PEs attached to a CB port 2/1/7
T=3h46m16.0: alone: standalone, D: dynamic cfg, S: static
ID Type Role Mac Address Pri State Comment
1 S ICX7750-48XGF active cc4e.2438.7e80 128 local Ready
2 S ICX7750-48XGF standby cc4e.246e.cd80 128 remote Ready
19 S ICX7450-24G spx-pe cc4e.246c.e420 N/A remote Ready
standby active
+---+ +---+
2/4| 2 |2/1--2/1| 1 |2/4
+---+ +---+
+----+
2/1/7--2/3| 19 |
+----+
ICX7750-48F Router#
Enter the
show spx mecid command to display Multicast
E-CID (ME-CID) information for the Campus Fabric domain.
The following example uses the keyword allocated to display information on allocated ME-CIDs.
ICX7750-48F Router# show spx mecid allocated
FSM-State : CREATE_P - created TX Pending, DELETE_P - deleted TX Pending
DELETE_AW - Ack Waiting, CREATED - Stable State
Total MECID Allocated 2
-----------------------------------------------------
SNo MECID PEs VPs AW State Shr Elements
-----------------------------------------------------
1 4096 3 114 0 CREATED No {17/1/1 17/1/2 17/1/3 17/1/4 17/1/5 17/1/6 17/1/7 ...}
2 4097 3 11 0 CREATED No {17/1/1 17/1/2 17/1/3 17/2/3 17/2/4 18/1/1 18/1/2 ...}
The following command shows information for a specific ME-CID (4096).
ICX7750-48F Router# show spx mecid 4096
MECID State : CREATE_P - created Tx Pending, DELETE_P - deleted Tx Pending
DELETE_AW - Ack Waiting, CREATED - Stable State
VP State : ADD_P - Added Tx Pending, REMOVE_P - Removed Tx waiting
: ADDED - Stable State
MECID: 4096 Total PEs: 3, Epoch: 0, FSM State: CREATED, SetId: 0x0, AW: 0
1. PE: 17, Total VPs: 54, Ack_waiting: 0, CP Added: Yes
(17/1/1 (cp) ADDED), (17/1/2 (cp) ADDED), (17/1/3 (cp) ADDED), (17/1/4 ADDED), (17/1/5 ADDED),
(17/1/6 ADDED), (17/1/7 ADDED), (17/1/8 ADDED), (17/1/9 ADDED), (17/1/10 ADDED),
(17/1/11 ADDED), (17/1/12 ADDED), (17/1/13 ADDED), (17/1/14 ADDED), (17/1/15 ADDED),
(17/1/16 ADDED), (17/1/17 ADDED), (17/1/18 ADDED), (17/1/19 ADDED), (17/1/20 ADDED),
(17/1/21 ADDED), (17/1/22 ADDED), (17/1/23 ADDED), (17/1/24 ADDED), (17/1/25 ADDED),
(17/1/26 ADDED), (17/1/27 ADDED), (17/1/28 ADDED), (17/1/29 ADDED), (17/1/30 ADDED),
(17/1/31 ADDED), (17/1/32 ADDED), (17/1/33 ADDED), (17/1/34 ADDED), (17/1/35 ADDED),
(17/1/36 ADDED), (17/1/37 ADDED), (17/1/38 ADDED), (17/1/39 ADDED), (17/1/40 ADDED),
(17/1/41 ADDED), (17/1/42 ADDED), (17/1/43 ADDED), (17/1/44 ADDED), (17/1/45 ADDED),
(17/1/46 ADDED), (17/1/47 ADDED), (17/1/48 ADDED), (17/2/1 ADDED), (17/2/2 ADDED),
(17/2/3 ADDED), (17/2/4 ADDED), (17/3/1 ADDED), (17/4/1 ADDED),
2. PE: 18, Total VPs: 30, Ack_waiting: 0, CP Added: No
(18/1/1 ADDED), (18/1/2 ADDED), (18/1/3 ADDED), (18/1/4 ADDED), (18/1/5 ADDED),
(18/1/6 ADDED), (18/1/7 ADDED), (18/1/8 ADDED), (18/1/9 ADDED), (18/1/10 ADDED),
(18/1/11 ADDED), (18/1/12 ADDED), (18/1/13 ADDED), (18/1/14 ADDED), (18/1/15 ADDED),
(18/1/16 ADDED), (18/1/17 ADDED), (18/1/18 ADDED), (18/1/19 ADDED), (18/1/20 ADDED),
(18/1/21 ADDED), (18/1/22 ADDED), (18/1/23 ADDED), (18/1/24 ADDED), (18/2/1 ADDED),
(18/2/2 ADDED), (18/2/3 ADDED), (18/2/4 ADDED), (18/3/1 ADDED), (18/4/1 ADDED),
3. PE: 19, Total VPs: 30, Ack_waiting: 0, CP Added: No
(19/1/1 ADDED), (19/1/2 ADDED), (19/1/3 ADDED), (19/1/4 ADDED), (19/1/5 ADDED),
(19/1/6 ADDED), (19/1/7 ADDED), (19/1/8 ADDED), (19/1/9 ADDED), (19/1/10 ADDED),
(19/1/11 ADDED), (19/1/12 ADDED), (19/1/13 ADDED), (19/1/14 ADDED), (19/1/15 ADDED),
(19/1/16 ADDED), (19/1/17 ADDED), (19/1/18 ADDED), (19/1/19 ADDED), (19/1/20 ADDED),
(19/1/21 ADDED), (19/1/22 ADDED), (19/1/23 ADDED), (19/1/24 ADDED), (19/2/1 ADDED),
(19/2/2 ADDED), (19/2/3 ADDED), (19/2/4 ADDED), (19/3/1 ADDED), (19/4/1 ADDED),
The following example shows a summary of configuration options and statistics on ME-CID activity in the Campus Fabric domain.
ICX7750-48F Router# show spx mecid summary
Manager Init : Yes Replication Group Sharing : No
Use PE CSP for TX : Yes Epoch : 0
Reconciliation Pass : 0 Replication Id : 0
ECID Partition : Enabled Global Timer running : No
ECID sharing : No
DEFAULT 4096 16383 12288 LRU
SWITCHING 4096 8191 4096 ACENDING
ROUTING 8192 16383 8192 DECENDING
-----------------------------------------------------------------------------
alloc in-use avail get-fail limit get-mem size init
-----------------------------------------------------------------------------
MECID info 1000 2 998 0 232000 3 66 1000
PE info 400 6 394 0 92800 12 52 400
VP info 10000 125 9875 0 2320000 255 32 1000
TX Q 1000 0 1000 0 232000 31 12 1000
PE Msg 1024 0 1024 0 237568 78 56 1024
Total memory in used: 476144 bytes
ICX7750-48F Router#
ICX7750-48F Router# show spx mecid topology
Total Cascade Port(CP): 2
1. CP-TR(e2/1/41) :-->[e17/2/4]PE_17[TR(e17/1/1)]-->[TR(e18/1/1)]PE_18
2. CP-TR(e2/1/7) :-->[e19/2/3]PE_19
Enter the
show spx pe-group command followed by the group name to display a list of PE units in a PE group.
ICX7750-48F Router# show spx pe-group GROUP1
Show PEs attached to pe-group GROUP1 (port 2/1/41)
T=17h57m5.5: alone: standalone, D: dynamic cfg, S: static
ID Type Role Mac Address Pri State Comment
1 S ICX7750-48XGF active cc4e.2438.7e80 128 local Ready
2 S ICX7750-48XGF standby cc4e.246e.cd80 128 remote Ready
17 S ICX7450-48P spx-pe cc4e.248b.da60 N/A remote Ready
18 S ICX7450-24G spx-pe cc4e.246c.e3f8 N/A remote Ready
standby active
+---+ +---+
2/4| 2 |2/1--2/1| 1 |2/4
+---+ +---+
+----+ +----+
2/1/41--2/4| 17 |1/1==1/1| 18 |
+----+ +----+
Enter the
show spx pe-id command followed by the PE number to display information for a specific PE.
ICX7750-48F Router# show spx pe-id 17
Show the sub-stack containing spx unit 17
T=3h51m3.8: alone: standalone, D: dynamic cfg, S: static
ID Type Role Mac Address Pri State Comment
1 S ICX7750-48XGF active cc4e.2438.7e80 128 local Ready
2 S ICX7750-48XGF standby cc4e.246e.cd80 128 remote Ready
17 S ICX7450-48P spx-pe cc4e.248b.da60 N/A remote Ready
18 S ICX7450-24G spx-pe cc4e.246c.e3f8 N/A remote Ready
standby active
+---+ +---+
2/4| 2 |2/1--2/1| 1 |2/4
+---+ +---+
+----+ +----+
2/1/41--2/4| 17 |1/1==1/1| 18 |
+----+ +----+
Enter the
show spx ring command with the desired parameter to show information for a specific ring, for all
rings, or for PE chains in the Campus Fabric domain.
The following example displays all rings in the Campus Fabric domain.
ICX7750-48F Router# show spx ring all ------------------------------------------------------------------------------------ Ring Id |FSM State |CB port Lag |Remote CB port Lag |Log Block Link ------------------------------------------------------------------------------------ 1 ACTIVE 1/1/2 3072 1/1/3 3073 PE29x--xCB1/1/3 2 ACTIVE 3/1/19 3076 3/1/45 3078 CB3/1/19x--xPE26 3 ACTIVE 2/1/12 3075 3/1/31 3077 PE27x--xPE28 4 ACTIVE 1/1/5 3079 2/1/9 3074 PE19x--xPE20
The following example displays information for a specific ring. Ring IDs can be derived
from the
show spx ring all command.
ICX7750-48F SPX# show spx ring 2
-------------------------------------------------------------------------------------
Ring Id |FSM State |CB port Lag |Remote CB port Lag |Log Block Link
-------------------------------------------------------------------------------------
2 ACTIVE 3/1/19 3081 3/1/45 3083 PE26x--xPE25
CB chains Information:
----------------------------------------------------------------------------------------------
CB Port Lag | Epoch |Ring Id FSM State|Remote CB port Lag | Chain
---------------------------------------------------------------------------------------------
3/1/19 3081 75 YES 2 ACTIVE 3/1/45 3083 PE26x--xPE25
PE chain information connecting to CB port 3/1/19 [Lag 3081]
-----------------------------------------------------------------------------
PE Id | Epoch | FSM state |Uplink port|Casc port|Log Block|Prev PE|Next PE
-----------------------------------------------------------------------------
PE26 75 ACTIVE 26/2/2 26/4/1 YES -- x--x
PE chain information connecting to remote CB port 3/1/45 [Lag 3083]
-----------------------------------------------------------------------------
PE Id | Epoch | FSM state |Uplink port|Casc port|Log Block|Prev PE|Next PE
-----------------------------------------------------------------------------
PE25 75 ACTIVE 25/2/1 25/3/1 YES -- x--x
The following example shows output for all PE chains in the Campus Fabric domain.
ICX7750-48F SPX# show spx ring chain
----------------------------------------------------------------------------------------------
SPX CB [CASC PORT] CHAINS
CB Port Lag | Epoch|Ring Id FSM State|Remote CB port Lag | Chain
----------------------------------------------------------------------------------------------
1/1/2 3072 75 YES 3 ACTIVE 1/1/3 3073 PE23--PE24x--xPE29
1/1/3 3073 75 YES 3 ACTIVE 1/1/2 3072 PE29x--xPE24--PE23
2/1/12 3079 75 YES 1 ACTIVE 3/1/31 3082 CB2/1/12x--xPE27--PE28
3/1/3 3080 75 YES 4 ACTIVE 1/1/5 3084 PE22--PE21--PE20--PE19--PE18--PE17x--xCB1/1/5
3/1/19 3081 75 YES 2 ACTIVE 3/1/45 3083 PE26x--xPE25
3/1/31 3082 75 YES 1 ACTIVE 2/1/12 3079 PE28--PE27x--xCB2/1/12
3/1/45 3083 75 YES 2 ACTIVE 3/1/19 3081 PE25x--xPE26
1/1/5 3084 75 YES 4 ACTIVE 3/1/3 3080 CB1/1/5x--xPE17--PE18--PE19--PE20--PE21--PE22
The following example shows output for a specific PE chain (connected to CB port 3/1/19) in the Campus Fabric domain.
ICX7750-48F SPX# show spx ring chain 3/1/45
--------------------------------------------------------------------------------------------------
CB Port Lag | Epoch |Ring Id FSM State|Remote CB port Lag | Chain
--------------------------------------------------------------------------------------------------
3/1/45 3083 75 YES 2 ACTIVE 3/1/19 3081 PE25x--xPE26
PE chain information connecting to CB port 3/1/45 [Lag 3083]
-----------------------------------------------------------------------------
PE Id | Epoch | FSM state |Uplink port|Casc port|Log Block|Prev PE|Next PE
-----------------------------------------------------------------------------
PE25 75 ACTIVE 25/2/1 25/3/1 YES -- x--x
PE chain information connecting to remote CB port 3/1/19 [Lag 3081]
-----------------------------------------------------------------------------
PE Id | Epoch | FSM state |Uplink port|Casc port|Log Block|Prev PE|Next PE
-----------------------------------------------------------------------------
PE26 75 ACTIVE 26/2/2 26/4/1 YES -- x--x
Enter the show spx csp command followed by desired parameters and the PE units you for which you want to display Control and Status Protocol (CSP) information that can help in troubleshooting issues. The information displayed is derived from the CB.
Enter the
show spx csp distributed command followed by the PE units from which you want to receive information to display
CSP information directly from the PE or PEs specified.
The following example shows CSP information received directly from PE units 23 and 29 as indicated by the use of the keyword distributed on the command line.
ICX7750-48F Router# 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
Enter the
show spx zero-touch status command to check whether Campus Fabric Zero-touch provisioning is enabled, active,
or available.
The following example shows command output for a CB unit. The output indicates that both Campus Fabric (SPX) and zero-touch provisioning have been enabled. Two valid chains have been discovered, and three attached units have been added as PEs. IPC-over-Ethernet and ACL are used to copy new images to new units before reloading them as PEs if the new units have different images.
ICX7750-26Q Router# show spx zero-touch status I cannot be discovered by zero-touch or spx interactive-setup. reason: cannot be a PE zero-touch-enable and spx cb-enable are configured. Have done 19 probes ZTP has discovered 2 valid chains and converted 3 PEs. zero-touch-enable period: 3 minutes. Will trigger in 2 min 45 sec ZTP postponed due to topology changes: 2 My MAC used in the IPC-over-Ethernet is 748e.f8f9.636e. ACL #=0, ind=0
The following example shows output from a new unit. Neither SPX interactive-setup or zero-touch provisioning is in progress.
ICX7250-24 Router# show spx zero-touch status I can be discovered by zero-touch or spx interactive-setup. zero-touch-enable is not configured. I am not assigned any PE ID ACL #=0, ind=0
The following example shows output from a new unit during the image copy process. The referenced ACLs are used to forward image download packets. For example, packets with the destination MAC of 609c.9f2a.981c are forwarded to port 2/5. The lines '' My MAC used in image copy is 609c.9f04.68cf " and "609c.9f04.68cf me cpu" shows that this MAC is its own MAC, so packets sent to this MAC are trapped to CPU.
ICX7250-24 Router# show spx zero-touch status I can be discovered by zero-touch or spx interactive-setup. I am discovered by CB u2 748e.f8f9.6300. My assigned ID is 28. Will clean up in 116.6 sec if no keep-alive. Recv last KA 3.4 sec ago. zero-touch-enable is not configured. Default deny-all ACL is installed My MAC used in image copy is 609c.9f04.68cf. CB is in image download mode. ID=28 MAC=609c.9f04.68ac ZTP=1, D0=2/5 2/6 2/7 2/8 D1=2/1 2/3 2/4 ACL #=7, ind=7 0: 609c.9f04.68cf me cpu 1: 609c.9f2a.d49c fwd 2/5 i=0 2: 609c.9f2a.981c fwd 2/5 i=1 3: 609c.9f04.6fb3 fwd 2/5 i=2 4: 609c.9f04.5e8b fwd 2/1 i=3 5: cc4e.246c.f1cc fwd 2/1 i=4 6: 748e.f8f9.636e CB fwd 2/1 i=5 Can reach CB u2: MAC=748e.f8f9.636e port=1/2/1
The following example shows output from a standalone ICX 7450 with startup configuration
flash memory. As indicated in command output, the unit can be converted to a PE using
option 3 of the
spx interactive-setup command.
ICX7450-48F Router# show spx zero-touch status I cannot be discovered by zero-touch or spx interactive-setup option 2. reason: once had startup-configuration flash I can be discoverd by spx interactive-setup option 3. zero-touch-enable is not configured.
Enter the
show spx zero-touch ipc command to display statistics on packets used in the zero-touch or spx interactive-setup
process.
Check the following output fields:
- Send message types: The type 4 (ZTP-request) count should not be 0. If the count is 0, check that the candidate PE units are connected to CB SPX ports or SPX LAGs, zero-touch ports, or to PE ports that are non-base module ports.
- Recv message types: If type 3 (ZTP probe) count is 0, check that the candidate PEs are clean units. When it receives a ZTP request or probe, the PE console prints a warning message if it is not qualified.
- Reliable mail, target MAC: The send count and success count should match. If they are not equal, some messages have not been acknowledged after repeated retransmission. In this situation, zero-touch or SPX interactive-setup may still be successful.
- Possible errors: Check for system information on possible errors, such as corrupted packets.
The following example displays zero-touch IPC information.
ICX7750-26Q Router# show spx zero-touch ipc
V2, , src=748e.f8f9.6300, max_pkt_size=1468, recv 38, send 34
Message types have callbacks:
3: ZTP-probe 4: ZTP-request
5: unreliable-mail 6: reliable-mail
7: test ipc packets 8: cmd-to-new-unit
9: KA-new-unit
Send message types:
[4]=30, [6]=4,
Recv message types:
[3]=30, [6]=8,
Statistics:
send pkt num : 34, send pkt-msg num : 34,
recv pkt num : 38, send msg num : 34,
recv msg num : 38, pkt buf alloc : 34,
Reliable-mail send success receive duplic T-ms
target MAC 2 2 0 0 3
unrel target MAC 0 0
Possible errors:
Enter the
show spx zero-touch log command to display detailed information on zero-touch-enable and spx interactive-setup
processes. Search for
Error! or
Warning! messages for details on potential problems.
The following example indicates that port 1/1/47 links to an invalid chain that already contains a maximum number of PE units. The output also indicates a ZTP reliable mail message has not been delivered.
ICX7750-26Q Router# show spx zero-touch log 42.4516 ZTP chg_cb(old=0, new=4): I new-A, ZTP not enabled, , 1U 0P A4S0 I4A 1% 8m42.4057 init_zero_touch() init_T=5217 , 3U 0P A4S2 I4A 81% 9m46.4440 Send ZTP probes: u1, ports: 4/1/6 to 4/1/8 PEs: , 3U 0P A4S2 I4A 10m7.5115 cb_r_probe. rec#=2, load=173, inv [0] cc4e.248b.77b0, rec#=2, exist mac=cc4e.246c.f190 <= cc4e.248b.77b0, cannot overwrite, 3U 0P A4S2 I4A 21m38.4824 ZTP, 12 .5min T, cb_state = 0, diff = 201 s, diff=201 > 120 sec, trigger probe, 3U 1P A4S2 I4A 20% 21m38.6988 Send ZTP probes: u1, ports: 4/1/6 to 4/1/8 PEs: pe19, , 3U 1P A4S2 I4A 28m40.3054 *** Error! 1/1/47 links to an invalid chain: (chain length=1 + PE 21 len 5 + PE 31 len 1) = 7 > max 6 , 3U 0P A4S2 I4A 90% 28m42.4057 *** Warning! ZTP rel_mail fail: chain 0 type=8, len=102, CPU=90%, 3U 0P A4S2 I4A 90%