XG Series User's Guide Chapter 4 Switch Functions and their Configuration
Spanning Tree Protocol (STP)
73
4.5.3 Configuring Spanning Tree

To configure the spanning tree protocol, carry out the following procedure in "admin" Operation mode.

Command Task
XG2600# configure Switch to Configuration mode.
XG2600(config)# stp mode stp Enable Spanning Tree Protocol.
XG2600(config)# stp domain 0 priority (0-61440)
XG2600(config)# stp hello (1s-10s)
XG2600(config)# stp age (6s-40s)
XG2600(config)# stp delay (4s-30s)
Configure Spanning Tree Protocol parameters on the device.
Switch priority
Hello time
Maximum aging time (max-age)
Forward delay time (forward-time)
XG2600(config)# ether 1-8 stp use on Enable Spanning Tree Protocol on port 1-8.
XG2600(config)# ether 9-20 stp use off Disable Spanning Tree Protocol on port 9-20.
XG2600(config)# ether 1-8 stp domain 0 priority (0-240)
XG2600(config)# ether 1-8 stp domain 0 cost
(1-200000000)
Configure the following parameters related to the spanning tree
topology:
Port priority
Path cost
XG2600(config)# commit Apply the configuration.
XG2600(config)# save Save the configuration.
XG2600(config)# exit Switch to Operation mode.