adding a default route in the CLI

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

adding a default route in the CLI

L2 Linker

trying to set a default route and getting error message

 

set network virtual-router default routing-table ip static-route default next-hop ip-address 10.1.5.9

 

cisc_forum_2.png

 

any ideas on how to set a default route point to next hop 10.1.5.9?

 

Thanks

1 accepted solution

Accepted Solutions

L2 Linker

Hello @hfakoor2 ,

 

As the error says, you're missing the destination. A default route has a destination as 0.0.0.0/0 and that would make your command something like this:

 

set network virtual-router default routing-table ip static-route default destination 0.0.0.0/0 nexthop ip-address 10.1.5.9

 

I hope this helps.

Don't forget to Like if you find this post helpful

View solution in original post

2 REPLIES 2

L2 Linker

Hello @hfakoor2 ,

 

As the error says, you're missing the destination. A default route has a destination as 0.0.0.0/0 and that would make your command something like this:

 

set network virtual-router default routing-table ip static-route default destination 0.0.0.0/0 nexthop ip-address 10.1.5.9

 

I hope this helps.

Don't forget to Like if you find this post helpful

Thanks!

  • 1 accepted solution
  • 2579 Views
  • 2 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!