which AS path regular expression will match only the 10.16.1.0/24 and 10.16.2.0/24 routes?

— Exhibit —
user@router# run show route receive-protocol bgp 192.168.4.101 detail
inet.0: 18 destinations, 20 routes (18 active, 0 holddown, 0 hidden)
* 10.16.1.0/24 (1 entry, 1 announced)
Accepted
Nexthop: 192.168.4.101
LocalpreF. 100
AS path: 123 111 I
* 10.16.2.0/24 (1 entry, 1 announced)
Accepted
Nexthop: 192.168.4.101
LocalpreF. 100
AS path: 123 222 312 I
* 10.16.3.0/24 (1 entry, 1 announced)
Accepted
Nexthop: 192.168.4.101

LocalpreF. 100
AS path: 123 231 222 I
* 10.16.4.0/24 (1 entry, 1 announced)
Accepted
Nexthop: 192.168.4.101
LocalpreF. 100
AS path: 123 333 111 I
— Exhibit —
Click the Exhibit button.
Referring to the exhibit, which AS path regular expression will match only the 10.16.1.0/24 and
10.16.2.0/24 routes?

— Exhibit —
user@router# run show route receive-protocol bgp 192.168.4.101 detail
inet.0: 18 destinations, 20 routes (18 active, 0 holddown, 0 hidden)
* 10.16.1.0/24 (1 entry, 1 announced)
Accepted
Nexthop: 192.168.4.101
LocalpreF. 100
AS path: 123 111 I
* 10.16.2.0/24 (1 entry, 1 announced)
Accepted
Nexthop: 192.168.4.101
LocalpreF. 100
AS path: 123 222 312 I
* 10.16.3.0/24 (1 entry, 1 announced)
Accepted
Nexthop: 192.168.4.101

LocalpreF. 100
AS path: 123 231 222 I
* 10.16.4.0/24 (1 entry, 1 announced)
Accepted
Nexthop: 192.168.4.101
LocalpreF. 100
AS path: 123 333 111 I
— Exhibit —
Click the Exhibit button.
Referring to the exhibit, which AS path regular expression will match only the 10.16.1.0/24 and
10.16.2.0/24 routes?

A.
.* (222|111) .*

B.
.+ (222|111) .*

C.
.(222|111) .*

D.
. (.222|.111) .*



Leave a Reply 3

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


Annoymous

Annoymous

Ref:

Path whose second AS number must be 56 or 78
(. 56) | (. 78) or . (56 | 78)

C is correct