1-15Parametersbridgenum: Network diameter to be set for a switched network. This argument ranges from 2 to 7.DescriptionUse the stp bridge-diameter command to set the network diameter of a switched network. Thenetwork diameter of a switched network is represented by the maximum possible number of switchesbetween any two terminal devices in a switched network.Use the undo stp bridge-diameter command to restore the network diameter to the default value.By default, the network diameter is 7.After you configure the network diameter of a switched network, MSTP adjusts its hello time, forwarddelay, and max age settings accordingly. With the network diameter set to the default value 7, the threetime-relate settings, including hello time, forward delay, and max age, are set to their default values aswell.The stp bridge-diameter command only applies to CIST. It is invalid for MSTIs.Related commands: stp timer forward-delay, stp timer hello, stp timer max-age.Examples# Set the network diameter to 5. system-viewSystem View: return to User View with Ctrl+Z.[Sysname] stp bridge-diameter 5stp complianceSyntaxstp compliance { auto | legacy | dot1s }undo stp complianceViewEthernet port viewParametersauto: Specifies the port to recognize and send MSTP packets in the automatic mode.legacy: Specifies the port to recognize and send MSTP packets in the legacy mode.dot1s: Specifies the port to recognize and send MSTP packets in the 802.1s mode.DescriptionUse the stp compliance command to set the mode in which a port recognizes and sends MSTPpackets.Use the undo stp compliance command to restore the default.By default, a port recognizes and sends MSTP packets in the automatic mode.A port can be configured to recognize and send MSTP packets in the following modes.z Automatic mode. Ports in this mode determine the format of the MSTP packets to be sentaccording to the format of the received packets.