Skip to main content

From IOS to Junos – Day 5

Notes from the day


*** BGP into OSPF

I forgot you need to export from a protocol into the next protocol.

root@Junos4# edit protocols ospf

 

[edit protocols ospf]

root@Junos4# delete import BGPtoOSPF

[edit protocols ospf]

root@Junos4# set export BGPtoOSPF

 

[edit protocols ospf]

root@Junos4# commit

commit complete

 

**** Before

root@Junos2> show route

 

inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)

+ = Active Route, - = Last Active, * = Both

 

10.254.200.1/32    *[RIP/100] 00:25:02, metric 2, tag 0

> to 10.254.254.1 via em0.0

10.254.200.2/32    *[Direct/0] 00:25:24

> via lo0.10

10.254.200.3/32    *[OSPF/10] 00:23:59, metric 1

> to 172.31.1.3 via em1.0

10.254.200.4/32    *[OSPF/10] 00:23:59, metric 1

> to 172.31.1.4 via em1.0

10.254.200.6/32    *[OSPF/10] 00:23:59, metric 1

> to 172.31.1.5 via em1.0

10.254.200.7/32    *[OSPF/10] 00:23:59, metric 1

> to 172.31.1.2 via em1.0

10.254.254.0/30    *[Direct/0] 00:25:24

> via em0.0

10.254.254.2/32    *[Local/0] 00:25:24

Local via em0.0

172.31.1.0/24      *[Direct/0] 00:25:24

> via em1.0

172.31.1.1/32      *[Local/0] 00:25:24

Local via em1.0

192.168.1.0/24     *[RIP/100] 00:25:02, metric 2, tag 0

> to 10.254.254.1 via em0.0

224.0.0.5/32       *[OSPF/10] 00:25:25, metric 1

MultiRecv

224.0.0.9/32       *[RIP/100] 00:25:25, metric 1

MultiRecv

 

******After

 

 

root@Junos2> show route

 

inet.0: 15 destinations, 15 routes (15 active, 0 holddown, 0 hidden)

+ = Active Route, - = Last Active, * = Both

 

10.254.200.1/32    *[RIP/100] 00:26:56, metric 2, tag 0

> to 10.254.254.1 via em0.0

10.254.200.2/32    *[Direct/0] 00:27:18

> via lo0.10

10.254.200.3/32    *[OSPF/10] 00:25:53, metric 1

> to 172.31.1.3 via em1.0

10.254.200.4/32    *[OSPF/10] 00:25:53, metric 1

> to 172.31.1.4 via em1.0

10.254.200.5/32    *[OSPF/150] 00:00:07, metric 0, tag 0

> to 172.31.1.4 via em1.0

10.254.200.6/32    *[OSPF/10] 00:25:53, metric 1

> to 172.31.1.5 via em1.0

10.254.200.7/32    *[OSPF/10] 00:25:53, metric 1

> to 172.31.1.2 via em1.0

10.254.254.0/30    *[Direct/0] 00:27:18

> via em0.0

10.254.254.2/32    *[Local/0] 00:27:18

Local via em0.0

172.31.1.0/24      *[Direct/0] 00:27:18

> via em1.0

172.31.1.1/32      *[Local/0] 00:27:18

Local via em1.0

192.168.1.0/24     *[RIP/100] 00:26:56, metric 2, tag 0

> to 10.254.254.1 via em0.0

192.168.99.0/24    *[OSPF/150] 00:00:07, metric 0, tag 0

> to 172.31.1.4 via em1.0

224.0.0.5/32       *[OSPF/10] 00:27:19, metric 1

MultiRecv

224.0.0.9/32       *[RIP/100] 00:27:19, metric 1

MultiRecv

 

 

root@Junos6> configure

Entering configuration mode

[edit interfaces em1]

root@Junos6# edit unit 0 family inet address 10.99.10.2/24 vrrp-group 99

[edit interfaces em1 unit 0 family inet address 10.99.10.2/24 vrrp-group 99]

root@Junos6# set virtual-address 10.99.10.1

[edit interfaces em1 unit 0 family inet address 10.99.10.2/24 vrrp-group 99]

root@Junos6# set priority 110

[edit interfaces em1 unit 0 family inet address 10.99.10.2/24 vrrp-group 99]

root@Junos6# set authentication-type simple

[edit interfaces em1 unit 0 family inet address 10.99.10.2/24 vrrp-group 99]

root@Junos6# set authentication-key junosiscool

