ivConfiguration procedure ···································································································································· 102Setting the timeout factor ············································································································································· 102Configuring the BPDU transmission rate ···················································································································· 103Configuring edge ports ··············································································································································· 103Configuration restrictions and guidelines ········································································································· 103Configuration procedure ···································································································································· 104Configuring path costs of ports ·································································································································· 104Specifying a standard for the device to use when it calculates the default path cost ································· 104Configuring path costs of ports ·························································································································· 107Configuration example ······································································································································· 107Configuring the port priority ······································································································································· 107Configuring the port link type ····································································································································· 108Configuration restrictions and guidelines ········································································································· 108Configuration procedure ···································································································································· 108Configuring the mode a port uses to recognize and send MSTP packets ····························································· 109Enabling outputting port state transition information································································································ 109Enabling the spanning tree feature ···························································································································· 110Enabling the spanning tree feature in STP/RSTP/MSTP mode ······································································· 110Enabling the spanning tree feature in PVST mode··························································································· 110Performing mCheck ······················································································································································ 111Configuration restrictions and guidelines ········································································································· 111Configuration procedure ···································································································································· 111Configuring Digest Snooping ····································································································································· 112Configuration restrictions and guidelines ········································································································· 112Configuration procedure ···································································································································· 113Digest Snooping configuration example··········································································································· 113Configuring No Agreement Check ···························································································································· 114Configuration prerequisites ································································································································ 115Configuration procedure ···································································································································· 115No Agreement Check configuration example·································································································· 116Configuring TC Snooping ··········································································································································· 116Configuration restrictions and guidelines ········································································································· 117Configuration procedure ···································································································································· 117Configuring protection functions ································································································································ 118Enabling BPDU guard ········································································································································· 118Enabling root guard ············································································································································ 118Enabling loop guard ··········································································································································· 119Configuring port role restriction ························································································································· 120Configuring TC-BPDU transmission restriction ·································································································· 120Enabling TC-BPDU guard···································································································································· 121Enabling BPDU drop ··········································································································································· 121Displaying and maintaining the spanning tree ········································································································· 122Spanning tree configuration example························································································································ 122Network requirements ········································································································································· 122Configuration procedure ···································································································································· 123Verifying the configuration ································································································································· 125PVST configuration example ······································································································································· 126Network requirements ········································································································································· 126Configuration procedure ···································································································································· 127Verifying the configuration ································································································································· 128Configuring loop detection····································································································································· 130Overview······································································································································································· 130Loop detection mechanism ································································································································· 130Loop detection interval ········································································································································ 131