Configuring the Console Port Type (CLI Procedure)
EX2200-C, EX2300, EX3400, EX4300, EX4550, and OCX1100 switches provide two console ports: an RJ-45 console port that accepts a cable with an RJ-45 connector and a Mini-USB Type-B console port that accepts a cable with a Mini-USB Type-B plug (5-pin) connector. You can configure and manage the switch using RJ-45 console port as well as Mini-USB Type-B console port.
However, on EX2200-C, EX4550, and OCX1100 switches, only one console port is active at a time and the console input is active only on that port. By default, the RJ-45 console port is the active port on EX2200-C, EX4550, and OCX1100 switches and the Mini USB Type-B console port is the passive. That is, to make a connection on the RJ-45 console port you need not configure it as the active port while to make a connection to the Mini-USB Type-B console port, you must first explicitly configure this port as the active port. You can make either port the active port by using the port-type configuration statement.
On EX2300, EX3400, and EX4300 switches, both the RJ-45 console port and the Mini-USB Type-B console port are active at the same time.
The active console port can display all the early boot and low-level message output and you can access the switch through this port in the debugger prompt.
To configure the RJ-45 or the Mini-USB Type-B console port as an active console port:
- Connect the host machine to the switch using the management console port you want to activate.
- Configure the port type:
user@switch# set system ports auxiliary port-type type
For example, to activate the Mini USB Type-B console port:
user@switch# set system ports auxiliary port-type mini-usb
- Commit the configuration and Exit.
- Reboot the switch. The control and the boot log will appear on the activated console.
Do not use the Delete system ports auxiliary port-type command to delete the port-type configuration. Always use set system ports auxiliary port-type type command to change the active management console port type.