Initially Configuring the M320 Router
The T640 Router is shipped with the JUNOS Software preinstalled and ready to be configured when the T640 router is powered on. There are three copies of the software: one on a CompactFlash card in the Routing Engine, one on a rotating hard disk in the Routing Engine, and one on a PC card that can be inserted into the slot in the Routing Engine faceplate.
When the router boots, it first attempts to start the image on the PC card. If a PC card is not inserted into the Routing Engine or the attempt otherwise fails, the router next tries the CompactFlash card (if installed), and finally the hard disk.
You configure the router by issuing JUNOS command-line interface (CLI) commands, either on a console device attached to the CONSOLE port on the CIP, or over a telnet connection to a network connected to the ETHERNET port on the CIP.
Gather the following information before configuring the router:
- Name the router will use on the network
- Domain name the router will use
- IP address and prefix length information for the Ethernet interface
- IP address of a default router
- IP address of a DNS server
- Password for the root user
This procedure connects the router to the network but does not enable it to forward traffic. For complete information about enabling the router to forward traffic, including examples, see the JUNOS Software configuration guides.
To configure the software:
- Verify that the router is powered on.
- Log in as the “root” user. There is no password.
- Start the CLI.
- Enter configuration mode.
- Configure the name of the router. If the name includes spaces, enclose the name in quotation marks (“ ”).
- Create a management console user account.
- Set the user account class to super-user.
- Configure the router’s domain name.
- Configure the IP address and prefix length for the router’s Ethernet interface.
- Configure the IP address of a backup router, which is used only while the routing protocol is not running.
- Configure the IP address of a DNS server.
- Set the root authentication password
by entering either a clear-text password, an encrypted
password, or an SSH public key string (DSA or RSA).
- [edit]
- root@# set system root-authentication plain-text-password
- New password: password
- Retype new password: password
or
or
or
- (Optional) Configure the static routes to remote subnets with access to the management port. Access to the management port is limited to the local subnet. To access the management port from a remote subnet, you need to add a static route to that subnet within the routing table. For more information about static routes, see the JUNOS System Basics Configuration Guide.
- Configure the telnet service at the [edit system services] hierarchy level.
- Optionally, display the configuration to verify that it is correct.
- Commit the configuration to activate it on the router.
- Optionally, configure additional properties by adding the necessary configuration statements. Then commit the changes to activate them on the router.
- When you have finished configuring the router, exit configuration mode.

