Configuring Interface Characteristics

Configuring the USB Inactivity Timeout

DETAILED STEPS

 

Command or Action

Purpose

Step 1

configure terminal

Enters the global configuration mode.

Example:

Switch# configure terminal

Step 2

line console 0

Configures the console and enters line configuration mode.

Example:

Switch(config)# line console 0

Step 3

media-type rj45

Example:

Switch(config-line)# media-type rj45

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.

Step 4

end

Returns to privileged EXEC mode.

Example:

Switch(config)# end

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.

Note 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.

Beginning in privileged EXEC mode, follow these steps to configure an inactivity timeout.

SUMMARY STEPS

1.configure terminal

2.line console 0

3.usb-inactivity-timeout timeout-minutes

Catalyst 2960-X Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX

OL-29034-01

33

Page 45
Image 45
Cisco Systems WSC2960X48TDL manual Configuring the USB Inactivity Timeout