Solved

Junos 11.5 OS

Posted on 2013-01-07
4
1,210 Views
Last Modified: 2013-01-09
HI All,

See this entry in Junos 11.5

routing-options {
    static {
        route 0.0.0.0/0 next-hop [ 2.2.2.2 1.1.1.1 ];

I'm trying to remove the 2.2.2.2 but am having a tough time finding the solution.  Should be quick and easy right?

I tried the replace command but it didn't work so smooth it actually got me zero. I have no Juniper training so I have to admit, it's quite different, somewhat of a headache if you have no training.

Thanks,

R
0
Comment
Question by:rotarypwr
  • 2
  • 2
4 Comments
 
LVL 7

Assisted Solution

by:Phyo HTET AUNG
Phyo HTET AUNG earned 500 total points
ID: 38753418
Go to Routing Options
#edit routing-options
#delete static route route 0.0.0.0 next-hop 2.2.2.2
#commit

You should used Qualified Next Hops
here is link
http://www.juniper.net/techpubs/en_US/junos12.1/topics/topic-map/policy-static-route-selection.html

Hope this help
Regards,
0
 

Author Comment

by:rotarypwr
ID: 38756523
Thank

Thanks for your response, when attempting to perform the above I get the following:
root@switchname# commit
[edit vlans localnet l3-interface]
  'l3-interface vlan.1'
    Interface must already be defined under [edit interfaces]
error: commit failed: (statements constraint check failed)

or I get:

{master:0}[edit routing-options]
root@switchname-1# ....0.0 next-hop 2.2.2.2                  
warning: element not found

Thanks, like I said, I know zero about Juniper and it's a bit of a head scratcher!
Thanks,
R
0
 
LVL 7

Accepted Solution

by:
Phyo HTET AUNG earned 500 total points
ID: 38758037
How about trying below config, i have tested in mx series.

[edit]
user@switch# delete routing–options static route 0.0.0.0/0 next-hop 2.2.2.2
user@switch# commit

In the configuration mode, you can always use "?" to check your options.

If above post isn't working. Please try below if you only have console access to Ex series.
Console to EX series,

[edit]
dser@switch# delete routing-options static route 0.0.0.0/0
dser@switch# commit
 that will delete both of 2.2.2.2 and 1.1.1.1, then add back

[edit]
user@switch# set routing–options static route 0.0.0.0/0 next-hop 1.1.1.1
user@switch# commit

P.S : don't forget to commit

Hope this help,
Regards,
0
 

Author Comment

by:rotarypwr
ID: 38760942
Hi and thanks for your help very much.  

The person I am working with that know Junos said to perform the same functions as were suggested earlier, but maybe I am / was doing something incorrectly?  

Long story short, I cheated and did the following since I am constrained by time:  

request system zeroize [clears everything from flash, factory reset pretty much ]
 
then connect console,
config mode
delete
yes
load replace terminal
[paste]
CTRL+D
commit


Then I just copied my config over and ran the commit command.

Cheers,
R
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The worst thing when starting a new job is when the previous Network Administrator left behind no documentation. How do you get into the devices? If you've been in this situation or just accidently mistyped your password, this article will hopefully…
I see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now