Wired Intelligent Edge

 View Only
last person joined: yesterday 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

Aruba AOS-CX - Spanning Tree Topology Change History

This thread has been viewed 69 times
  • 1.  Aruba AOS-CX - Spanning Tree Topology Change History

    Posted Dec 03, 2021 07:33 AM

    Hi,

    I have an Aruba CX 6200F (AOS-CX). Previously, I used an Aruba 2930F (AOS-Switch).

    In AOS-Switch, when I wanted to see Spanning Tree topology changes received, I used the command "show spanning-tree topo-change-history received".

    But in AOS-CX, I don´t know how to look Spanning Tree topology changes received.

    Does anyone know which command is the equivalent in AOS-CX?

    Thanks!



    ------------------------------
    Mikel Guerra
    ------------------------------


  • 2.  RE: Aruba AOS-CX - Spanning Tree Topology Change History

    EMPLOYEE
    Posted Dec 03, 2021 07:47 AM
    Hello Mikel,

    You can see TC in the output from "show spanning-tree" as in the following example output:

    (config)# show spanning-tree
    Spanning tree status : Enabled Protocol: MSTP

    MST0
    Root ID Priority : 32768
    MAC-Address: xx:xx:xx:xx:xx:xx
    This bridge is the root
    Hello time(in seconds):2 Max Age(in seconds):20
    Forward Delay(in seconds):15

    Bridge ID Priority : 32768
    MAC-Address: x:xx:xx:xx:xx:xx
    Hello time(in seconds):2 Max Age(in seconds):20
    Forward Delay(in seconds):15

    Port Role State Cost Priority Type BPDU-Tx BPDU-Rx TCN-Tx TCN-Rx
    ------------ -------------- ---------- -------------- ---------- ---------------- ---------- ---------- ---------- ----------
    1/1/3 Disabled Blocking 20000 128 P2P 0 0 0 0
    1/1/4 Disabled Blocking 20000 128 P2P 0 0 0 0
    1/1/5 Disabled Blocking 20000 128 P2P 0 0 0 0
    1/1/6 Disabled Blocking 20000 128 P2P 0 0 0 0

    Hope this helps!

    ------------------------------
    -Alex-
    ------------------------------



  • 3.  RE: Aruba AOS-CX - Spanning Tree Topology Change History

    Posted Dec 03, 2021 07:54 AM

    Hi Alex,

    I want something similar to this, but in AOS-CX (In AOS-Switch I see which switch generated topology change, in which port was generated and when was generated):

    SW-2930F# show spanning-tree topo-change-history received

    Status and Counters - CST Regional Topology Changes History


    MST Instance Id : CST


    Port Mac Address Date Time
    ------- ----------------- ------------ ------------
    2 b8d4e7-b9383f 12/03/2021 13:08:22
    2 b8d4e7-b9383f 12/03/2021 13:08:20
    2 b8d4e7-b9383f 12/03/2021 13:08:17
    2 b8d4e7-b9383f 12/03/2021 13:08:15
    1 8c85c1-be475f 12/03/2021 13:06:53
    1 8c85c1-be475f 12/03/2021 13:06:52
    1 8c85c1-be475f 11/22/2021 11:45:42
    2 b8d4e7-b9383f 11/22/2021 11:45:42
    1 8c85c1-be475f 11/22/2021 11:45:41
    2 b8d4e7-b9383f 11/22/2021 11:45:41



    ------------------------------
    Mikel Guerra
    ------------------------------



  • 4.  RE: Aruba AOS-CX - Spanning Tree Topology Change History

    EMPLOYEE
    Posted Dec 03, 2021 07:56 AM
    In addition to -Alex- proposal, you can consider 'show spanning-tree detail' which shows you TCN statistics per port



    ------------------------------
    Ivan Bondar
    ------------------------------



  • 5.  RE: Aruba AOS-CX - Spanning Tree Topology Change History
    Best Answer

    EMPLOYEE
    Posted Dec 03, 2021 07:58 AM
    Hello, 

    In addition to what -Alex- wrote, you can find detailed STP topology change history in the MSTP diag-dump.
    To generate a diag-dump in the CLI just enter the commands
    diagnostics
    diag-dump mstp basic

    Among other MSTP related information will should be able to find originated and received TC history

    ------------------------------
    Emil Gogushev
    ------------------------------



  • 6.  RE: Aruba AOS-CX - Spanning Tree Topology Change History

    Posted Dec 03, 2021 08:05 AM
    Hi Emil,

    That's what I was looking for!

    Thanks!

    ------------------------------
    Mikel Guerra
    ------------------------------



  • 7.  RE: Aruba AOS-CX - Spanning Tree Topology Change History

    EMPLOYEE
    Posted Dec 03, 2021 08:22 AM

    Hi Mikel, 
    Glad to hear it!

    Just for the sake of completeness I would like to add that ArubaOS-CX unlike older models like 2930 supports event log messages indicating an STP topology change. Here a command which displayes the logs of category MSTP in reverse order.


    switch# show logging -r -c mstp
    ---------------------------------------------------
    Event logs from current boot
    ---------------------------------------------------
    2021-12-03T14:13:20.131382+00:00 switch hpe-mstpd[584]: Event|2011|LOG_INFO|AMM|1/1|Topology Change received on port 1/1/1 for CIST from source: 08:00:09:f0:44:8f
    2021-12-03T14:13:19.125051+00:00 switch hpe-mstpd[584]: Event|2011|LOG_INFO|AMM|1/1|Topology Change received on port 1/1/1 for CIST from source: 08:00:09:f0:44:8f
    2021-12-03T14:11:35.757346+00:00 switch hpe-mstpd[584]: Event|2012|LOG_INFO|AMM|1/1|CIST - Topology Change generated on port 1/1/2 going in to forwarding
    2021-12-03T14:11:35.676797+00:00 switch hpe-mstpd[584]: Event|2012|LOG_INFO|AMM|1/1|CIST - Topology Change generated on port 1/1/1 going in to forwarding
    2021-12-03T14:09:52.403117+00:00 switch hpe-mstpd[584]: Event|2012|LOG_INFO|AMM|1/1|CIST - Topology Change generated on port 1/1/1 going in to forwarding
    2021-12-03T14:09:27.005347+00:00 switch hpe-mstpd[584]: Event|2001|LOG_INFO|AMM|1/1|MSTP Enabled
    switch#



    ------------------------------
    Emil Gogushev
    ------------------------------