Got it

BGP default route

Created: Sep 27, 2020 06:57:26Latest reply: Sep 27, 2020 06:59:25 362 2 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi all,

I want to know what's the problem with the below configuration. I have imported the static route, but the peer cannot learn the default route.

#

ip route-static vpn-instance xx 0.0.0.0 0.0.0.0 NULL0     

#

BGP xxxx

 ipv4-family vpn-instance xx

  import-route direct

  import-route static

#


Featured Answers

Recommended answer

Popeye_Wang
Admin Created Sep 27, 2020 06:58:07

Hello,
To import default routes, you need to run both the default-route imported and 
import-route commands. If you run only the import-route command, default routes cannot be imported. In addition, the default-route imported command is used to import only the default routes that exist in the local routing table.

Except for the default-rout-imported command, you can also use the network 0.0.0.0 command to import the default route.

#

 ipv4-family vpn-instance xxxx

  import-route direct

  network 0.0.0.0

#


View more
  • x
  • convention:

All Answers

Hello,
To import default routes, you need to run both the default-route imported and 
import-route commands. If you run only the import-route command, default routes cannot be imported. In addition, the default-route imported command is used to import only the default routes that exist in the local routing table.

Except for the default-rout-imported command, you can also use the network 0.0.0.0 command to import the default route.

#

 ipv4-family vpn-instance xxxx

  import-route direct

  network 0.0.0.0

#


View more
  • x
  • convention:

good
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.