Cisco Catalyst 2960 Software Configuration Manual page 352

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Using the Switch USB Ports
Beginning in privileged EXEC mode, follow these steps to configure an inactivity timeout.
Command
Step 1
configure terminal
Step 2
line console 0
Step 3
usb-inactivity-timeout timeout-minutes
Step 4
show running-configuration
Step 5
copy running-config startup-config
This example configures the inactivity timeout to 30 minutes:
Switch# configure terminal
Switch#(config)# line console 0
Switch#(config-line)# usb-inactivity-timeout 30
To disable the configuration, use these commands:
Switch#(config)# line console 0
Switch#(config-line)# no usb-inactivity-timeout
If there is no (input) activity on a USB console port for the configured number of minutes, the inactivity
timeout setting applies to the RJ-45 port, and a log shows this occurrence:
*Mar
due to inactivity, media-type reverted to RJ45.
At this point, the only way to reactivate the USB console port is to disconnect and reconnect the cable.
When the USB cable on the switch has been disconnected and reconnected, a log similar to this appears:
*Mar
USB Type A Port
The USB Type A port provides access to external USB flash devices, also known as thumb drives or USB
keys. The switch supports Cisco 64 MB, 256 MB, 512 MB and 1 GB flash drives. You can use standard
Cisco IOS command- line interface (CLI) commands to read, write, erase, and copy to or from the flash
device. You can also configure the switch to boot from the USB flash drive.
Beginning in privileged EXEC mode, follow these steps to allow booting from the USB flash device.
Command
Step 1
configure terminal
Step 2
boot system flash usbflash0: image
Step 3
show running-configuration
Step 4
copy running-config startup-config
To get information about the USB device, use the show usb {controllers | device | driver | port | tree}
privileged EXEC command.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
12-16
1 00:47:25.625: %USB_CONSOLE-6-INACTIVITY_DISABLE: Console media-type USB disabled
1 00:48:28.640: %USB_CONSOLE-6-MEDIA_USB: Console media-type is USB.
Purpose
Enter global configuration mode.
Configure the console port. Enter console line configuration mode.
Specify an inactivity timeout for the console port. The range is
1 to 240 minutes. The default is to have no timeout configured.
Verify your setting.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Configure the switch to boot from the USB flash device. The image is
the name of the bootable image.
Verify your setting.
(Optional) Save your entries in the configuration file.
Chapter 12
Configuring Interface Characteristics
OL-26520-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents