Configure Junos OS on the QFX5120
QFX5120 Default Configuration
We ship each QFX5120 switch programmed with a factory-default configuration that contains the values set for each configuration parameter. The default configuration file sets values for system parameters such as the system log and file messages.
When you commit changes to the configuration, a new configuration file is created that becomes the active configuration. You can always revert to the factory-default configuration.
This topic shows the factory-default configuration file of a QFX5120 switch:
system { syslog { user * { any emergency; } file messages { any notice; authorization info; } file interactive-commands { interactive-commands any; } } commit { factory-settings; } }
Connect and Configure a QFX5120 Switch
Before you connect and configure a QFX5120, set the following parameter values on the console server or desktop PC:
Baud Rate—9600
Data—8
Flow Control—None
Parity—None
Stop Bits—1
DCD State—Disregard
Ensure that you have the following parts and tools available:
An Ethernet cable with an RJ-45 connector attached—not provided
An RJ-45 to DB-9 serial port adapter—not provided
A management host such as a laptop or desktop PC, with a serial port—not provided
Have the following information available before you configure custom settings for the switch:
Root password
IP address of the default gateway
IP address of the management port
IP address of a DNS server
(Optional) Hostname
(Optional) IP address of a backup router
(Optional) SNMP read community, location, and contact to configure SNMP parameters
(Optional) Static routes to remote subnets with access to the management port
(Optional) Static routes to remote prefixes with access to the management port
We ship the QFX5120 switch with Junos OS preinstalled and ready to be configured when you power on the switch. You must perform the initial configuration of the QFX5120 through the console port (labeled CON) on the switch by using the command-line interface (CLI).
This procedure describes how to perform the initial configuration on the switch and to connect it to the network. For the complete information about enabling the switch to forward traffic, including examples, see the Junos OS configuration guides.
To perform the initial configuration on the switch and to connect it to the network:
You can now log in by using the CLI and continue configuring the switch.