Got it

pls help to achieve below quetion solution. (HCIE Carrier)

Created: Jul 23, 2020 19:56:08Latest reply: Jul 23, 2020 20:10:05 332 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

pls help to achieve below quetion solution. (HCIE Carrier)

In R8 and R9, the routes of AS65002 user routes(202.2.2.0/24) need to be advertised by network command. The MED attribute is used to enable R9 as the active link while R8 is used as the standby link,


Featured Answers

Recommended answer

Herediano
Created Jul 23, 2020 20:10:05

Hi sajidkhan,

Here is a guide on how to use MED:
https://support.huawei.com/enterprise/en/doc/EDOC1100028526?section=j069&topicName=example-for-configuring-the-med-attribute-to-control-route-selection

In your case you need to configure a route-policy and associate it with the bgp peer of the standby link:
[~DeviceB] route-policy 10 permit node 10
[*DeviceB-route-policy] apply cost 100
[*DeviceB-route-policy] commit
[~DeviceB-route-policy] quit
[~DeviceB] bgp 65009
[*DeviceB-bgp] peer x.x.x.x route-policy 10 export
[*DeviceB-bgp] commit

Since the link that you want to be active will advertise the default value of 0. Therefore, the BGP peer will select the route with the smaller MED value.



View more
  • x
  • convention:

All Answers
Hi sajidkhan,

Here is a guide on how to use MED:
https://support.huawei.com/enterprise/en/doc/EDOC1100028526?section=j069&topicName=example-for-configuring-the-med-attribute-to-control-route-selection

In your case you need to configure a route-policy and associate it with the bgp peer of the standby link:
[~DeviceB] route-policy 10 permit node 10
[*DeviceB-route-policy] apply cost 100
[*DeviceB-route-policy] commit
[~DeviceB-route-policy] quit
[~DeviceB] bgp 65009
[*DeviceB-bgp] peer x.x.x.x route-policy 10 export
[*DeviceB-bgp] commit

Since the link that you want to be active will advertise the default value of 0. Therefore, the BGP peer will select the route with the smaller MED value.



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.