20-20Configuring the Bridge Priority of the Current SwitchRoot bridges are selected according to the bridge priorities of switches. You can make a specific switchbe selected as a root bridge by setting a lower bridge priority for the switch. An MSTP-enabled switchcan have different bridge priorities in different MSTIs.Configuration procedureFollow these steps to configure the bridge priority of the current switch:To do... Use the command... RemarksEnter system view system-view —Set the bridge priority for thecurrent switchstp [ instance instance-id ]priority priorityRequiredThe default bridge priority of aswitch is 32,768.z Once you specify a switch as the root bridge or a secondary root bridge by using the stp rootprimary or stp root secondary command, the bridge priority of the switch cannot be configuredany more.z During the selection of the root bridge, if multiple switches have the same bridge priority, the onewith the smallest MAC address becomes the root bridge.Configuration example# Set the bridge priority of the current switch to 4,096 in MSTI 1. system-view[Sysname] stp instance 1 priority 4096Configuring How a Port Recognizes and Sends MSTP PacketsA port can send/recognize MSTP packets of two formats:z dot1s: 802.1s-compliant standard formatz legacy: Compatible formatBy default, the packet format recognition mode of a port is auto, namely the port automaticallydistinguishes the two MSTP packet formats, and determines the format of packets it will send based onthe recognized format. You can configure the MSTP packet format to be used by a port. After theconfiguration, when working in MSTP mode, the port sends and receives only MSTP packets of theformat you have configured to communicate with devices that send packets of the same format.Configuration procedureFollow these steps to configure how a port recognizes and sends MSTP packets (in system view):To do... Use the command... RemarksEnter system view system-view —