ON THIS PAGE
Configuration Guidelines for Securing Console Port Access
We recommend that you (the network administrator) disable the console port to prevent unauthorized access to the device.
Secure the Console Port
You can use the console port on a device to connect to the device through an RJ-45 serial cable. From the console port, you can use the CLI to configure the device. By default, the console port is enabled. To secure the console port, you can configure the device to take the following actions:
-
Log out of the console session when you unplug the serial cable connected to the console port.
-
Disable root login connections to the console. This action prevents a non-root user from performing password recovery operation using the console.
-
Disable the console port. We recommend that you disable the console port to prevent unauthorized access to the device. Preventing unauthorized access is especially important when the device is used as customer premises equipment (CPE) and is forwarding sensitive traffic.
Note:It is not always possible to disable the console port, because console access is important during operations such as software upgrades.
Warning:On SRX300, SRX320, SRX340, and SRX345 devices, if you configure both the
set system ports console insecure
andset chassis routing-engine bios uninterrupt
options, there is no alternative recovery method available if Junos OS fails to boot.
To secure the console port:
Secure Mini-USB Ports
SRX320, SRX320, SRX340, and SRX345 devices have a mini-USB Type-B port. You can connect your management device to the Mini-USB Type-B console port for CLI management.
You can disable mini-USB ports on the SRX Series Firewalls to block users from connecting a USB mass storage device to the services gateway. When you disable the mini-USB port on the device, any transactions in progress on the USB device are terminated.
Use the following command to disable mini-USB ports:
[edit]
user@host#
set chassis usb storage disable
Use the following command to enable mini-USB ports:
[edit]
user@host#
delete chassis usb storage disable
This action re-enables the disabled mini-USB ports.
Use the show
command to verify the status of the mini-USB:
user@host>
show chassis usb storage
The output displays the current status of the USB mass storage device and indicates whether the USB ports are enabled or disabled.