Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

Considering the system security, and in order to prevent the virus spreading through the USB interface, use USB disable function to disable external USB interface of the switch. All the external USB interfaces of the switch will be unavailable after they have been disabled.

Supported Platforms

The USB disable function is supported on the following platforms:

• AG9032

• 4806

• AS4610

•  AS5712_54X

•  AS5812_54X

•  AS6712_32X

•  AS7312_54X

•  AS7712_32X

•  S4048

•  Z9100

Configuring USB Disable Function


•  Use the following command to disable or enable the USB interfaces of the switch.

    set system usb disable [true | false]

   The default setting is set system usb disable false. The command takes effect immediately after committing.

Configuration Example

•   Disable the USB interfaces.      

admin@Xorplus# set system usb disable true
admin@Xorplus# commit

•   Enable the USB interfaces.      

admin@Xorplus# set system usb disable false
admin@Xorplus# commit

Verify the Configuration

•  Use blkid command to view the information of the switch disk. The external USB disk will not be shown if the USB interfaces are disabled.      

/dev/sda1: LABEL="PicOS" UUID="4e223e38-59ca-40ca-93c0-7fc56afdf31b" TYPE="ext3"
/dev/sda2: LABEL="PICOS-BAK" UUID="f7908e2e-5054-4d6c-8d06-c227067dba01" SEC_TYPE="ext2" TYPE="ext3"
  • No labels