286 Configuring Device InformationModifying the LAG STP Parameters1 Open the STP LAG Settings page.2 Select a LAG from the Select a LAG drop-down menu.3 Modify the fields as desired.4 Click Apply Changes.The STP LAG parameters are modified, and the device is updated.Defining STP LAG Settings Using CLI CommandsThe following table summarizes the equivalent CLI commands for defining STP LAG settings.The following is an example of the CLI commands:Configuring Rapid Spanning TreeWhile Classic Spanning Tree guarantees preventing L2 forwarding loops in a general network topology,convergence can take up to 30-60 seconds. The convergence time is considered too long for manyapplications. When network topology allows, faster convergence may be possible. The Rapid Spanning TreeProtocol (RSTP) detects and uses of network topologies that provide faster convergence of the spanningtree, without creating forwarding loops.Table 7-21. STP LAG Settings CLI CommandsCLI Command Descriptionspanning-tree Enables spanning tree.spanning-tree disable Disables spanning tree on a specificLAG.spanning-tree cost cost Configures the spanning tree costcontribution of a LAG.spanning-tree port-priority priority Configures port priority.spanning-tree guard root Enables root guard on all the spanningtree instances on that interface.show spanning-tree [ethernetinterface | port-channel port-channel-number]Displays spanning tree configuration.show spanning-tree [detail] [active |blockedports]Displays detailed spanning treeinformation on active or blocked ports.console(config)# interface port-channel 1console(config-if)# spanning-tree port-priority 16