Skip to main content

From IOS to Junos - Day 1

Notes from the day

I am just going to dump my text notes for the day, you have no idea how long it would take to format this stuff, and hell I do it to share, not to make profit.
configure system
set root-authentication plain-text-password

set host-name Junos1
set domain-name


====== Lets get ip connectivity up and running

edit interfaces

set em0 unit 0 family inet address

**note unit 0 is logical and not physical but a bit like cisco default pysical interface
makes more sense in Junos

***exit into operational mode >
ping ---- working yippee

SSH and Telnet access
just check that I cannot telnet to ssh to routers

configure services

**should be in configure system

**tried configure system but could not jump to there, had to go to top then

configure system

set services telnet
set services ssh

**LOL - was trying to connect and still got "connection refused" have forgot to commit


**Got connected with SSH - used root
**The server has disconnected with an error. Server message reads:
**A protocol error occurred. Change of username or service not allowed: (Junos3,ssh-connection) -> (root,ssh-connection)
**looks like I need to setup a user
**I setup a user admin, but still got the same problem ???

edit system login

set user admin class super-user authentication plain-text-password

**ok it was someting to do with my SSH client SecureCRT , I update the login username in the properties tabe.
**now I have ssh I will no longer use the console in VMWARE.

**I can cut and paste from SSH session now

[edit system]
root@Junos1# set time-zone Europe/London


**back in operation mode
root@Junos1> set date ntp
2 Oct 22:02:23 ntpdate[2768]: step time server offset -29177.966741 sec

**Time seems ok, but get the following errors

root@Junos1% date
Sun Oct 2 22:10:07 BST 2011
root@Junos1% cli
root@Junos1> show ntp associations
localhost: timed out, nothing received
***Request timed out

root@Junos1> show ntp status
localhost: timed out, nothing received
***Request timed out

**lets setup loop10 then call it a night
**aahh looks like loop 0 is the only loopback on junos, need to update diagram

[edit interfaces]
root@Junos1# set lo0 unit 0 family inet address

[edit interfaces]
root@Junos1# commit
commit complete


Pinging with 32 bytes of data:
Reply from bytes=32 time=3ms TTL=64
Reply from bytes=32 time=1ms TTL=64
Reply from bytes=32 time=1ms TTL=64
Reply from bytes=32 time=1ms TTL=64

Ping statistics for
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 3ms, Average = 1ms


**I setup my local gateway to route traffic to 10.254.200/24 via



What I achieved

  • Setup IP address

  • Setup users

  • Setup SSH/Telnet

  • Setup NTP -- Still to confirm fully

  • Setup Loopback interface



Noteworth thoughts

Loopback 0 is the only loopback interface  ? need to investigate more about getting different IP address into different routing protocols and vrf etc.

I don't really have a feel for jumping about the configuration hierarchy, not sure if this is because I am so uses to the flat system from IOS.

Also I tried a few help commands but not really finding it too intuitive at the moment

While looking for some help with NTP I cam across which seems quite useful.

Feeling ok about jumping between operational mode and configuration mode

> or # and remembering to commit changes.




Popular posts from this blog

ASR1006 Dual Route Processors Password Recovery - Tip

I recently ran into an issue when trying to perform dual route processors password recovery on a Cisco  ASR1006
After breaking into rommon mode and using confreg to ignore the startup configuration, during the rest the ASR1006 loaded the startup configuration!!!!!!!!
So quick and simple, I pulled one of the RP and preformed password recovery running on a single RP. All went according to the Cisco documentation

After the system running on a single RP was recovered and fully booted I waiting for 5 minutes just to be sure; then I inserted the second RP and allowed everything to sync up.

All was well again :) phew

Note: The system was previously fully functioning with dual RPs; a configuration error was made during Tacacs+ configuration which resulted in lockout.

I hit an issue recovering and ASR with dual RPs, so rather that spending hour researching, I decided very quickly to go …


This is a straightforward no nonsense Subnet Calculator. It does however allow you to pull up the subnet information you have been working on in the iPhone Todays Widget View. This means that the subnet information is just a slide away.

Developed my me. Now Available

From IOS to Junos – JNCIA Result - PASS

I done the exam, and I am please to say I passed. So the lab-ing and the two PDFs


And a bit of surfing the web were enough. That is not to say everything in the exam was familiar, I did have to think seriously about some questions which puzzled me.
So the next step will be to go for specialist, but because of workload, it's going to take a little longer that 15 Days.