Layer 2 Switching Commands 750ExampleThe following example configures the external path cost to be 8192 forVLANs 12, 13, 24, 25, and 26.console(config-if-Gi1/0/1)#spanning-tree vlan 12,13,24-26 cost 8192spanning-tree disableUse the spanning-tree disable command in Interface Configuration mode todisable spanning-tree on a specific port. To enable spanning-tree on a port,use the no form of this command.Syntaxspanning-tree disableno spanning-tree disableDefault ConfigurationBy default, all ports are enabled for spanning-tree.Command ModeInterface Configuration (gigabitethernet, port-channel, tengigabitethernet,fortygigabitethernet) modeUser GuidelinesThis command has no user guidelines.ExampleThe following example disables spanning-tree on Gi1/0/5.console(config)#interface gigabitethernet 1/0/5console(config-if-Gi1/0/5)#spanning-tree disablespanning-tree forward-timeUse the spanning-tree forward-time command in Global Configurationmode to configure the spanning-tree bridge forward time, which is theamount of time a port remains in the listening and learning states beforeentering the forwarding state.