IP prefix

Created: Dec 28, 2019 02:53:28Latest reply: Dec 28, 2019 03:00:35 139 1 1 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 Helpful(0) Helpful(0)

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!


  • x
  • convention:

All Answers
Popeye_Wang
Popeye_Wang Admin Created Dec 28, 2019 03:00:35 Helpful(0) Helpful(0)

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!


  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice 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."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

My Followers

Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login