Switchport Host - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

switchport host

switchport host
Use the switchport host interface configuration command on the switch to optimize a Layer 2 port for a
host connection. The no form of this command has no effect on the system.
Syntax 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 configuration
Command History
Release
12.1(20)EA1
Usage Guidelines
To optimize the port for a host connection, the switchport host command sets the switchport mode to
access, enables spanning-tree Port Fast, and disables channel grouping. Only an end station can accept
this configuration.
Because spanning-tree Port Fast is enabled, you should enter the switchport host command only on
ports that are connected to a single host. Connecting other switches, hubs, concentrators, or bridges to a
fast-start port can cause temporary spanning-tree loops.
Enable the switchport host command to decrease the time to start packet forwarding.
The no switchport host command has no affect. To return an interface to a configuration not optimized
as a host connection, you can manually reconfigure switchport mode, spanning-tree Port Fast, and
channel grouping. You can also use the default interface interface-id global config command to return
the interface to its default state. However, this command also returns other interface configuration to the
default.
Examples
This example shows how to optimize the port configuration for a host connection:
Switch(config-if)# switchport host
switchport mode will be set to access
spanning-tree portfast will be enabled
channel group will be disabled
Switch(config-if)#
You can verify the effects of the command by entering the show interfaces interface-id switchport or
show running-config interface interface-id privileged EXEC command.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
2-494
switchport host
Modification
This command was introduced.
Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
0L-10102-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents