Configuring Switching Information 345Table 7-21. Spanning Tree Global CommandsCLI Command Descriptionspanning-tree Enables spanning-tree functionality.spanning-tree bpdu flooding Allows flooding of BPDUs received on nonspanning-tree ports to allother non-spanning-tree ports.spanning-tree bpdu-protection Enables BPDU protection on a switch.spanning-tree forward-time Configures the spanning-tree bridge forward time, which is theamount of time a port remains in the listening and learning statesbefore entering the forwarding state.spanning-tree loopguard Enables loop guard on all ports.spanning-tree max-age Configures the spanning-tree bridge maximum age.spanning-tree max-hops Sets the MSTP Max Hops parameter to a new value for the commonand internal spanning tree.spanning-tree mode Configures the spanning-tree protocol type.spanning-tree portfast bpdufilter default Discards BPDUs received on spanningtree ports in portfast mode.spanning-tree portfast default Enables Portfast mode on all ports.spanning-tree priority Configures the spanning-tree priority.spanning-tree transmit hold-count Set the maximum number of BPDUs that a bridge is allowed to sendwithin a hello time window (2 seconds).show spanning-tree Display the spanning-tree configuration.show spanning-tree summary Display spanning tree settings and parameters for the switch.