PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Configures the console and enters line configuration mode.line console 0
Example:
Switch(config)# line console 0
Step 3
Configures the console media type to be only RJ-45 port. If
you do not enter this command and both types are connected,
the USB port is used by default.
media-type rj45
Example:
Switch(config-line)# media-type rj45
Step 4
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 6
Configuring the USB Inactivity Timeout
The configurable inactivity timeout reactivates the RJ-45 console port if the USB console port is activated
but no input activity occurs on it for a specified time period. When the USB console port is deactivated due
to a timeout, you can restore its operation by disconnecting and reconnecting the USB cable.
The configured inactivity timeout applies to all switches in a stack. However, a timeout on one switch
does not cause a timeout on other switches in the stack.
Note
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
36
How to Configure Interface Characteristics