nerdexam
Juniper

JN0-102 · Question #310

Referring to the exhibit, which two statements are true? (Choose two.) [edit policy-options] user@router# show policy-statement policyABC { term A { from { protocol rip; route-filter 192.168.1.0/24…

The correct answer is A. The route 192.168.1.0/25 is accepted. D. RIP routes will be exported into OSPF. The policy policyABC is configured to export RIP routes that are more specific than 192.168.1.0/24 into OSPF, meaning 192.168.1.0/25 will be accepted for export.

Routing Policy and Firewall Filters

Question

Referring to the exhibit, which two statements are true? (Choose two.) [edit policy-options] user@router# show policy-statement policyABC { term A { from { protocol rip; route-filter 192.168.1.0/24 longer; } then accept; } } [edit protocols ospf] user@router# show export policyABC; area 0.0.0.0 { interface ge-0/0/0.0; interface lo0.0;

Options

  • AThe route 192.168.1.0/25 is accepted.
  • BThe route 192.168.2.0/24 is accepted.
  • COSPF routes will be exported into RIP.
  • DRIP routes will be exported into OSPF.

How the community answered

(42 responses)
  • A
    83% (35)
  • B
    12% (5)
  • C
    5% (2)

Why each option

The policy `policyABC` is configured to export RIP routes that are more specific than `192.168.1.0/24` into OSPF, meaning `192.168.1.0/25` will be accepted for export.

AThe route 192.168.1.0/25 is accepted.Correct

The `route-filter 192.168.1.0/24 longer` condition in the policy matches routes that are more specific than `192.168.1.0/24`. `192.168.1.0/25` is a prefix that is longer (more specific) than `/24`, so it would be accepted by this term if it were a RIP route.

BThe route 192.168.2.0/24 is accepted.

The route `192.168.2.0/24` is not a sub-prefix of `192.168.1.0/24`, so it does not match the `route-filter 192.168.1.0/24 longer` condition.

COSPF routes will be exported into RIP.

The `export policyABC;` statement is configured within the `protocols ospf` hierarchy, which means it controls which routes are exported *from* the local routing table *into* OSPF, not from OSPF into RIP.

DRIP routes will be exported into OSPF.Correct

The `from protocol rip;` statement in `policyABC` specifies that only RIP routes are considered, and `export policyABC;` under `protocols ospf` means that these selected RIP routes will be advertised into the OSPF domain.

Concept tested: Routing policy export configuration and route-filter matching

Source: https://www.juniper.net/documentation/us/en/software/junos/routing-policy/topics/topic-map-routing-policy-overview.html

Topics

#routing policy#OSPF#RIP#route filtering#redistribution

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice