nerdexam
Juniper

JN0-643 · Question #10

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? user@router# run show route receive-protocol bgp 192.168.4.101 detail inet.0: 18…

The correct answer is C. .(222|111) .*. See the full explanation below for the reasoning.

Question

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? 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

Options

  • A.* (222|111) .*
  • B.+ (222|111) .*
  • C.(222|111) .*
  • D. (.222|.111) .*

How the community answered

(27 responses)
  • A
    11% (3)
  • B
    4% (1)
  • C
    81% (22)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full JN0-643 Practice