Securing End Device Access Ports

Switch(config)#interface range fastethernet 0/1 - 24

Enters interface range command mode. All commands entered in this mode will be applied to all interfaces in the range.

Switch(config-if-range)#switchport host

Enables the switchport host macro

NOTE: The switchport host command is a macro that performs the following actions:

• Sets the switch port mode to access

• Enables Spanning Tree PortFast

• Disables channel grouping

The switchport host command does not have a no keyword to disable it. To return an interface to default configuration, use the global configuration command default interface interface-id:

Switch(config)#default interface fasthethernet 0/1

This page intentionally left blank

Was this article helpful?

0 0

Post a comment