Solved

Junos 11.5 OS

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
connect poe switch to non poe switch 3 45
Cisco switch SVI 17 62
stacking switches 2 46
Need some help with Cisco 3750 switch configuration 8 9
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 eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 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

17 Experts available now in Live!

Get 1:1 Help Now