Archive

Archive for January, 2010

Minimal Configuration on a Juniper Router (JunOS)

January 30th, 2010 rsivanandan No comments

Thought of putting down some of the basic things that needs to be done on Juniper Router, may it be M/MX/T/J-series in order for that to be connected and accessible on the network. So if we divide the tasks;

1. The first one is the rack it up, connecting the cables and power it up.

2. Then login to the router using the console port of the router (usually in the front).

3. Juniper Router does provide you the Management interface to be either a specific management port or a general port on it. Wouldn’t go into the details of it :-)

4. Setup the IP address for the Management port.

5. Enable the needed access from network to the box itself.

After these steps, you essentially have the router up and running on the router, on which you can do your necessary configuration. I intend to cover them later across multiple posts.

So now to action; 1 & 2 is fairly straight forward and lets look at 3;

The Management Port is usually “fxp0” on the router – Specific Management Port (Out-Of-Band Management)

Or you can use one of your normal ports like “ge0/0/0” for the Management (In-Band Management).

First part is to assign an IP address to the management port:-

   1: root@PE3-MX480% cli

   2:  

   3: root@PE3-MX480> configure 

   4: [edit]

   5: root@PE3-MX480# set interfaces fxp0 unit 0 family inet address 192.168.1.1/24

   6:  

Enabling Remote Access:- There are different protocols available, mainly SSH/Telnet/HTTP

So to enable these protocols on the management interface; follow this;

   1: set system services ssh

   2:  

   3: set system services ssh root-login allow

   4: set system services ssh protocol-version v1

   5: set system services ssh protocol-version v2

   6:  

   7: set system services telnet

   9:  

  10: set system services web-management http

As you can see, all SSH/Telnet and HTTP access is enabled and also you can see how to enable root login via SSH (By default not allowed).

After you configure all these, you have the access to this box via these protocols from the local network. You can verify it by issuing the command;

root@PE3-MX480> show configuration | display set

OR

root@PE3-MX480> show configuration (this should show the configuration in a C like syntax styled fashion)

Categories: Juniper Tags:

Which ERA are we in?

January 29th, 2010 rsivanandan No comments

“You took my pencil – so I’m not going to talk to you”

“You didn’t give me the eraser and so I’ll not give you my pen”

Sound familiar??? I used to be like that when I was in my KG! Now digest this;

Shiv Sena attacks SRK for comments on Pakistani players

Mumbai: The Shiv Sena hit out at actor and Kolkata Knight Riders co-owner Shah Rukh Khan Friday for his comments on Pakistani cricketers with one leader saying he should play his matches in Lahore and another declaring that the star’s films would not be allowed to be screened in Thane.

Attacking Shah Rukh for espousing the cause of Pakistani players who were ignored in the recent Indian Premier League (IPL) auction, Shiv Sena’s Rajya Sabha MP Sanjay Raut said if the actor was so interested in them ‘he could go play his matches in Lahore, not in India’.

‘Pakistan has been blatantly indulging in terror activities and killing our innocent people. Sena is firm in our policy of not allowing Pakistani players on our soil,’ Raut told reporters.

He also reiterated Shiv Sena’s ‘ban’ on Australian players – announced last week by party chief Bal Thackeray – for the ongoing attacks on Indians in Australia.

Taking the issue further, Thane Shiv Sena leader Eknath Shinde announced that no film of Shah Rukh’s would be screened in the district.

‘Since Shah Rukh Khan has hurt the sentiments of the people by his utterances, we have decided that his films will not exhibited in any cinema or multiplex in entire Thane district,’ said Eknath Shinde.

Shah Rukh’s latest movie ‘My Name Is Khan’ is due for a global release Feb 12.

Shah Rukh had said in Ahmedabad Wednesday that there was need for creating an environment where IPL franchisees could recruit Pakistani players with ease.

He told reporters that but for the fact that his team had exhausted its quota of foreign players by picking up Shane Bond, he would have loved to have Pakistani players in Kolkata Knight Riders.

Source :: {Here}

“Pakistan is involved in terrorist attacks in India – So no Paki-Player on Indian Soil.”

“Abuse of Indians are happening in Australia – So no Aussie can put his foot here in India.”

“Sharukh Khan said; ‘he’d have loved to have Paki-Players in his team – No, Now none of his movies will be screened in Thane…”

What is this folks???

Categories: Life in general Tags:

Documentation for Juniper Devices

January 24th, 2010 rsivanandan No comments

 

   One of the best part about Microsoft and Cisco are not just the

products but supporting documentation as well, it is vast and a lot of configuration examples with actual configuration samples.

If you want to load something on to a brand new Cisco device, just Google and just Copy&Paste would take care of minimal configuration and just modification would bring it up in minutes.

Unfortunately the problem with Juniper Documentation is that they can’t match that much of the results from other vendors. For example if I have to learn about NSRP knowledge base and if you just type ‘nsrp’ onto Google, you’ll get a max of 3 or 4 search results that are relevant and even if you get it, it’ll be the basic ‘how to configure kind of stuff’. On the other hand, if you use Google’s advanced searching mechanism, you’ll get much better results on the subject you’re searching. For example;

