Which AS path regular expression will only match a route originating in AS 500 with the last traversing AS of 100?

Which AS path regular expression will only match a route originating in AS 500 with the last traversing AS of 100?

Which AS path regular expression will only match a route originating in AS 500 with the last traversing AS of 100?

A.
"$100 .* ^500"

B.
"500 .*"

C.
"^100 .* 500$"

D.
"^100 .*"



Leave a Reply 3

Your email address will not be published. Required fields are marked *


traffikator

traffikator

The first indicator that C is wrong is ^. It means starting AS. $means ending AS. A is the correct choice.
BGP AS path is read from right to left meaning the right most AS is the beginning and the left is the final.

FH

FH

“C” has to be correct answer…regular expressions are matched not on the way its read but on how the “show bgp summary” output is displayed.