?
Solved

Junos 11.5 OS

Posted on 2013-01-07
4
Medium Priority
?
1,281 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Assisted Solution

by:Phyo HTET AUNG
Phyo HTET AUNG earned 1500 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 1500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

800 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