Got it

Bgp

Created: Mar 24, 2020 07:44:46Latest reply: Mar 24, 2020 07:57:11 240 1 0 0 0
  HiCoins as reward: 0 (problem unresolved)
I was doipg hcip iers lab
But there are some commands that I dont understand.
[R1]bgp 64512
[R1]peer 10.x.x.x next-hop-local
What does this command do

Featured Answers

Recommended answer

jason_hu
Admin Created Mar 24, 2020 07:57:11

Hello@tesfama,

Configure the BGP number. BGP is enabled, and the BGP view is displayed.

The peer next-hop-local command is usually configured on the ASBR (Autonomous System Boundary Router). When a device learns a route through an EBGP neighbor and forwards it to other IBGP neighbors, the next hop is not modified by default. However, the next hop of the route sent by its EBGP neighbor is the peer address of its EBGP neighbor. The local peer belongs to it. After an IBGP neighbor in the AS domain receives such a route, the route cannot be activated because the next hop is unreachable. Therefore, the peer next-hop-local command needs to be configured on the ASBR for the IBGP neighbor so that the next hop of the route sent to the IBGP neighbor is its own address. After the IBGP neighbor receives such a route (because IGP is configured in the domain) ) It is found that the next hop is reachable, and the route is the active route.


After the peer next-hop-local command is executed, the device sets the next-hop attribute to its own IP address when advertising the route to the IBGP peer (group). For more details, please refer to

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100109721&id=EN-US_CLIREF_0172379931&lang=en

Glad to help you! Any further questions, let us know.


View more
  • x
  • convention:

All Answers

Hello@tesfama,

Configure the BGP number. BGP is enabled, and the BGP view is displayed.

The peer next-hop-local command is usually configured on the ASBR (Autonomous System Boundary Router). When a device learns a route through an EBGP neighbor and forwards it to other IBGP neighbors, the next hop is not modified by default. However, the next hop of the route sent by its EBGP neighbor is the peer address of its EBGP neighbor. The local peer belongs to it. After an IBGP neighbor in the AS domain receives such a route, the route cannot be activated because the next hop is unreachable. Therefore, the peer next-hop-local command needs to be configured on the ASBR for the IBGP neighbor so that the next hop of the route sent to the IBGP neighbor is its own address. After the IBGP neighbor receives such a route (because IGP is configured in the domain) ) It is found that the next hop is reachable, and the route is the active route.


After the peer next-hop-local command is executed, the device sets the next-hop attribute to its own IP address when advertising the route to the IBGP peer (group). For more details, please refer to

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100109721&id=EN-US_CLIREF_0172379931&lang=en

Glad to help you! Any further questions, let us know.


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.