Plain-text password:
[edit]
root# set system root-authentication plain-text-password
New password: password
Retype new password: password
Encrypted password:
[edit]
root# set system root-authentication encrypted-password encrypted-password
SSH-ECDSA password:
[edit]
root# set system root-authentication ssh-ecdsa public-key
SSH-ED25519 password:
[edit]
root# set system root-authentication ssh-ed25519 public-key
SSH-RSA password:
[edit]
root# set system root-authentication ssh-rsa public-key
7. Configure the default gateway.
[edit]
root# set routing-options static route 0/0 next-hop address
8. Configure the IP address and prefix length for the management interface on the switch.
[edit]
root# set interfaces em0 unit 0 family inet address address/prefix-length
NOTE: The management port em0 (labeled MGMT) is on the rear panel of the QFX5120-48T switch. The
management ports em0 (labeled C0) and em1 (labeled C1) are on the rear panel of the QFX5120-48Y and
QFX5120-48YM switches.
9