Command Manual – MSTPH3C S3100-52P Ethernet Switches Chapter 1 MSTP Configuration Commands1-42Caution:z You can configure only one root bridge for a spanning tree instance and canconfigure one or more secondary root bridges for a spanning tree instance.Specifying multiple root bridges for a spanning tree instance causes unpredictablespanning tree calculation results.z Once a switch is configured as the root bridge or a secondary root bridge, its prioritycannot be modified.Example# Configure the current switch as the root bridge of spanning tree instance 1, set thenetwork diameter of the switched network to 4, and the hello time to 500 centiseconds. system-viewSystem View: return to User View with Ctrl+Z.[H3C] stp instance 1 root primary bridge-diameter 4 hello-time 5001.1.39 stp root secondarySyntaxstp [ instance instance-id ] root secondary [ bridge-diameter bridgenum ][ hello-time centi-seconds ]undo stp [ instance instance-id ] rootViewSystem viewParameterinstance-id: Spanning tree instance ID ranging from 0 to 16. The value of 0 refers to theCIST.bridgenum: Network diameter of the specified spanning tree. This argument rangesfrom 2 to 7 and defaults to 7.centi-seconds: Hello time in centiseconds of the specified spanning tree. This argumentranges from 100 to 1,000 and defaults to 200.DescriptionUse the stp root secondary command to configure the current switch as a secondaryroot bridge of a specified spanning tree instance.Use the undo stp root command to cancel the current configuration.