[edit interfaces em1 unit 0 family inet address 10.99.10.2/24 vrrp-group 99]

root@Junos6# commit

commit complete

[edit interfaces em1 unit 0 family inet address 10.99.10.2/24 vrrp-group 99]

root@Junos6#

root@Junos7# edit interfaces em1 unit 0 family inet address 10.99.10.3/24 vrrp-group 99

[edit interfaces em1 unit 0 family inet address 10.99.10.3/24 vrrp-group 99]

root@Junos7# set virtual-address 10.99.10.1

[edit interfaces em1 unit 0 family inet address 10.99.10.3/24 vrrp-group 99]

root@Junos7# set priority 100

[edit interfaces em1 unit 0 family inet address 10.99.10.3/24 vrrp-group 99]

root@Junos7# set authentication-type simple

[edit interfaces em1 unit 0 family inet address 10.99.10.3/24 vrrp-group 99]

root@Junos7# set authentication-key junosiscool

[edit interfaces em1 unit 0 family inet address 10.99.10.3/24 vrrp-group 99]

root@Junos7# commit

commit complete

root@Junos6> show vrrp

 

VRRP is not running

did a bit of googleing - VRRP does not run in Olive -- oh well

 

"http://knol.google.com/k/juniper-hacks/junos-olive-limitations-and-supported/1xqkuq3r2h459/32#"

root@Junos2>

 

VRRP

Tried to SSH to 6 and 7  forgot to enable ssh

 

What I Achieved

 

  • Got BGP into OSPF

  • VRRP Configuration to discover will not run in OLIVE - oh well


 

 

Noteworth Thoughts

 

 

  • BGP into OSPF was easier than I thought.

  • Remember export from a protocol into the new routing protocol under the protocol you want to receive the routes.


 

 

 

I will reset all configuration back to factory default then go through the process again.

 

 

 

I did take the "JN0-101 JNCIA-JUNOS Practice Test" and got a passing score of 67%, with the following weak area

 

  • vlan tagging

  • ping command

  • storage space

  • issu upgrade

  • static routes

  • multiple next hop preference

  • cos


 

So hopefully after the weekend I should be getting much higher and ready for JNCIA-Junos by the end of next week.

 

 

 

 

 


 



 

Comments

Popular posts from this blog

VMWARE ESXi 5.0 Command line quickies

Hi, It has been a long time since my last posts, but recently I have been working on my home ESXi lab so I thought I would share. I switched over to using Apple Mac just over a year ago, so I don't have a windows machine running by default to run the vSphere client software and generally all I want to do is startup VMs and switch off the ESXi server when I am done. I did some searching and found that I could use vmware vim-cmd if I SSHed into the ESXi server. This need to be enabled at the console, then you can use putty or your tool of choice to connect. Anyway there are several commands the following to me are most useful. List all Virtual Machines vim-cmd vmsvc/getallvms Get a Virtual Machines state (on/off etc) vim-cmd  vmsvc/power.getstate Power on a virtual machine vim-cmd vmsvc/power.on Combining command to a one liner you can find out the power on state of all Virtual Machines vim-cmd vmsvc/getallvms && for x in `vim-cmd vmsvc/getallvms|

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. http://www.juniper.net/us/en/company/press-center/press-releases/2011/pr_2011_05_16-03_01.html https://learningnetworkstore.cisco.com/market/prod/listSubCatLearnLab.se.work?TRGT=85&/nxt/rcrs/=2559 Rack Rentals There are training providers such as Internetwork Expert (http://www.ine.com/) and IPexpert (http://www.ipexpert.com/) 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

Where are all the AAA and PKI solutions gone for Dot1x

More Question than answers (This series will be based on an enterprise with >20,000 dot1x devices) I have been looking into dot1x authentication for Wired and Wireless devices based on device identity using x.509 Certificates. While I understand PKI, AAA, PEAP and sorts I had never really had the opertunity to bring these technologies together. I quickly found out that despite this stuff being around for years,  it was difficult to answer the following questions: Which PKI solution should I use? Which AAA solution should I use? How to setup the PKI solution? Does the PKI server need to be part of AD? What if the clients are not in AD e.g. Wireless Tablets? How do I issue certificates for devices? How to configure the devices (wired and wireless)? What AAA server do I use? How do configure the rules and policies and identify clients?   What are the answers? I am going to kick off a series here at networking-guru.net that tries to address the question above; I have l