Cisco Catalyst 2960 Software Configuration Manual page 351

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 12
Configuring Interface Characteristics
Configuring the Console Media Type
Beginning in privileged EXEC mode, follow these steps to select the RJ-45 console media type. If you
configure the RJ-45 console, USB console operation is disabled, and input always remains with the
RJ-45 console.
This configuration applies to all switches in a stack.
Command
Step 1
configure terminal
Step 2
line console 0
Step 3
media-type rj45
Step 4
end
Step 5
show running-configuration
Step 6
copy running-config startup-config
This example disables the USB console media type and enables the RJ-45 console media type.
Switch# configure terminal
Switch(config)# line console 0
Switch(config-line)# media-type rj45
This configuration terminates any active USB console media type in the stack. A log shows that this
termination has occurred. This example shows that the console on switch 1 reverted to RJ-45.
*Mar
system configuration, media-type reverted to RJ45.
At this point no switches in the stack allow a USB console to have input. A log entry shows when a
console cable is attached. If a USB console cable is connected to switch 2, it is prevented from providing
input.
*Mar
by system configuration, media-type remains RJ45. (switch-stk-2)
This example reverses the previous configuration and immediately activates any USB console that is
connected.
Switch# configure terminal
Switch(config)# line console 0
Switch(config-line)# no media-type rj45
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
Note
does not cause a timeout on other switches in the stack.
OL-26520-01
1 00:25:36.860: %USB_CONSOLE-6-CONFIG_DISABLE: Console media-type USB disabled by
1 00:34:27.498: %USB_CONSOLE-6-CONFIG_DISALLOW: Console media-type USB is disallowed
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Purpose
Enter global configuration mode.
Configure the console. Enter line configuration mode.
Configure the console media type to always be RJ-45. If you do not
enter this command and both types are connected, the default is USB.
Return to privileged EXEC mode.
Verify your settings.
(Optional) Save your entries in the configuration file.
Using the Switch USB Ports
12-15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents