
xStack 
config stp ports
| 
 | stations or segments that are capable of being upgraded to | 
| 
 | 802.1w RSTP or 802.1s MSTP on all or some portion of the | 
| 
 | segment. | 
| 
 | edge [true false] – true designates the port as an edge port. | 
| 
 | Edge ports cannot create loops, however an edge port can lose | 
| 
 | edge port status if a topology change creates a potential for a | 
| 
 | loop. An edge port normally should not receive BPDU packets. If a | 
| 
 | BPDU packet is received it automatically loses edge port status. | 
| 
 | false indicates that the port does not have edge port status. | 
| 
 | p2p [true  false  auto] – true indicates a  | 
| 
 | shared link. P2P ports are similar to edge ports however they are | 
| 
 | restricted in that a P2P port must operate in  | 
| 
 | ports, P2P ports transition to a forwarding state rapidly thus | 
| 
 | benefiting from RSTP. A p2p value of false indicates that the port | 
| 
 | cannot have p2p status. auto allows the port to have p2p status | 
| 
 | whenever possible and operate as if the p2p status were true. If | 
| 
 | the port cannot maintain this status (for example if the port is | 
| 
 | forced to  | 
| 
 | as if the p2p value were false. The default setting for this | 
| 
 | parameter is auto. | 
| 
 | state [enable disable] − Allows STP to be enabled or disabled for | 
| 
 | the ports specified in the port list. The default is enable. | 
| 
 | lbd [enable disable] - Used to enable or disable the loopback | 
| 
 | detection function on the switch for the ports configured above in | 
| 
 | the config stp command. | 
| Restrictions | Only  | 
| 
 | 
 | 
Example usage:
To configure STP with path cost 19, hellotime set to 5 seconds, migration enable, and state enable for ports 
Command: config stp ports 
Success.
create stp instance_id
| Purpose | Used to create a STP instance ID for MSTP. | 
| Syntax | create stp instance_id <value  | 
| Description | This command allows the user to create a STP instance ID for the | 
| 
 | Multiple Spanning Tree Protocol. There are 16 STP instances on | 
| 
 | the Switch (one internal CIST, unchangeable) and the user may | 
| 
 | create up to 15 instance IDs for the Switch. | 
| Parameters | <value  | 
| 
 | Spanning Tree instance on the Switch. | 
| Restrictions | Only  | 
| 
 | 
 | 
80
