Got it

Preferences of routing policies for BGP peers and BGP groups

Created: Dec 21, 2020 09:43:19Latest reply: Dec 21, 2020 09:43:58 392 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi,

If both the BGP peer and BGP group are configured with route-policy, which route-policy will take effect? 

Or will the two policies be matched in sequence?

bgp 100

group test external

peer 192.168.12.2 as-number 200

peer 192.168.12.2 group test

#

ipv4-family unicast

  undo synchronization

  network 1.1.1.1 255.255.255.255

  network 11.11.11.11 255.255.255.255

  peer test enable

  peer test route-policy test2 export

  peer 192.168.12.2 enable

  peer 192.168.12.2 group test

  peer 192.168.12.2 route-policy test export

  peer 192.168.12.2 advertise-community


Featured Answers

Recommended answer

Popeye_Wang
Admin Created Dec 21, 2020 09:43:58

Hello,

If both the BGP peer and BGP group are configured with route-policy, only the route-policy for the BGP peer takes effect, the policy for the BGP group will not be matched.

View more
  • x
  • convention:

All Answers

Hello,

If both the BGP peer and BGP group are configured with route-policy, only the route-policy for the BGP peer takes effect, the policy for the BGP group will not be matched.

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.