Before you begin connecting and configuring
a QFX5110, set the following parameter values on the console server
or PC:
Baud Rate—9600
Flow Control—None
Data—8
Parity—None
Stop Bits—1
DCD State—Disregard
You must perform the initial configuration of the QFX5110 through
the console port using the command-line interface (CLI).
Note:
We no longer include the RJ-45 console cable with the DB-9 adapter as part of the
device package. If the console cable and adapter are not included in your device
package, or if you need a different type of adapter, you can order the following
separately:
- RJ-45 to DB-9 adapter (JNP-CBL-RJ45-DB9)
- RJ-45 to USB-A adapter (JNP-CBL-RJ45-USBA)
- RJ-45 to USB-C adapter (JNP-CBL-RJ45-USBC)
If you want to use RJ-45 to USB-A or RJ-45 to USB-C adapter you must have X64
(64-Bit) Virtual COM port (VCP) driver installed on your PC. See, https://ftdichip.com/drivers/vcp-drivers/ to download the driver.
To connect and configure the switch from the console:
-
Connect the console port to a laptop or PC using an RJ-45 cable and RJ-45 to
DB-9 adapter. The console (CON) port is located on the
management panel of the switch.
- Log in as root. There is no
password. If the software booted before you connected to the console
port, you might need to press the Enter key for the prompt to appear.
- Start the CLI.
- Enter configuration mode.
- Add a password to the root administration user account.
[edit]
root@# set system root-authentication plain-text-password
New password: password
Retype new password: password
- (Optional) Configure the name of the switch. If the name
includes spaces, enclose the name in quotation marks (“ ”).
[edit]
root@# set system host-name host-name
- Configure the default gateway.
[edit]
root@# set routing-options static route default next-hop address
- Configure the IP address and prefix length for the switch
management interface.
[edit]
root@# set interfaces em0 unit 0 family inet address address/prefix-length
CAUTION:
Although the CLI permits you to configure two management
Ethernet interfaces within the same subnet, only one interface is
usable and supported.
Note: The management ports em0
(C0) and em1
(C1) are found on the FRU end of the QFX5110 switch.
- (Optional) Configure the static routes to remote prefixes
with access to the management port.
[edit]
root@# set routing-options static route remote-prefix next-hop destination-ip retain no-readvertise
- Enable Telnet service.
[edit]
root@# set system services telnet
Note: When Telnet is enabled, you cannot log in to a QFX5110
switch through Telnet using root credentials. Root login is allowed
only for SSH access.
- Enable SSH service for root login.
[edit]
root@# set system services SSH
- Commit the configuration to activate it on the switch.