Juniper
JN0-663 · Question #45
Which command will match communities 101:111, 111:1, and 999:1111?
The correct answer is D. set policy-options community COMMUNITY members ''^... :1+''. Period (.)--A wildcard character that matches any single digit in an AS number. + stands for one or more repetitions of term. ? stands for zero or one repetition of term. bgp-communities-and-extended-communities-for-use-in-routing-policy-match-conditions.html#id-
Advanced BGP
Question
Which command will match communities 101:111, 111:1, and 999:1111?
Options
- Aset policy-options comminity COMMUNITY members ''^... :1?''
- Bset policy-options community COMMUNITY members ''^1.*:1+''
- Cset policy-options community COMMUNITY members [''^1.1:1?'' 999:1111]
- Dset policy-options community COMMUNITY members ''^... :1+''
How the community answered
(65 responses)- A5% (3)
- B3% (2)
- C12% (8)
- D80% (52)
Explanation
Period (.)--A wildcard character that matches any single digit in an AS number. + stands for one or more repetitions of term. ? stands for zero or one repetition of term. bgp-communities-and-extended-communities-for-use-in-routing-policy-match-conditions.html#id-
Topics
#BGP communities#regex#routing policy#pattern matching
Community Discussion
No community discussion yet for this question.