meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
network:switches:cisco:cli [2022/08/22 13:18]
niziak
network:switches:cisco:cli [2023/11/27 13:47] (current)
niziak
Line 40: Line 40:
 </​code>​ </​code>​
  
 +
 +===== RSTP =====
 +
 +<​code>​
 +show spanning-tree summary
 +enable
 +config
 +spanning-tree mode ?
 +spanning-tree mode rapid-pvst
 +
 +spanning-tree vlan 1 priority 57344
 +spanning-tree vlan 2 priority 57344
 +spanning-tree vlan 28 priority 57344
 +spanning-tree vlan 255 priority 57344
 +exit
 +
 +show spanning-tree bridge
 +
 +wr
 +copy run star
 +
 +</​code>​
 +
 +Disable STP:
 +<​code>​
 +enable
 +config terminal
 +Switch(config)#​no spanning-tree vlan 1
 +wr
 +copy run star
 +</​code>​
 +
 +
 +===== Find MAC on ports =====
 +
 +<​code>​
 +
 +sh mac address-table vlan 1
 +</​code>​
 +
 +show interface Gi0/40
 +show controllers
 +
 +
 +===== show port counters =====
 +
 +<code cli>
 +show interface counters
 +
 +enable
 +clear counters
 +</​code>​
 +
 +===== diagnose port =====
 +
 +<code cli>show interface Gi0/​17</​code>​
 +
 +Using Time Domain Reflectometer
 +
 +<code cli>
 +enable
 +test cable-diagnostics tdr int Gi0/17
 +show cable-diagnostics tdr int Gi0/17
 +</​code>​