Got it

IP prefix

Created: Dec 28, 2019 02:53:28Latest reply: Dec 28, 2019 03:00:35 297 1 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi team,

Can you explain the meaning of the following three IP prefixes? I'm a little confused about what they mean.

ip ip-prefix prefix index 10 permit 0.0.0.0 24
ip ip-prefix prefix index 20 permit 0.0.0.0 24 greater-equal 24 less-equal 32

ip ip-prefix prefix index 30 permit 0.0.0.0 24 match-network

Thank you.

  • x
  • convention:

Featured Answers
Popeye_Wang
Admin Created Dec 28, 2019 03:00:35

Hi,

Assuming that the asterisk (*) indicates any value.

The first one matches all routes with the /24 mask. That is *.*.*.*/24

The second one matches all routes between mask/24 and /32. That is *.*.*.*/24-32

The third one matches the route with the first 24 bits being 0.0.0 and the last 8 bits being random. That is 0.0.0.*/24 (0.0.0.1 to 0.0.0.255)

For details about the parameters in the command, see the product documentation.

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100007335&id=ip_ip-prefix&lang=en

Any further questions, let us know!


View more
  • x
  • convention:

All Answers
Popeye_Wang
Popeye_Wang Admin Created Dec 28, 2019 03:00:35

Hi,

Assuming that the asterisk (*) indicates any value.

The first one matches all routes with the /24 mask. That is *.*.*.*/24

The second one matches all routes between mask/24 and /32. That is *.*.*.*/24-32

The third one matches the route with the first 24 bits being 0.0.0 and the last 8 bits being random. That is 0.0.0.*/24 (0.0.0.1 to 0.0.0.255)

For details about the parameters in the command, see the product documentation.

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100007335&id=ip_ip-prefix&lang=en

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 " Privacy."

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.