Tuesday 11 November 2014

JUNOS Basics - Part 2

Continuing from last post, I have now configured both the Routers with Test super-user and root password. 

We now want to establish a basic IP connectivity between them. To check the interface name and the status, we will apply the command "Show ip interface terse". Both the routers in our topology are connected via em interface which I believe stands for emulated interface.


we will configure the ip addresses 10.1.12.1/24 and 10.1.12.2/24 on em0 interface of R1 and R2 respectively. 



JUNOS allows you to run operation level commands from configuration level if you preface the command with "run" keyword.




the IP addresses have been configured. Let's check the connectivity 



I am going to configure the ip address 1.1.1.1/32 and 2.2.2.2/32 on lo0 interface of R1 and R2 respectively.




I will have to create static route on R1 to reach the lo0 of R2 and vice versa. 



The routing table now shows the entry of this static route on both R1 and R2.




We can see that the static route has a route preference (Similar to Admin Distance in Cisco IOS) of "5" in Junos. 

Let's ping and confirm the reachability.




In the next post, we will see how to configure RIP and OSPF in JUNOS.


2 comments:

  1. what is meaning of "terse" at the end of command?

    ReplyDelete
  2. Terse means "short" or "brief". "show interface terse" is equivalent to "Show ip interface brief" in Cisco IOS.

    ReplyDelete