Configuring RSTP

The process for configuring RSTP is as follows.

  1. Enable RSTP by using the global protocol spanning-tree command.
    <protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
    	<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">
    		<rstp></rstp>
    	</spanning-tree>
    </protocol>
  2. Designate the root switch by using the bridge-priority command. The range is 0 through 61440 and the priority values can be set only in increments of 4096.
    <protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
    	<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">
    		<rstp>
    			<bridge-priority>32768</bridge-priority>
    		</rstp>
    	</spanning-tree>
    </protocol>
  3. Configure the bridge forward delay value to set the time an interface spends in each of the listening and learning states.
    <protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
    	<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">
    		<rstp>
    			<forward-delay>30</forward-delay>
    		</rstp>
    	</spanning-tree>
    </protocol>
  4. Configure the bridge maximum aging time value to set the interval time in seconds between messages that the spanning tree receives from the interface.
    <protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
    	<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">
    		<rstp>
    			<max-age>40</max-age>
    		</rstp>
    	</spanning-tree>
    </protocol>
  5. Enable the error-disable-timeout timer.
    <protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
    	<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">
    		<rstp>
    			<error-disable-timeout>
    				<enable></enable>
    			</error-disable-timeout>
    		</rstp>
    	</spanning-tree>
    </protocol>
  6. Configure the error-disable-timeout interval value to set the timeout for errors on an interface.
    <protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
    	<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">
    		<rstp>
    			<error-disable-timeout>
    				<interval>500</interval>
    			</error-disable-timeout>
    		</rstp>
    	</spanning-tree>
    </protocol>