Convenient Cisco Switchport Host Command

Well, this is a short one but convenient as the title says:)

This command was release by Cisco in the IOS version of 12.1(11)AX. It is very practical and a good to know command.
This command basically optimizes a Layer 2 port for a host connection.

 

It does three things:

1) Configures a switchport interface to access mode (host mode)
2) Disables Etherchannel capabilities
3) Enables Portfast

Command example:

Switch(config)# interface fa0/1 (also available in interfance range command)
Switch(config-if-range)# switchport host

All of the said capabilities will be up and running.

 

Hope it helps!

Leave a comment

Your email address will not be published. Required fields are marked *