Command Manual – MSTPH3C S3100-52P Ethernet Switches Chapter 1 MSTP Configuration Commands1-12automatically upon receiving configuration BPDUs, which causes spanning treesrecalculation and network topology jitter.Normally, no configuration BPDU will reach edge ports. But malicious users can attacka network by sending configuration BPDUs deliberately to edge ports to cause networkjitter. You can prevent such attacks by enabling the BPDU protection function. With thisfunction enabled on a switch, the switch shuts down the edge ports that receiveconfiguration BPDUs and then reports these cases to the administrator. If an edge portis shut down, only the administrator can restore it.Example# Enable the BPDU protection function. system-viewSystem View: return to User View with Ctrl+Z.[H3C] stp bpdu-protectionCaution:As Gigabit ports of an S3100-52P Ethernet switch cannot be shut down, the BPDUprotection function is not applicable to these ports even if you enable the BPDUprotection function and specify these ports to be MSTP edge ports.1.1.12 stp bridge-diameterSyntaxstp bridge-diameter bridgenumundo stp bridge-diameterViewSystem viewParameterbridgenum: Network diameter to be set for a switched network. This argument rangesfrom 2 to 7 and defaults to 7.DescriptionUse the stp bridge-diameter command to set the network diameter of a switchednetwork. The network diameter of a switched network is represented by the maximumpossible number of switches between any two terminal devices in a switched network.