2-779Cisco Catalyst Blade Switch 3120 for HP Command ReferenceOL-12248-03Chapter 2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commandsswitchport hostswitchport hostUse the switchport host interface configuration command on the switch stack or on a standalone switchtooptimize a Layer 2 port for a host connection. The no form of this command has no affect on the system.switchport hostSyntax Description This command has no arguments or keywords.Defaults The default is for the port to not be optimized for a host connection.Command Modes Interface configurationCommand HistoryUsage Guidelines To optimize the port for a host connection, the switchport host command sets switch port mode toaccess, enables spanning tree Port Fast, and disables channel grouping. Only an end station can acceptthis configuration.Because spanning tree Port Fast is enabled, you should enter the switchport host command only on portsthat are connected to a single host. Connecting other switches, hubs, concentrators, or bridges to afast-start port can cause temporary spanning-tree loops.Enable the switchport host command to decrease the time that it takes to start up packet forwarding.Examples This example shows how to optimize the port configuration for a host connection:Switch(config-if)# switchport hostswitchport mode will be set to accessspanning-tree portfast will be enabledchannel group will be disabledSwitch(config-if)#You can verify your setting by entering the show interfaces interface-id switchport privileged EXECcommand.Related CommandsRelease Modification12.2(40)EX1 This command was introduced.Command Descriptionshow interfaces switchport Displays the administrative and operational status of a switching(nonrouting) port, including switchport mode.