Siva Kesava
2018-03-04 20:58:05 UTC
The documentation specifies that in an IP-Prefix List "The prefix list will
be applied if the prefix length is greater than or equal to the ge prefix
length."
For reference:
https://www.nongnu.org/quagga/docs/docs-multi/IP-Prefix-List.html
But in practice, the following command :
ip prefix-list 101 seq 5 permit 1.0.1.0/24 ge 24 le 24
gives an error:
Invalid prefix range for 1.0.1.0/24, make sure: len < ge-value <= le-value.
I believe that the condition has to be len <= ge-value <= le-value as per
the documentation.
This difference is found in the lib/plist.c file in
"vty_prefix_list_install" function probably in line 754(quagga 1.2.4
version)
â
<https://mailtrack.io/> Sent with Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality&>
be applied if the prefix length is greater than or equal to the ge prefix
length."
For reference:
https://www.nongnu.org/quagga/docs/docs-multi/IP-Prefix-List.html
But in practice, the following command :
ip prefix-list 101 seq 5 permit 1.0.1.0/24 ge 24 le 24
gives an error:
Invalid prefix range for 1.0.1.0/24, make sure: len < ge-value <= le-value.
I believe that the condition has to be len <= ge-value <= le-value as per
the documentation.
This difference is found in the lib/plist.c file in
"vty_prefix_list_install" function probably in line 754(quagga 1.2.4
version)
â
<https://mailtrack.io/> Sent with Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality&>