media-type rj45
media-type rj45
Syntax Description
Defaults
Command Modes
Command History
Usage Guidelines
Examples
Related Commands
Catalyst 3750-X and 3560-X Switch Command Reference
2-358
Downloaded from
www.Manualslib.com
Use the media-type rj45 line configuration command to manually select the RJ-45 console connection
for input, whether or not there is a device connected to the USB console port. Use the no form of this
command to return to the default setting. The USB console takes precedence if devices are connected to
both consoles.
media-type rj45
no media-type rj45
This command has no arguments or keywords.
The default is that the switch uses the USB console connector for input.
Line configuration
Release
Modification
12.2(53)SE2
This command was introduced.
The switch has a USB mini-Type B console connector and a USB console connector. Console output
displays on devices connected to both connectors, but console input is active on only one input at a time,
with the USB connector taking precedence. When you configure the media-type rj45 line configuration
command, USB console operation is disabled and input always remains with the RJ-45 console.
Entering the no media-type rj45 line configuration command immediately activates the USB console
when it is connected to a powered-on device with a terminal emulation application.
Removing the USB connector always enables input from the RJ-45 connector.
This example configures the switch to always use the RJ-45 console input:
Switch(config)# line console 0
Switch(config-line)# media-type rj45
This example configures the switch to always use the USB console input if there is a connected
powered-on device:
Switch(config)# line console 0
Switch(config-line)# no media-type rj45
You can verify your setting by entering the show running config privileged EXEC command.
Command
Description
usb-inactivity timeout Specifies an inactivity timeout for the USB console port.
manuals search engine
Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
OL-21522-02