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

Break the Network Emulators out of the Cloud

Cisco IOU and JunoSphere Recently both Cisco and Juniper have announced the availability of online resources to provide hands on training over the internet. They have built software emulators in the cloud that can be accessed remotely for a cost. These solutions are based purely around the certification programs and therefore are pretty rigid in the topology that are provided, not to mention the re-occurring cost. Rack Rentals There are training providers such as Internetwork Expert ( and IPexpert ( who provide rack rentals based on their training materials. These guy cannot possibly compete going forward. To keep these sustainable they will need to reduce the overhead of building physical racks, providing power and space for the racks. Using e

Dell Latitude D830 SSD Upgrade

Slow Laptop Syndrome I have a LATITUDE D830 : INTEL CORE 2 DUO T7500 4GB Ram from 2008, I did get a fairly high specification at the time, so it has always had pretty decent performance. However I haven't been using it for a while and when I did it seemed slow compared to my Core 5i desktop computer. (I use Windows 7 ultimate with the latest updates) Laptop for Work Now I might be doing a fair bit of travelling to customer sites in the near future and the last thing I want is a poorly performing Laptop, so I decide to ditch all the crap I had on it like iTunes, movies, miscellaneous software and cut back to a basic "work" PC. After all I do have iPhone, iPad and new kindle (soon) for all my multi media needs. I purchased a "Corsair 120GB Force 3 SSD 2.5" SATA-III 6Gb/s Read = 550MB/s, Write = 510MB/s" from Now I am guessing that SATA-II rather that SATA-III on the system board, but the price difference between SATA-II and SATA-III wa

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 Problem After breaking into rommon mode and using confreg to ignore the startup configuration, during the rest the ASR1006 loaded the startup configuration!!!!!!!! Solution 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.   Summary I hit an issue recovering and ASR with dual RPs, so rather that spending hour researching, I decided ve