Monitoring stacking

Use the following commands to monitor the status and configuration of the stack.

Syntax:

show stacking

Shows the current state of the stack.

Displaying show stacking summary output

switch# show stacking

Stack ID         : 00011cc1-de4d4740                                           
          
MAC Address      : 1cc1de-4d474b
Stack Topology   : Ring                                 
Stack Status     : Active                         
Uptime           : 0d 8h 6m    
Software Version : WB.15.11

 Mbr                                                                         
 ID  Mac Address   Model                                  Pri Status         
 --- ------------- -------------------------------------- --- ---------------
 1   1cc1de-4d4740 HPE J9729A 2920-48G-PoE+-4SFP+ Switch   250 Commander        
 2   1cc1de-4d7400 HPE J9727A 2920-24G-PoE+-2SFP+ Switch   230 Standby      
 3   1cc1de-4ddc00 HPE J9729A 2920-48G-PoE+-4SFP+ Switch   128 Member
 4   1cc1de-4ddc01 HPE J9728A 2920-48G-4SFP+ Switch        128 Member

If stacking is disabled on the switch, the show stacking command displays this message:

Stacking is disabled.

Possible values for the various parameters are:

  • Stack Topology: Chain, Ring, Unknown

  • Stack Status: Active, Fragment Active, Fragment Inactive

  • Pri (Priority): 1 - 255

  • Status: Commander, Standby, Member, Standby Booting, Booting, Missing, Not Joined, Failed

Syntax:

show stacking detail

Shows the same output as the show stacking command with additional details about each device's stack port location, active and inactive ports, CPU utilization, uptime, and memory (total and free).

Displaying show stacking detail output

switch(config)# show stacking detail
Stack ID         : 00031cc1-de4d48c0
MAC Address      : 1cc1de-4d48c9
Stack Topology   : Mesh
Stack Status     : Active
Uptime           : 4d 8h 50m
Software Version : WB.15.11.0000x
Name             : switch
Contact          : Admin
Location         : Cupertino

Member ID        : 1
Mac Address      : 1cc1de-4d48c0
Type             : J9726A
Model            : HPE J9729A 2920-48G-PoE+-4SFP+ Switch
Priority         : 250
Status           : Commander
ROM Version      : WB.15.11
Serial Number    : SG3BDLW047
Uptime           : 0d 8h 44m
CPU Utilization  : 0%
Memory - Total   : 756,760,576 bytes
Free             : 647,056,384 bytes
Stack Ports -
#:1 : Active, Peer member 2
#:2 : Active, Peer member 3
#:3 : Active, Peer member 4
#:4 : Inactive

Syntax:


show stacking member <stack-member-list>

Shows detailed information about switches in the stack-member-list only.

Syntax:


show stacking stack-ports memberstack-member

Shows the current state of the stacking ports of the specified member. If a member is not specified, the command shows the state of the ports of all physically present devices in the stack.

Displaying show stacking stack-ports output

switch# show stacking stack-ports

       Stack       Peer   Peer
Member Port  State Member Port
------ ----- ----- ------ ----
1      1     Up    2      1
1      2     Up    3      2
1      3     Up    4      3
1      4     Down  0      0
2      1     Up    1      1
2      2     Up    3      1
2      3     Down  0      0
2      4     Up    4      4
3      1     Up    2      2
3      2     Up    1      2
3      3     Up    4      1
3      4     Down  0      0
4      1     Up    3      3
4      2     Down  0      0
4      3     Up    1      3
4      4     Up    2      4

If you specify specific stack members in the command, the stacking port information for those members appears.