For CLI access, you connect from your management PC or laptop to the Services Router through the console port. (For information about the CLI, see JUNOS CLI Basics.)
You are prompted for a username and password. The default username is root. Because no password is initially required, press Enter at the password prompt for a first-time login.
To access a Services Router with the CLI:
When you have been authenticated through the CLI, you enter the UNIX shell:
routername (ttyd0)
login: rootPassword: JUNOS 8.5R1 20070628.0 built 08:11:01 UTC root@%
root@% cli root>
For complete instructions, see the J Series Services Routers Hardware Guide.
In CLI configuration mode, you use the set command to enable features, and the delete command to disable them. The commands you enter do not update the active configuration on the router until you use the commit command.
To configure basic settings with the CLI:
- root# set interfaces ge-0/0/0 unit 0 family
inet address 1.1.2.31/24
- root# set interfaces ge-0/0/1 unit 0 family
inet address 1.6.2.1/24
- root# set interfaces ge-0/0/2 unit 0 family
inet address 2.8.3.1/24
- root# set interfaces ge-0/0/3 unit 0 family
inet address 9.1.4.1/24
The unit number is the logical interface number. IP addresses are configured on the logical interface. Setting the protocol family to inet specifies the routing table of IPv4 addresses.
For complete instructions, see the JUNOS Software Interfaces and Routing Configuration Guide.
For information explaining how to install JUNOS Software, see the following guides:
![]() |
Note: JUNOS Software (legacy services) denotes the packet-based software for the J Series Services Router, and JUNOS Software denotes the flow-based software for the J Series Services Router. |
If you purchased one or more licenses, you received an envelope with instructions for obtaining license keys from the Web. To enable each license on the router, you must add the license key. You can add one or more license keys from the CLI.
To add a license key and enable a license:
For complete instructions, see the JUNOS Software Administration Guide.