Performing the Initial Configuration for JRR200
JRR200 Route Reflector Initial Configuration Using the CLI
Access the CLI to perform the initial configuration.
- Log in to the device as root. When the device is powered on with the factory-default configuration, you do not need to enter a password.
- At the (%) prompt, type cli to start
the CLI and press Enter. The prompt changes to an angle bracket (>) when you enter the CLI operational mode.
- At the (>) prompt, type configure and press Enter. The prompt changes from > to # when you enter configuration mode.
Entering configuration mode
- Set the root authentication password by entering a cleartext
password, an encrypted password, or an SSH public key string (DSA
root# set system root-authentication plain-text- password
New password: password
Retype new password: password
- Configure the route for the management interface (optional,
required only if you do not connect the
MGMTport directly to the management device).
root# set routing-options static route destination prefix next-hop gateway
- Commit the configuration changes.
- Connect the
MGMTport on the device to the Ethernet port on the management device using an RJ-45 cable.
- The JRR200 route reflector
MGMTport is internally mapped to the
em0interface in Junos. By default, the management network interface (
em0) is configured with DHCP enabled. If there is a DHCP server on the management network, then the JRR200 management network interface is automatically assigned an IP address. If there is no DHCP server on the management network then you need to configure the management network interface IP address by performing the following steps:
Delete the default management interface configuration.
root# delete interfaces em0
Configure a new IP address for the management interface.
root# set interfaces em0 unit 0 family inet address address/prefix-length
Commit the configuration changes.
Configure an IP address for the management device. Ensure that the IP address is on the same subnetwork as the management interface (
- When you have finished configuring the device, exit configuration
JRR200 Route Reflector Factory-Default Settings
Your JRR200 route reflector comes configured with a factory-default configuration which has the ZTP configurations enabled when the JRR200 route reflector is shipped.
The below is the factory default configuration file of JRR200 route reflector.
Viewing Factory-Default Settings of JRR200 Route Reflector
To view the factory-default settings on your JRR200 route reflector:
- Log in as the root user and provide your credentials.
- View the list of default config files:
user@host>file list /etc/config
- View the required default config file.
user@host> file show /etc/config/<config file name>
When you commit changes to the configuration, a new configuration file is created, which becomes the active configuration. If the current active configuration fails, you can use the load factory-default command to revert to the factory-default configuration.