Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring the Console Port Type (CLI Procedure)

 

Some devices have two console ports: an RJ-45 console port and a Mini-USB Type-B console port. You can configure and manage the device using either port. To connect to the device using a passive port, you must first configure the port as active and then reboot the device.

When a console port is active, it can display all the early boot and low-level message output. You can access the device through this port in the debugger prompt. On some devices, only one console port is active at a time and the console input is active only on that port. Check the hardware guide for your particular device for whether both ports can be active at the same time.

The RJ-45 console port is the active port by default. To activate the Mini-USB Type-B console port:

  1. Connect the host machine to the device directly using the active console port or remotely using the management interface. To connect using the active console port, which is the RJ-45 console port by default, see Connecting a Device to a Management Console Using an RJ-45 Connector.
  2. Connect to your device using the Mini-USB Type-B console port. See the hardware guide for your particular device for how to connect to the port.
  3. Configure the port type as mini-usb:
    [edit]

    user@switch# set system ports auxiliary port-type mini-usb
  4. Commit the configuration and Exit. The initial logs will show the Mini-USB Type-B console port as active.
  5. Reboot the switch. The boot log appears on the activated console. If your device supports both ports being active at the same time, both ports are now active and can be used as console ports.
Note

Do not use the delete system ports auxiliary port-type command to delete the port-type configuration. Always use the set system ports auxiliary port-type type command to change the active management console port type.

To configure the RJ-45 console port as the active port, use the same procedure with the set system ports auxiliary port-type rj45 command.