xStack
Command: config stp maxage 18 maxhops 15
Success.
config stp ports
Purpose | Used to setup STP on the port level. |
Syntax | config stp ports <portlist> {externalCost [auto <value 1- |
| 200000000>] hellotime <value |
| [true false] p2p [true false auto ] state [enable disable] |
| lbd [enable disable]} |
Description | This command is used to create and configure STP for a group of |
| ports. |
Parameters | <portlist> − Specifies a range of ports to be displayed. The port list |
| is specified by listing the lowest slot number and the beginning |
| port number on that slot, separated by a colon. Then the highest |
| slot number, and the highest port number of the range (also |
| separated by a colon) are specified. The beginning and end of the |
| port list range are separated by a dash. For example, 1:3 specifies |
| slot number 1, port 3. 2:4 specifies slot number 2, port 4. |
| specifies all of the ports between slot 1, port 3 and slot 2, port 4 − |
| in numerical order. |
| externalCost − This defines a metric that indicates the relative cost |
| of forwarding packets to the specified port list. Port cost can be set |
| automatically or as a metric value. The default value is auto. |
| auto – Setting this parameter for the external cost will |
| automatically set the speed for forwarding packets to the |
| specified port(s) in the list for optimal efficiency. Default port |
| cost: 100Mbps port = 200000. Gigabit port = 20000. |
| <value |
| 200000000 to determine the external cost. The lower the |
| number, the greater the probability the port will be chosen to |
| forward packets. |
| hellotime <value |
| of configuration messages by the designated port, to other |
| devices on the bridged LAN, thus stating that the Switch is still |
| functioning. The user may choose a time between 1 and 10 |
| seconds. The default is 2 seconds. |
| migrate [yes no] – Setting this parameter as “yes” will set the |
| ports to send out BDPU packets to other bridges, requesting |
| information on their STP setting If the Switch is configured for |
| RSTP, the port will be capable to migrate from 802.1d STP to |
| 802.1w RSTP. If the Switch is configured for MSTP, the port is |
| capable of migrating from 802.1d STP to 802.1s MSTP. RSTP |
| and MSTP can coexist with standard STP, however the benefits of |
| RSTP and MSTP are not realized on a port where an 802.1d |
| network connects to an 802.1w or 802.1s enabled network. |
| Migration should be set as yes on ports connected to network |
79