306 | LAG/Port Channel Commandsw w w . d e l l . c o m | s u p p o r t . d e l l . c o mspanning-tree (LAG)This command sets the spanning-tree operational mode on the selected LAG (port channel).The no version of this command sets the spanning-tree operational mode to disabled. While disabled,the spanning-tree configuration is retained and can be changed, but is not activated.Syntax [no] spanning-treeDefault disabledMode Interface Port Channel ConfigCommandHistoryspanning-tree 0 cost (LAG)This command sets/clears the CST cost for the port channel.Syntax [no] spanning-tree 0 cost 1-65535Defaults auto-calculated costMode Interface Port Channel ConfigCommandHistoryRelatedCommands interface range Defines an interface range and accesses the Interface Range modeinterface port-channel Defines a port channel and invokes the Interface Port Channel Config modesnmp trap link-status(interface)Enables link status traps by selected interfaceVersion 2.5.1 Introduced in the new Interface Port Channel Config modeRelatedCommands interface range Defines an interface range and accesses the Interface Range modeinterface port-channel Defines a port channel and invokes the Interface Port Channel Config modesnmp trap link-status(interface)Enables link status traps by selected interfacespanning-tree Sets the spanning-tree operational mode to enabled at the global level.Version 2.5.1 Introduced in the new Interface Port Channel Config modeRelatedCommands spanning-tree (LAG) Sets the spanning-tree operational mode on the selected port channelinterface port-channel Defines a port channel and invokes the Interface Port Channel Config mode