[FROG] What 'ge' 'le' really means ?
Daniel Corbe
daniel at corbe.net
Sun Feb 16 02:36:11 EST 2020
typo in my reply. When I said ip prefix-list test_ipv4_1_1 seq 10
permit 192.18.8.0/24 ge 32 I meant ip prefix-list test_ipv4_1_1 seq 10
permit 192.18.8.0/24 le 32
On Sun, Feb 16, 2020 at 2:35 AM Daniel Corbe <daniel at corbe.net> wrote:
>
> Simon,
>
> If you're trying to specify a maximum prefix length of 32, you need
> the le keyword.
>
> ip prefix-list test_ipv4_1_1 seq 10 permit 192.18.8.0/24 ge 32 means
> "accept any prefix length for 192.18.8.0 between 24 and 32 bits"
>
> IE ip prefix-list test_ipv4_1_1 seq 10 permit <subnet>/<shortest
> prefix match> le <longest prefix match>
>
> On Sat, Feb 15, 2020 at 5:47 PM Simon Jones <batmanustc at gmail.com> wrote:
> >
> > Hi all,
> >
> > In this command:
> >>
> >> gyw-229(config)# ip prefix-list test_ipv4_1_1 seq 10 permit 192.18.8.0/24 ge 24
> >> % Invalid prefix range for 192.18.8.0/24, make sure: len < ge-value <= le-value
> >> gyw-229(config)# ip prefix-list test_ipv4_1_1 seq 10 permit 192.18.8.0/24 ge 25
> >
> > we see 'ge' means greater.
> >
> > But in doc:
> >>
> >> ge command specifies prefix length. The prefix list will be applied if the
> >> prefix length is greater than or equal to the ge prefix length
> >
> >
> > So what's 'ge' really means?
> > And how to set equal command? Set equal command using 'ge xxx le xxx' before, but if 'ge' means greater, how to set? Use this command?
> >>
> >> ip prefix-list test_ipv4_1_1 seq 10 permit 192.18.8.0/32
> >
> >
> > ----
> > Simon Jones
> > _______________________________________________
> > frog mailing list
> > frog at lists.frrouting.org
> > https://lists.frrouting.org/listinfo/frog
More information about the frog
mailing list