Does it exist any command to disable and enable a static route from the CLI to change the paremeter from "no-install" to "install"?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Does it exist any command to disable and enable a static route from the CLI to change the paremeter from "no-install" to "install"?

L0 Member

And about the question, I've already installed the static route using the GUI but with the "set network virtual-router default routing-table ip static-route <virtaulrouter_name> option no-install" command we can enable the "no-install" checbox, now I want to find the command to disable (unchecked) this, I know I can do it from the GUI but I want to learn how to do it from the CLI, If you know how to do it i'll aprecciate the information

1 accepted solution

Accepted Solutions

L3 Networker

To disable the option of no-install for route you need to delete the option from the route

> delete network virtual-router default routing-table ip static-route option no-install

Following is the example

admin@PA-VM# show network virtual-router default routing-table ip static-route test

test {

  destination 8.8.8.0/24;

  nexthop {

    ip-address 1.1.1.1;

  }

  option {

    no-install;

  }

}

[edit]

admin@PA-VM# delete network virtual-router default routing-table ip static-route test option no-install

[edit]

admin@PA-VM# show network virtual-router default routing-table ip static-route test

test {

  destination 8.8.8.0/24;

  nexthop {

    ip-address 1.1.1.1;

  }

  option;

}

[edit]

admin@PA-VM#

View solution in original post

1 REPLY 1

L3 Networker

To disable the option of no-install for route you need to delete the option from the route

> delete network virtual-router default routing-table ip static-route option no-install

Following is the example

admin@PA-VM# show network virtual-router default routing-table ip static-route test

test {

  destination 8.8.8.0/24;

  nexthop {

    ip-address 1.1.1.1;

  }

  option {

    no-install;

  }

}

[edit]

admin@PA-VM# delete network virtual-router default routing-table ip static-route test option no-install

[edit]

admin@PA-VM# show network virtual-router default routing-table ip static-route test

test {

  destination 8.8.8.0/24;

  nexthop {

    ip-address 1.1.1.1;

  }

  option;

}

[edit]

admin@PA-VM#

  • 1 accepted solution
  • 6028 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!