What is the correct regular expression syntax for matching a route that originated in AS 300?
- ^300_
- $300!
- _300_
- _300$
Explanation:
| Regular Expression | Meaning |
|---|---|
| ^$ | Local originating routes |
| permit ^200_ | Only routes from neighbor AS 200 |
| permit _200$ | Only routes originating from AS 200 |
| permit _200_ | Only routes that pass through AS 200 |
| permit ^[0-9]+ [0-9]+ [0-9]+? | Routes with three or fewer AS_Path entries |
Related exam: CCNPv8 ENCOR Chapter 12: Do I Know This Already? Quiz Answers
