R3303-HP 6600/HSR6600 Routers Fundamentals Command Reference

195
slot slot-number: Specifies the USB device port on an MPU by the MPU's slot number ( 0 or 1).
Usage guidelines
Before you enable a USB device port, make sure no operations such as copy are performing on the CF
card. Otherwise, your connection to the device or the operation might fail.
The following matrix shows the command, option, and router compatibility:
Item 6602 HSR6602
6604/6608/6616
usb device-port enable Yes. No.
Yes when RPE-X1 and RSE-X1 MPUs are
used and no when MCP MPUs are used.
slot slot-number No. No.
Yes when RPE-X1 and RSE-X1 MPUs are
used and no when MCP MPUs are used.
Examples
# On an 6602, enable the USB device port and specify the device type as storage device.
<sysname> system-view
[sysname] usb device-port enable type storage
# On an 6602, disable the USB device port.
<sysname> system-view
[sysname] undo usb device-port enable
# On an 6604, 6608, or 6616, enable the USB device port on the MPU in slot 1 and specify the device
type as storage device.
<sysname> system-view
[sysname] usb device-port enable type storage slot 1
# On an 6604, 6608, or 6616, disable the USB device port on the MPU in slot 1.
<sysname> system-view
[sysname] undo usb device-port enable slot 1
usb disable
Use usb disable to disable all USB interfaces.
Use undo usb disable to enable all USB interfaces.
Syntax
usb disable
undo usb disable
Default
The USB device port is disabled.
Views
System view
Default command level
3: Manage level