A simple condition using the matches-any operator evaluates as true if
at least one community element of the community attribute for the route
matches an element in the community set operand. If no community in the
route matches any of the specifications in the named or inline set, then
the condition evaluates to false. Likewise, when there is no community
at all in the route, the condition evaluates to false.
A simple condition using the matches-every operator evaluates as true if
every specification in the named set or inline set specified matches at
least one community value in the route. If any community specification
in the named or inline set is not matched, then the operation evaluates
to false.
Sagar ccie @ 28/06/2013 04:22 -0300 dixit:
> Hi Expert,
>
> Have a quick question on the behavior of community-set on IOS XR. Can you
> please have a look at the below community-set and community-list on a
> prefix and see if it what I have assumed is correct or wrong?
>
> A.
> community-set COMM_1
> 64001:[0..60000],
> 64002:[0..60000],
> end-set
> Will it match prefixes with below community-list
> 1. 64001:1 yes?
> 2. 1234:12311 64001:1 2343:22143 no?
> 3. 1234:12311 64001:1 no?
> 4. 64001:1 1234:12311 no?
>
>
> B.
> community-set COMM_2
> ios-regex '_64002:[8-9]..._',
> ios-regex '_64001:[8-9]..._'
> end-set
> Will it match prefixes with below community-list
> 5. 64001:8000 yes?
> 6. 1234:12311 64001:8111 2343:22143 yes?
> 7. 1234:12311 64001:1 64001:9111 yes?
> 8. 64001:9123 1234:12312 4321:12312 yes?
>
>
> C.
> community-set COMM_3
> 64002:65010,
> 64001:65010
> end-set
> Will it match prefixes with below community-list
> 1. 64001:65010 yes?
> 2. 1234:12311 64001:65010 2343:22143 no?
> 3. 1234:12311 64001:65010 no?
> 4. 64001:65010 1234:12311 no?
>
> Thanks in advance,
>
> Regards,
> Sagar
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
-- Carlos G Mendioroz <tron_at_huapi.ba.ar> LW7 EQI Argentina Blogs and organic groups at http://www.ccie.netReceived on Fri Jun 28 2013 - 08:55:44 ART
This archive was generated by hypermail 2.2.0 : Mon Jul 01 2013 - 06:58:42 ART