Got it

BlackHole parameter ausency on "apply ip-address next-hop (Route-policy view)" command

Latest reply: Mar 1, 2018 01:59:01 3094 1 1 0 0
When you need to create a route-policy to change the next-hop of a specifc route to send packets to a blackhole, is not possible to use a parameter BlackHole on command "apply ip-address next-hop (Route-policy view)"


Client need to create a route-policy to send packets from a specific origin to a blackhole. On HedEx we have this example:

<HUAWEI> system-view
[~HUAWEI] route-policy policy permit node 10
[*HUAWEI-route-policy] apply ip-address next-hop 193.1.1.8

To add a black-hole flag to a route, run the apply ip-address next-hop blackhole command.


But when you try to configure how to HedEx, the parameter blackhole is not present on version V800R009C10SPC200. We are using de same documentation version on HedEx.


To send packets to a blackhole wtihout use this paramenters, we use this configuration

<HUAWEI> system-view
[~HUAWEI] route-policy policy permit node 10
[*HUAWEI-route-policy] apply ip-address next-hop 192.0.2.1

[~HUAWEI] ip route-static 192.0.2.1 255.255.255.255 NULL0

We use a 192.0.2.0/24 IP Address because this is a reservated class to documentation according RFC5737. This IP don´t have any conflict with Internet addresses.
  • x
  • convention:

oyshuo
Created Mar 1, 2018 01:59:01

thanks for your share.
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.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.