1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
| [sw1]display stp -------[CIST Global Info][Mode MSTP]------- CIST Bridge :32768.4c1f-ccde-02e8 Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20 Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20 CIST Root/ERPC :32768.4c1f-cc2b-47ba / 20000 CIST RegRoot/IRPC :32768.4c1f-ccde-02e8 / 0 CIST RootPortId :128.2 BPDU-Protection :Disabled TC or TCN received :12 TC count per hello :0 STP Converge Mode :Normal Time since last TC :0 days 0h:2m:12s Number of TC :7 Last TC occurred :GigabitEthernet0/0/2 ----[Port1(GigabitEthernet0/0/1)][DISCARDING]---- Port Protocol :Enabled Port Role :Alternate Port Port Priority :128 Port Cost(Dot1T ) :Config=auto / Active=20000 Designated Bridge/Port :32768.4c1f-cc38-0f51 / 128.1 Port Edged :Config=default / Active=disabled Point-to-point :Config=auto / Active=true Transit Limit :147 packets/hello-time Protection Type :None Port STP Mode :MSTP Port Protocol Type :Config=auto / Active=dot1s BPDU Encapsulation :Config=stp / Active=stp PortTimes :Hello 2s MaxAge 20s FwDly 15s RemHop 20 TC or TCN send :2 TC or TCN received :7 BPDU Sent :3 TCN: 0, Config: 0, RST: 0, MST: 3 BPDU Received :438 TCN: 0, Config: 0, RST: 0, MST: 438 ----[Port2(GigabitEthernet0/0/2)][FORWARDING]---- Port Protocol :Enabled Port Role :Root Port Port Priority :128 Port Cost(Dot1T ) :Config=auto / Active=20000 Designated Bridge/Port :32768.4c1f-cc2b-47ba / 128.1 Port Edged :Config=default / Active=disabled Point-to-point :Config=auto / Active=true Transit Limit :147 packets/hello-time Protection Type :None Port STP Mode :MSTP Port Protocol Type :Config=auto / Active=dot1s BPDU Encapsulation :Config=stp / Active=stp PortTimes :Hello 2s MaxAge 20s FwDly 15s RemHop 20 TC or TCN send :2 TC or TCN received :5 BPDU Sent :4 TCN: 0, Config: 0, RST: 0, MST: 4 BPDU Received :440 TCN: 0, Config: 0, RST: 0, MST: 440 [sw3]display stp -------[CIST Global Info][Mode MSTP]------- CIST Bridge :32768.4c1f-cc2b-47ba Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20 Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20 CIST Root/ERPC :32768.4c1f-cc2b-47ba / 0 CIST RegRoot/IRPC :32768.4c1f-cc2b-47ba / 0 CIST RootPortId :0.0 BPDU-Protection :Disabled TC or TCN received :4 TC count per hello :0 STP Converge Mode :Normal Time since last TC :0 days 0h:4m:52s Number of TC :7 Last TC occurred :GigabitEthernet0/0/1 ----[Port1(GigabitEthernet0/0/1)][FORWARDING]---- Port Protocol :Enabled Port Role :Designated Port Port Priority :128 Port Cost(Dot1T ) :Config=auto / Active=20000 Designated Bridge/Port :32768.4c1f-cc2b-47ba / 128.1 Port Edged :Config=default / Active=disabled Point-to-point :Config=auto / Active=true Transit Limit :147 packets/hello-time Protection Type :None Port STP Mode :MSTP Port Protocol Type :Config=auto / Active=dot1s BPDU Encapsulation :Config=stp / Active=stp PortTimes :Hello 2s MaxAge 20s FwDly 15s RemHop 20 TC or TCN send :1 TC or TCN received :0 BPDU Sent :132 TCN: 0, Config: 0, RST: 0, MST: 132 BPDU Received :1 TCN: 0, Config: 0, RST: 0, MST: 1 ----[Port2(GigabitEthernet0/0/2)][FORWARDING]---- Port Protocol :Enabled Port Role :Designated Port Port Priority :128 Port Cost(Dot1T ) :Config=auto / Active=20000 Designated Bridge/Port :32768.4c1f-cc2b-47ba / 128.2 Port Edged :Config=default / Active=disabled Point-to-point :Config=auto / Active=true Transit Limit :147 packets/hello-time Protection Type :None Port STP Mode :MSTP Port Protocol Type :Config=auto / Active=dot1s BPDU Encapsulation :Config=stp / Active=stp PortTimes :Hello 2s MaxAge 20s FwDly 15s RemHop 20 TC or TCN send :2 TC or TCN received :0 BPDU Sent :226 TCN: 0, Config: 0, RST: 0, MST: 226 BPDU Received :1 TCN: 0, Config: 0, RST: 0, MST: 1 <sw2>system-view Enter system view, return user view with Ctrl+Z. [sw2]display stp -------[CIST Global Info][Mode MSTP]------- CIST Bridge :32768.4c1f-cc38-0f51 Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20 Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20 CIST Root/ERPC :32768.4c1f-cc2b-47ba / 20000 CIST RegRoot/IRPC :32768.4c1f-cc38-0f51 / 0 CIST RootPortId :128.2 BPDU-Protection :Disabled TC or TCN received :9 TC count per hello :0 STP Converge Mode :Normal Time since last TC :0 days 0h:0m:3s Number of TC :8 Last TC occurred :GigabitEthernet0/0/2 ----[Port1(GigabitEthernet0/0/1)][FORWARDING]---- Port Protocol :Enabled Port Role :Designated Port Port Priority :128 Port Cost(Dot1T ) :Config=auto / Active=20000 Designated Bridge/Port :32768.4c1f-cc38-0f51 / 128.1 Port Edged :Config=default / Active=disabled Point-to-point :Config=auto / Active=true Transit Limit :147 packets/hello-time Protection Type :None Port STP Mode :MSTP Port Protocol Type :Config=auto / Active=dot1s BPDU Encapsulation :Config=stp / Active=stp PortTimes :Hello 2s MaxAge 20s FwDly 15s RemHop 20 TC or TCN send :9 TC or TCN received :2 BPDU Sent :545 TCN: 0, Config: 0, RST: 0, MST: 545 BPDU Received :3 TCN: 0, Config: 0, RST: 0, MST: 3 ----[Port2(GigabitEthernet0/0/2)][FORWARDING]---- Port Protocol :Enabled Port Role :Root Port Port Priority :128 Port Cost(Dot1T ) :Config=auto / Active=20000 Designated Bridge/Port :32768.4c1f-cc2b-47ba / 128.2 Port Edged :Config=default / Active=disabled Point-to-point :Config=auto / Active=true Transit Limit :147 packets/hello-time Protection Type :None Port STP Mode :MSTP Port Protocol Type :Config=auto / Active=dot1s BPDU Encapsulation :Config=stp / Active=stp PortTimes :Hello 2s MaxAge 20s FwDly 15s RemHop 20 TC or TCN send :2 TC or TCN received :7 BPDU Sent :6 TCN: 0, Config: 0, RST: 0, MST: 6 BPDU Received :549 TCN: 0, Config: 0, RST: 0, MST: 549 ``` 我们可以按照如下流程解读得到的数据: 这是一份非常完整的STP(生成树协议)信息输出\
## 📌 一、全局信息(Global Info)—— 网络的大局观
这部分描述的是"整个生成树网络"的整体情况。
|