Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Support
Technical Documentation
Content Explorer New
 
Enterprise MIBs
 
EOL Documentation
 
File Format Help
 
Glossary
 
Portable Libraries
 
 
Home > Support > Technical Documentation > M Series Routers > M10i Router Hardware > Initially Configuring the M10i Router
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...

M Series Search

Advanced Search |  Search Tips
 

Supported Platforms

  • M10i Routers
 
 

Related Documentation

  • M Series
  • Configuring CFEB Redundancy on the M10i Router
  • Configuring the CompactFlash Card on an M10i Routing Engine
  • M10i Router Site Preparation Checklist
  • T Series
  • Configuring CFEB Redundancy on the M10i Router
 
Recent Community Posts
Show All Show Fewer 
 
 
Related Links
M Series Product Literature
  • Junos Central
  • Junos Technotes
  • Junos Day One Books
M Series Certification
  • Fast Track Certification Program
  • Certification Study Guides
Junos Technical Education Courses (Free)
  • Networking Fundamentals
  • Junos As A Second Language
  • Junos As A Scripting Language
  • Junos As A Security Language
  • Juniper Networks Books
Support
  • Junos Software (Canada & US)  Login required
  • Junos Software (Worldwide) Login required
  • Knowledge Base - Browse M Series Articles  Login required
  • Technical Bulletins for M Series Login required
  • IOS to Junos Migration Tool Login required
  • ScreenOS to Junos software with enhanced services Migration Tool Login required
Show All Show Fewer 
 
 

Initially Configuring the M10i Router

The router is shipped with the Junos OS preinstalled and ready to be configured when the router is powered on. There are three copies of the software: one on a CompactFlash card (if installed) in the Routing Engine, one on the 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 OS command-line interface (CLI) commands, either on a console device attached to the CONSOLE port on the Routing Engine, or over a telnet connection to a network connected to the MGMT port on the Routing Engine.

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 one 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 OS configuration guides.

To configure the software:

  1. Verify that the router is powered on, as described in Powering On an AC-Powered M10i Router or Powering On a DC-Powered M10i Router.
  2. Log in as the root user. There is no password.
    Amnesiac <ttyd0>

    login: root
  3. Start the CLI.
    root@% cliroot>
  4. Enter configuration mode.
    root> configure Entering configuration mode.[edit]root@#
  5. Add a password to the root administration user account. Enter a clear-text password. For information about using an encrypted password, or an SSH public key string (DSA or RSA), see the Junos OS System Basics Configuration Guide.
    [edit]root@# set system root-authentication plain-text-passwordNew password: password Retype new password: password
  6. Create a management console user account.
    [edit]
    root# set system login user user-name authentication plain-text-password
    New Password: password
    Retype new password: password
  7. Set the user account class to super-user.
    [edit]
    root# set system login user user-name class super-user
  8. Configure the name of the router. If the name includes spaces, enclose the name in quotation marks (“ ”).
    [edit]root@# set system host-name host-name

    Note: The DNS server does not use the host name to resolve to the correct IP address. This host name is used to display the name of the routing engine in the CLI. For example, this host name shows on the command line prompt when the user is logged on to the CLI:

    user-name@host-name>
  9. Configure the IP address of the DNS server.
    [edit]
    root# set system name-server address
  10. Configure the router’s domain name.
    [edit]root@# set system domain-name domain-name
  11. Configure the IP address and prefix length for the router’s Ethernet interface.
    [edit]root@# set interfaces fxp0 unit 0 family inet address address/prefix-length
  12. Configure the IP address of a backup router. The backup router is used while the local router is booting and if the routing process fails to start. After the routing process starts, the backup router address is removed from the local routing and forwarding tables. For more information on the backup router, see the Junos OS System Basics Configuration Guide.
    [edit]
    root# set system backup-router address
  13. (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 on static routes, see the Junos OS System Basics Configuration Guide.
    [edit]
    root# set routing-options static route remote-subnet next-hop destination-IP retain no-readvertise
  14. Configure the telnet service at the [edit system services] hierarchy level.
    [edit]
    set system services telnet
  15. Optionally, display the configuration to verify that it is correct.
    [edit]root@# showsystem {host-name host-name;domain-name domain-name;backup-router address;root-authentication {authentication-method (password | public-key);}name-server {address;}}interfaces {fxp0 {unit 0 {family inet {address address/prefix-length;}}}}
  16. Commit the configuration to activate it on the router.
    [edit]root@# commit
  17. Optionally, configure additional properties by adding the necessary configuration statements. Then commit the changes to activate them on the router.
    [edit]root@host# commit
  18. When you have finished configuring the router, exit configuration mode.
    [edit]root@host# exitroot@host>

Note: To reinstall the Junos OS, you boot the router from the removable media. Do not insert the removable media during normal operations. The router does not operate normally when it is booted from the removable media.

When the router boots from the storage media (removable media, CompactFlash card, or hard disk) it expands its search in the /config directory of the routing platform for the following files in the following order: juniper.conf (the main configuration file), rescue.conf (the rescue configuration file), and juniper.conf.1 (the first rollback configuration file). When the search finds the first configuration file that can be loaded properly, the file loads and the search ends. If none of the file can be loaded properly, the routing platform does not function properly. If the router boots from an alternate boot device, the Junos OS displays a message indication this when you log in to the router.

 

Related Documentation

  • M Series
  • Configuring CFEB Redundancy on the M10i Router
  • Configuring the CompactFlash Card on an M10i Routing Engine
  • M10i Router Site Preparation Checklist
  • T Series
  • Configuring CFEB Redundancy on the M10i Router
 

Published: 2010-10-28

 
  • About Juniper
  • The New Network
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out