PurposeCommand or Action
Enters global configuration modeconfigure terminal
Example:
Switch# configure terminal
Step 2
Specifies the physical interface to be configured, and enter
interface configuration mode.
interface interface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
Step 3
Configures the interface to autonegotiate speed with the
connected device.
speed auto
Example:
Switch(config-if)# speed auto
Step 4
Configures the interface to autonegotiate duplex mode
with the connected device.
duplex auto
Example:
Switch(config-if)# duplex auto
Step 5
Returns to privileged EXEC mode.end
Example:
Switch(config-if)# end
Step 6
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 7
Example for Configuring Auto-MDIX
This example shows how to enable auto-MDIX on a port:
Switch# configure terminal
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# speed auto
Switch(config-if)# duplex auto
Switch(config-if)# mdix auto
Switch(config-if)# end
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
47
Example for Configuring Auto-MDIX