Hello,
JUNOS does not have regex backreference, unlike IOS.
My regex matches not the same community N+1 times but ANY standard
community N+1 times, all unique or all repeating or some unique & some
repeating.
Thanks
Alex
On 24/08/2016 06:47, Huan Pham wrote:
Hi Alex,
I am pretty sure,
On 24 August 2016 at 08:47, Huan Pham wrote:
Hey,
> I am pretty sure, you will never see the same community twice (unlike AS in
> AS-PATH). So your regex to match multiple occurrences of a community is not
> necessary.
I agree that this is not something operator should
Hi Alex,
I am pretty sure, you will never see the same community twice (unlike AS in
AS-PATH). So your regex to match multiple occurrences of a community is not
necessary.
On Wednesday, August 24, 2016, Alexander Arseniev
wrote:
> Hello,
>
> JUNOS allows You to use
Thanks all :)
Cheers,
James.
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp
At Tue, 23 Aug 2016 14:04:35 +0100,
James Bensley wrote:
>
> Hi,
>
> Hopefully not completely hijacking this thread; I'm interested to know
> if there is a way I can limit a peer to a maximum number of
> communities?
term LIMIT-COMMUNITIES {
from {
Hello,
JUNOS allows You to use regex with communities
https://www.juniper.net/techpubs/en_US/junos16.1/topics/usage-guidelines/policy-defining-bgp-communities-and-extended-communities-for-use-in-routing-policy-match-conditions.html
So if You want to restrict ANY community value to no more
Thank you all for your replies!
For James's question, you can limit number of communities a route can be
tagged by matching "community-count"
http://www.juniper.net/techpubs/en_US/junos15.1/topics/example/policy-community-count.html
user@R1# *show policy-options*
policy-statement
On 23 August 2016 at 13:40, Olivier Benghozi
wrote:
> And about a limitation to 10 communities:
> I've seen that on SEOS (Redback/Ericsson OS for SmartEdge routers) when using
> "set community" in a route-map. This is a ridiculous arbitrary limitation, of
> course.
And about a limitation to 10 communities:
I've seen that on SEOS (Redback/Ericsson OS for SmartEdge routers) when using
"set community" in a route-map. This is a ridiculous arbitrary limitation, of
course.
Hopefully the limitation was only in the CLI, not in the BGP code itself. So
the
Hello,
In BGP messages, a regular community is encoded in 7 bytes, and extended
one in 11 bytes.
Max BGP message size is 4096 bytes - this sets a limit for regular
communities number to about 4K/7=570, and for extended communities to
about 4K/11=360, if You consider the minimal mandatory
Hi mailing-list,
I remember hitting a limit on a number of communities (something like 10 or
so) on a platform (can not remember which one from which vendor). So I
believe that there is a hard limit a platform or OS can support.
I test this in the lab and found no problem with tagging 100
11 matches
Mail list logo