Juniper Platform Construction

Source: Internet
Author: User

When I first learned about Juniper, I really didn't understand anything. I didn't mean that I didn't understand TCP/IP, but simply couldn't configure the Juniper Router. The reasons for this are mainly from two aspects: the simulator was too long to start, and there was too little information on the Internet. When I configured the Juniper Router on Gns3, the direct connection was disconnected, hitting people ...... Haha, when you can configure IP addresses and simple commands, you will find that you may fall in love with Juniprer configuration. Despite the information, you have to find the fun on your own ...... Endless learning ......

My learning environment is very simple. If I have a learning environment online, everything is hard to start.

As follows :.

1. --- JUNOS 8.5R1.14 built 2007-12-08 07:38:33 UTC

Juniper @ Olive> // This is not bad, with WEB

2. Named Pipe Tcp Proxy // used to connect to the Console

3. tools such as CRT and PUTTY

The three are OK.

1. Enter the configuration mode:

Juniper @ Olive> configure

Entering configuration mode


Juniper @ Olive #

2. configure Root authentication. If no, it cannot be saved and an error is prompted. By default, there is no password.

Juniper @ Olive # show

# Last changed: 2013-08-03 20:05:06 UTC

Version 8.5R1.14;

System {

Host-name Olive;


Root-authentication {

Encrypted-password "$1 $ jB.4.GyM $ kqpfLVpZl0uize9. jqvqn/"; ## SECRET-DATA


Login {

User juniper {

Uid 2000;

Class super-user;

Authentication {

Encrypted-password "$1 $ K. TItDUy $ TS/O. oZvKw9v0j1hTTz8k1"; ## SECRET-DATA

There are two users, one being the root user and the other being the super user. The two are of the same nature. You can also create other users with different permissions.

For example:

Juniper @ Olive # set system login user test class?

Possible completions:

<Class> Login class

Operator permissions [clear network reset trace view]

Read-only permissions [view]

Super-user permissions [all]

Unauthorized permissions [none]

You can select different authentication methods for different users for different access operations.

3. Configure the interface IP Address:

It is relatively simple to configure the IP address of the interface. Of course, it is more complicated than Cisco or Huawei. Of course, it depends on your preferences.

Set interface em0 unit 0 family inet address

// Unit is equivalent to logical sub-interface

Ser interface em0 unit 0 vlan-id 12

That is, the sub-interface: em0.12 is marked in 12

Run the show interface terse command to view the corresponding interfaces;

Juniper @ Olive> monitor traffic interface

This command can view the data packet size and number on the corresponding interface;

Juniper @ Olive # set interfaces lo0 unit 0 family inet address;

4. Due to limited equipment, our big-headed machines cannot afford to be equipped with logical routers. Therefore, we can only enable logical routers. In Juniper routers, we can create 15 virtual routers and add 16 external routers.

Here there are only em0 -- em1 -- em2 --- em3 -- em4, five interfaces. EM0 belongs to the outer router and can be divided into four vrouters.

When I created 5, 6, and 7, I found that 5, 6, and 7 cannot communicate with each other. I don't know if the same is true for others, but 0-4 can communicate with each other.

Juniper @ Olive # edit logical-routers r1

If you need to configure anything in R1, enter the configuration mode of R1,

Juniper @ Olive # show

Interfaces {

Em1 {

Unit 12 {

Vlan-id 12;

Family inet {






Routing-options {

Static {

Route {


Metric 1;




[Edit logical-routers r1]

This is the configuration in R1;

Juniper @ Olive # run ping lgo


Syntax error.

Juniper @ Olive # run ping logical-router r1

PING ( 56 data bytes

64 bytes from icmp_seq = 0 ttl = 64 time = 4.976 MS

64 bytes from icmp_seq = 1 ttl = 64 time = 0.216 MS

64 bytes from icmp_seq = 2 ttl = 64 time = 0.077 MS

^ C

--- ping statistics ---

3 packets transmitted, 3 packets received, 0% packet loss

Round-trip min/avg/max/stddev = 0.077/1.756/4.976/2.277 MS

Ping R2;

5. Configure Static Routing Information:

Routing-options {

Static {

Route {


Metric 1;

This is a good example;

This article is from the "prickly chestnut" blog, please be sure to keep this source

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.