Chapter 6. Getting to Know Command-Line Interface Essentials

When you first get your router (or switch), you'll want to turn it on and start playing with it right away. So this chapter lays out the basics of how to log in and gives a guided tour of what you will find using the router's command-line interface (CLI). It also tells you how to configure the router the first time.

Logging in to Your Router for the First Time

Most Juniper routers are large systems that are part of the campus network used by your business or school. More than likely, a separate team has installed and connected the router to the network. (If you're installing the router yourself, see the sidebar "DIY: Installing the router.")

When the router is already connected to your network, you need to find out from the installer or your network team what they've named the router. This hostname, or name, is your entry key. From your PC or laptop, use a terminal program, such as Telnet, to open a connection to the router.

The router is like any other secured device on the network. You need to have a username and a password to log in. The first time you log in to a router that has never been configured, it will be as root, and the router will not require a password. This user is a super-administrator who can perform any operation, from benign checks such as looking at the status of the router to disruptive operations such as changing the configuration and rebooting the router.

Get JUNOS® FOR DUMMIES® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.