STP
STP (Spanning Tree Protocol) automatically removes layer 2 switching loops by shutting down the redundant links. A redundant link is an additional link between two switches. A redundant link is usually created for backup purpose.
The STP protocol actively monitors all links of the network. To find a redundant link, it uses an algorithm, known as the STA (spanning-tree algorithm). The STA algorithm first creates a topology database then it finds and disables the redundant links. Once redundant links are disabled, only the STP-chosen links remain active. If a new link is added or an existing link is removed, the STP re-runs the STA algorithm and re-adjusts all links to reflect the change.
The Interface Net STP commands are utilized to modify the Spanning Tree Protocol configuration and get status and statisitics back from STP on the OLT uplinks. The commands for stp includes:
| Note: * = required parameter + = select one parameter from set |
- Command Path - interface->net
- Command - stp
- Actions -
- show - show stp configuration values
- aid - aid of net
- verbose - show more detailed information
- STATisticS - show stp statistics
- aid - aid of the net to display
- i.e. NET1|NET3
- lacp - show lacp configuration details
- mstp - show mstp configuration details
- summary - show summary of configuration
- verbose - show more detailed configura
- vlan - show assigned vlans
- aid - aid of the net to display
- status - show stp statistics
- aid - aid of the net to display
- i.e. NET1|NET3
- lacp - show lacp configuration details
- mstp - show mstp configuration details
- summary - show summary of configuration
- verbose - show more detailed configuration
- vlan - show assigned vlans
- aid - aid of the net to display
- show - show stp configuration values
- From the ESUx> command line, input interface net stp status, and press Enter. Output similar to the following is displayed:
ESUx> interface net stp status <enter> | Interface Status | |=======|=========|==================================|==========|=======|=======| | Ifc | | | Adm/Opr | LACP | CIST | | ID | IfIndex | User Label (ifAlias) | State | State | State | |=======|=========|==================================|==========|=======|=======| | NET1 | 256 | default | ena/up | dis | fwd | | NET3 | 258 | Testing NET | ena/dn | dis | dis | |=======|=========|==================================|==========|=======|=======| ESUx> _
FEEDBACK: Are you happy with this material?
Thank you Your feedback helps us to continually improve our content.