Enable or Disable the USB Port

Perform this procedure to control USB access. For security reasons, you may want to disable this port to prevent individuals from using it. By default, the port is automatically mounted when a USB device is inserted.

Before you begin

  • The switch must be in Enhanced Secure mode.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Disable the USB port:

    sys usb disable

  3. Enable a previously disabled USB port:

    no sys usb disable