Solved

Junos 11.5 OS

Posted on 2013-01-07
4
1,186 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PC and VOIP network issues 1 49
nexus qos question 4 43
Switch Speed 2 57
Multicast in a layer 2 to layer 3 migration 1 35
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…
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

771 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

11 Experts available now in Live!

Get 1:1 Help Now