nsrp site:kb.juniper.net

The above search would yield only the results from Juniper KB site and would have a wide variety of information lined up for you to dig on.

While this is the true for all vendor’s documentation, I just wanted to emphasize the usage of ‘kb.juniper.net’ instead of ‘www.juniper.net’, because there is a difference :-)

Categories: Juniper Tags:

Opinioned Politically

January 10th, 2010 rsivanandan No comments

Today’s news in a Malayalam daily was shocking to me. Kerala as much as it is known by “God’s own country”, “100% literate” statements; another one was “Politically Hyperactive” even the youth. Not everyone was an IIT/IIM dreamer, in fact majority were not and were most interested in understanding/forming a political opinion – which I thought was a great quality to have as a citizen of India. But now seems that about 41% of youth had never participated in Rallies or other;

 

Youth in Kerala losing interest in social activism:Survey

Thiruvananthapuram: A recent survey by CPI-M’s youth wing, DYFI, has indicated that the youth in Kerala, considered to be a ‘politically hyperactive’ state, seem to be losing interest in social activism.

According to the survey, 41.41 per cent of the youth had never participated in rallies, demonstrations and protests in
their life.

Significantly, those in the 15-20 age group was found most disinterested in joining public life while men and women in
the 21-40 age group were more socially and politically minded.
A total of 1450 young women and men from across the state were interviewed as part of the survey focusing on a host of
issues concerning the youth.

 

Another one is about farming and Youth don’t feel it as adequate for a living. I think times are changing and often I tend to think of Kerala as it used to be;

When I was a school going guy, this political view is like your birth religion. Everyone who is a Hindu is a Hindu because he was born to Hindu parents ;-) That was the situation, if your area is having more of Congress (including your family), you naturally get into the Congress side, I mean that is how I saw it work there.  The same happened to me as well and as and when I got to read a lot about Communism, I was an immediate fan and was an active ‘Chota-Politician’ there. Later there was this dilemma, the things doesn’t seem to match and works like in a Hollywood Movie – A friend’s friend is a friend and an enemy’s enemy is a friend.

1. State level   – In Kerala, both Congress and Communist parties would fight vigorously.

2. Nation level – Both these parties are friends and try to form a volatile government.

So what is the whole point of fighting at State Level – I mean, it is never a healthy fight, but then political fights are never meant to be I guess.

It kinda looked like everyone is just power hungry not for power but to make more money than the most prominent enemy! So for now, I remain with my own and never get into anything, instead of reading some of the great-minds in the form of books written by them or on them.

Categories: Life in general Tags:

10 Power Saving Tips For The New Year…

January 2nd, 2010 rsivanandan No comments

 

  For a common man, it is quite easy and possible to save power and use it efficiently. I remember studying a unit of energy saved is a unit of energy created!

  So some of them I do which I never used to care about before are these. Come to think of it, it is not just about saving power but also improve your equipment/utility life greater.

 

1. Never put the TV/Set top box/DVD Player in Standby mode instead switch it off completely.

 

2. Instead of putting the laptop in standby mode, hibernate it – It not only saves the power but improves the battery life significantly.

 

3. Set charging of laptop battery to be ‘on’ only on a set limit, say 70% discharged. This helps improve the life of the battery as well as efficient use of energy.

 

4. Use CFL bulbs instead of normal tube lights. A tube light takes 38W and instead you could have 2 18W CFL bulbs at different corners, it helps improve the energy saving. Say at TV hall if you put 38W electronic tube light have an 18W CFL, you save a lot. It even provides enough lumen to the indoor plants.

 

5. Use transparent curtains at main rooms (like a HALL), you get these stuff which provides way to sun light to come in (and avoid the usage of electronic lamps) and at the same time serves as the window curtain.

 

6. WIFI – I live in an apartment complex of 108 flats, I can see pretty much close to 10 access points always on. It seriously is consuming energy and you don’t need it. Switch it on only when you need it. It doesn’t take more than a minute to come up online.

 

7. Use water heaters diligently, always buy one with a thermostat which cuts off the supply after reaching proper amount of hot water. It is recommended to bathe with light hot water for a healthy life. As well buy appropriate sized water heaters. For a house with 2 people, 15 liters sized is pretty good –> You’ll always get 10L of hot water out of it (the remaining 5 approximately remains in it) which is more than enough (You save energy in the form of water as well).

 

8. Switch off your work computer if you don’t need it to be ‘on’ when you leave work after a day. At least you could switch off the monitor, and develop a habit of always switching it off even if you go off for lunch. Screensavers are nice but I’d like to save that much energy being sucked off by the pixels.

 

9. Keep the volume of any device may it be Television or PC; only to the audible level. Volume is directly proportional to the power, means more volume it has to draw more power.

 

10. Lastly never charge anything overnight (cell phone, emergency lamps etc…). You end up wasting unnecessary energy as well as damage the electronic stuff.

Categories: Life in general Tags: