- 4.9/5.0
- 96 Questions
- Updated on: 25-May-2026
- Service Provider Professional (JNCIP-SP)
- 196+ Prepared
- Valid Worldwide
Free JN0-664 Practice Test Questions | Know You're Ready for Service Provider Professional (JNCIP-SP)
This isn't guesswork. It's a mirror of the real Service Provider Professional (JNCIP-SP) exam. Our free JN0-664 practice test questions reveals exactly what you know, what you don't, and what you need to drill before exam day. No surprises. No outdated Service Provider Professional (JNCIP-SP) exam questions. Just a clear path to your Juniper certification.

R1 and R8 are not receiving each other's routes
Referring to the exhibit, what are three configuration commands that would solve this problem? (Choose three.)
A. Configure remove-private on advertisements from AS 64497 toward AS 64498.
B. Configure as-override on advertisement from AS 64500 toward AS 64512.
C. Configure remove-private on advertisements from AS 64500 toward AS 64499.
D. Configure loops and advertise-peer-as on routers in AS 64497 and AS 64450.
E. Configure loops on routers in AS 65412 and advertise-peer-as on routers in AS 64498.
B. Configure as-override on advertisement from AS 64500 toward AS 64512.
C. Configure remove-private on advertisements from AS 64500 toward AS 64499.
Explanation:
The problem illustrated in image_c38646.jpg is a classic BGP loop prevention scenario. Both R1 and R8 reside in AS 65412. When R1 advertises a route, the AS Path attribute is prepended with 65412. As this update traverses the provider networks and reaches R6/R7 to be sent to R8, the AS Path still contains 65412. Upon receipt, R8 detects its own AS number in the path and discards the prefix to prevent a potential routing loop.
To resolve this without using non-standard workarounds, the provider must hide or replace the customer's AS number:
Option B (as-override):
This is the primary solution for Provider Edge (PE) routers. By configuring as-override on the neighbor statement toward R8, the PE router replaces the occurrence of 65412 in the AS Path with its own AS (64500). R8 then receives an update that appears to originate from the provider, bypassing the loop check.
Options A & C (remove-private):
The intermediate ASNs (64497 through 64500) are within the private AS range. In many service provider designs, especially when spanning multiple sub-segments or organizations, remove-private is used to strip these ASNs before the update is passed to another peer. This shortens the AS Path and ensures that private AS numbers do not leak into different routing domains, which helps maintain clean path information between the two customer sites.
Why Other Options Are Incorrect
Options D & E (loops and advertise-peer-as):
These commands are "Customer Edge" (CE) side fixes rather than "Provider" side fixes. While configuring loops allows a router to accept a path containing its own AS, it is generally discouraged in professional ISP environments as it weakens loop prevention. advertise-peer-as is typically used in specific complex hub-and-spoke topologies and is not the standard or most efficient method for the linear provider transit shown in the exhibit.
References
Juniper Networks Technical Publication: Junos OS Routing Protocols User Guide – Section on "BGP AS-Override and Loop Prevention."
JNCIP-SP Certification Objectives: Service Provider Routing Policy – Specifically covering BGP path attribute manipulation and scaling techniques.
You are responding to an RFP for a new MPLS VPN implementation. The solution must use LDP for signaling and support Layer 2 connectivity without using BGP The solution must be scalable and support multiple VPN connections over a single MPLS LSP The customer wants to maintain all routing for their Private network
In this scenario, which solution do you propose?
A. circuit cross-connect
B. BGP Layer 2 VPN
C. LDP Layer 2 circuit
D. translational cross-connect
Explanation:
An LDP Layer 2 circuit is the ideal choice because it maps directly to all stated requirements:
LDP Signaling: It utilizes the Label Distribution Protocol (LDP) to signal the Virtual Circuit (VC) labels between PE routers, fulfilling the requirement for LDP-based signaling.
BGP-Free Control Plane: Unlike BGP-based VLLs or VPLS, LDP Layer 2 circuits do not require a BGP control plane for service discovery or signaling.
Scalability & Multiplexing: This solution supports multiple VPN connections over a single transport LSP (Label Switched Path). It uses a two-level label stack where the outer label handles transport to the egress PE and the inner label identifies the specific Layer 2 circuit.
Routing Autonomy: As a Layer 2 service, the provider's routers operate at the Data Link layer and do not participate in the customer's Layer 3 routing. This ensures the customer maintains complete control over their private routing environment.
Why Other Options Are Incorrect
A. Circuit Cross-Connect (CCC):
CCC is not scalable for this RFP because it requires a unique, dedicated LSP for every connection (a 1:1 ratio). It cannot multiplex multiple circuits over a single LSP.
B. BGP Layer 2 VPN:
While highly scalable, this option is explicitly disqualified by the requirement to avoid using BGP for the implementation.
D. Translational Cross-Connect (TCC):
TCC is primarily used to connect disparate Layer 2 media (e.g., Ethernet to PPP). Like CCC, it lacks the scalability of LDP circuits as it requires dedicated LSPs and does not support the "many circuits over one LSP" model required by the customer.
References
Junos OS VPNs User Guide: "Layer 2 Circuits (LDP-Signaled) Overview" and "Comparing Layer 2 VPNs and Layer 2 Circuits."
JNCIP-SP Certification Objectives: Section on MPLS Layer 2 VPNs and LDP-based signaling mechanisms.
Your network is receiving the 203.0.113.0/24 network using EBGP from AS 64500 and AS 64501. Both of these advertisements have identical local-preference values, AS-path lengths, and BGP origin codes. You want to influence the way your AS sends traffic to the 203.0.113.0/24 network.
In this scenario, which attribute would you consider next when selecting the best path?
A. router ID
B. MED value
C. peer IP address
D. IGP metric
Explanation:
BGP path selection follows a deterministic, hierarchical process. When the primary attributes are tied, the router evaluates the next attribute in the sequence.
According to the Junos BGP path selection algorithm, the attributes are evaluated in this order:
Verify that a next hop is reachable.
Highest Local Preference. (Tied in this scenario)
Shortest AS-Path. (Tied in this scenario)
Lowest Origin Code (IGP < EGP < Incomplete). (Tied in this scenario)
Lowest Multi-Exit Discriminator (MED).
Since the local preference, AS-path length, and origin codes are all identical, the BGP process will next compare the Multi-Exit Discriminator (MED) values. MED is specifically designed to influence how neighboring autonomous systems enter your network, but it is also used by your local AS to choose between multiple entry points from different neighbors when all higher-priority attributes are equal.
Why Other Options Are Incorrect
D. IGP Metric:
The IGP metric to the BGP next hop is only considered after the MED comparison (assuming the neighbors are in the same AS or always-compare-med is enabled).
A. Router ID:
The Router ID is one of the final tie-breakers, used only after Local Preference, AS-Path, Origin, MED, and IGP metrics have failed to produce a single best path.
C. Peer IP Address:
The peer (neighbor) IP address is the very last tie-breaker in the Junos BGP selection process, used only if the Router IDs are also identical (which can happen in certain cluster configurations).
References
Junos OS Routing Protocols User Guide: Section on "BGP Path Selection Algorithm."
JNCIP-SP Certification Objectives: Under "BGP Path Selection and Attributes."
RFC 4271: A Border Gateway Protocol 4 (BGP-4) – Section 9.1.2.2 (Breaking Ties).
You are configuring anycast RP for load balancing and redundancy in your PIM-SM domain. You want to share active sources between RPs.
In this scenario, what are two solutions that will accomplish this task? (Choose two.)
A. Configure MSDP on each RP router.
B. Configure anycast PIM with the rp-set statement on each RP router.
C. Configure anycast PIM with the rp-set statement on each source DR router.
D. Configure MSDP on each source DR router.
B. Configure anycast PIM with the rp-set statement on each RP router.
Explanation:
In a PIM-SM domain with Anycast RP, multiple RPs share the same IP address for load balancing and redundancy. However, when a source registers with one RP, other RPs must also learn about that active source so that receivers registered to different RPs can receive the multicast stream. Sharing active source information between RPs is the critical requirement.
A. Configure MSDP on each RP router.
Multicast Source Discovery Protocol (MSDP, RFC 3618) is the industry‑standard solution. RP routers form MSDP TCP peerings and exchange Source Active (SA) messages. Each SA contains the source address, group address, and originating RP. When one RP learns of a new source via a PIM Register, it sends SA messages to all MSDP peers. This synchronizes the active source database across all anycast RPs. MSDP is configured only on RP routers, not on DRs.
B. Configure anycast PIM with the rp-set statement on each RP router.
Junos offers an MSDP‑free alternative using PIM extensions (RFC 4610). The rp-set statement defines a group of RPs that form a anycast RP set. When configured on each RP router, these RPs automatically share register information using PIM messages directly, eliminating the need for MSDP. This method is lighter and simpler in pure Junos environments. The rp-set must be on the RP routers themselves – not on DRs – because RPs need to announce their membership in the set and exchange source information.
Why other options are incorrect
C. Configure anycast PIM with the rp-set statement on each source DR router.
The DR (Designated Router) only sends PIM Register messages to the anycast RP address. It does not participate in inter‑RP communication or source synchronization. Putting rp-set on DRs has no effect on sharing active sources between RPs; the DR simply forwards registers to the closest RP based on IGP routing.
D. Configure MSDP on each source DR router.
MSDP is an RP‑to‑RP protocol. Source DRs do not run MSDP. They are unaware of MSDP peerings and do not generate or forward SA messages. Configuring MSDP on a DR is both unnecessary and operationally incorrect.
References
RFC 4610: Anycast-RP Using PIM (PIM‑based RP‑set)
RFC 3618: Multicast Source Discovery Protocol (MSDP)
Junos Multicast Protocols Configuration Guide: "Configuring Anycast RP" and "Configuring MSDP"
Which three mechanisms are used by Junos platforms to evaluate incoming traffic for CoS purposes? (Choose three )
A. rewrite rules
B. behavior aggregate classifiers
C. traffic shapers
D. fixed classifiers
E. multifield classifiers
D. fixed classifiers
E. multifield classifiers
Explanation:
Junos uses classifiers to evaluate incoming traffic for CoS purposes. Classifiers examine packet headers and assign each packet to a forwarding class and loss priority. Three types operate on ingress:
B. Behavior Aggregate Classifiers (BA classifiers)
Examine a single field (DSCP, IP precedence, MPLS EXP, or 802.1p) and map it directly to a forwarding class. Fast and efficient, used on trusted interfaces where markings are already set.
D. Fixed classifiers
Assign all traffic on an interface to one forwarding class and loss priority, ignoring packet headers. Simplest method, used on untrusted interfaces or when no differentiation is needed.
E. Multifield classifiers (MF classifiers)
Examine multiple fields (source/destination IP, protocol, port numbers) using firewall filters. Provide granular control but higher processing overhead. Used at network edges for policy‑based classification.
Why other options are incorrect
A. Rewrite rules
Rewrite rules modify packet headers (set DSCP/EXP bits) at egress. They do not evaluate incoming traffic; they mark outgoing packets so downstream routers can classify them.
C. Traffic shapers
Shapers are egress mechanisms that delay packets to enforce rate limits. They act on already‑classified traffic leaving the router and do not perform any ingress evaluation.
References
Junos Class of Service Configuration Guide: "Classifiers Overview" (BA, Fixed, Multifield)
RFC 2474/2475: Differentiated Services Architecture
JNCIP‑SP Study Guide: CoS – Classification mechanisms
Which two statements about IS-IS are correct? (Choose two.)
A. CSNPs are flooded periodically.
B. PSNPs are flooded periodically.
C. PSNPs contain only descriptions of LSPs.
D. CSNPs contain only descriptions of LSPs.
D. CSNPs contain only descriptions of LSPs.
Explanation:
IS-IS uses Sequence Number Packets (SNPs) to maintain link-state database consistency.
A. CSNPs are flooded periodically.
Complete SNPs (CSNPs) are sent periodically by the DIS on broadcast networks (every 10 seconds by default) and on point-to-point links when a neighbor comes up. They contain a complete list of all LSPs in the local database.
D. CSNPs contain only descriptions of LSPs.
CSNPs list LSP IDs, sequence numbers, and checksums — not the full LSP data. Receivers compare these descriptions with their own database and request missing or outdated LSPs using PSNPs.
Why other options are incorrect
B. PSNPs are flooded periodically
Partial SNPs (PSNPs) are not periodic. They are sent in response to CSNPs or LSPs — as acknowledgments on point-to-point links or as requests on broadcast networks. They are triggered, not timed.
C. PSNPs contain only descriptions of LSPs
While PSNPs do contain LSP descriptions, this statement is misleading and incomplete. PSNPs primarily serve as acknowledgments or requests, not just descriptions. More importantly, option C is not paired with a correct periodic statement (B is false), and the exam expects A and D as the established correct pair.
References
ISO 10589: IS‑IS routing protocol
Junos Routing Protocols Guide: IS‑IS — CSNP/PSNP operation
JNCIP‑SP Study Guide: IS‑IS database synchronization

Click the Exhibit button.
Referring to the exhibit, you must provide VRF Internet access over a single connection for VPN-A Site 1, which connects to PE-1.
Which two statements are correct in this scenario? (Choose two.)
A. You must use the RIB group to move a default route, which is learned through BGP, from the inet. o table to the VPN-A. inet. 0 table.
B. You do not need to use the RIB group to move interface routes from the inet. o table to the VPN-A. inet. 0 table.
C. You do not need to use the RIB group default route, which is learned through BGP, from the inet. o table to the VPN-A. inet. 0 table.
D. You must use the RIB group to move interface routes from the inet . 0 table to the VPNA. inet. 0 table.
B. You do not need to use the RIB group to move interface routes from the inet. o table to the VPN-A. inet. 0 table.
Explanation:
The exhibit shows a RIB group (inet0_VPN-A) configured on PE-1 that imports routes from inet.0 (global routing table) into VPN-A.inet.0 (VRF table). This is a common method to provide Internet access to a VPN customer (VRF Internet access) over a single connection.
A. You must use the RIB group to move a default route, which is learned through BGP, from the inet.0 table to the VPN-A.inet.0 table.
Correct. The default route (0.0.0.0/0) learned via BGP from the Internet (e.g., from GW-1) resides in inet.0. To make it available to VPN‑A, the RIB group imports it into VPN-A.inet.0. Without this, VPN‑A routes cannot reach the Internet.
B. You do not need to use the RIB group to move interface routes from the inet.0 table to the VPN-A.inet.0 table.
Correct. Interface routes (direct and local) for the customer-facing interface on PE-1 belong to VPN-A.inet.0 automatically because that interface is bound to the VRF. They are never present in inet.0. Therefore, no RIB group is needed to move them.
Why other options are incorrect
C. You do not need to use the RIB group default route, which is learned through BGP, from the inet.0 table to the VPN-A.inet.0 table.
False. The default route is in inet.0 (global table). Without a RIB group import, VPN-A.inet.0 has no path to the Internet. The RIB group is required for the default route.
D. You must use the RIB group to move interface routes from the inet.0 table to the VPN-A.inet.0 table.
False. Interface routes for VRF‑bound interfaces never appear in inet.0. They are installed directly into the VRF table. No RIB group is needed or possible for them.
References
Junos VPNs Configuration Guide: "VRF Internet Access Using RIB Groups"
JNCIP‑SP Study Guide: Layer 3 VPNs — Internet access options
Juniper TechLibrary: "RIB Groups for Route Leaking Between Routing Tables"
Exhibit
Referring to the exhibit, which statement is true?
A. The 10.101.1.0/24 route will be shared if the vrf-table-label parameter is configured.
B. The 10.101.1.0/24 route will only be shared if BGP is configured in the routing instance
C. The 10.101.1 0/24 route will be shared if there are other VRFs that use the same route target community
D. The 10.101.1.0/24 route will be shared if the auto-export parameter is configured
Explanation:
The exhibit shows a VRF routing instance named CE-1 with:
instance-type vrf
A static route to 10.101.1.0/24 with next-hop 10.1.1.100
route-distinguisher 65512:1
vrf-target target:65512:100
In Junos, static routes defined inside a VRF routing instance are not automatically exported into MP‑BGP (i.e., not shared with remote PEs) unless explicitly configured to do so.
D. The 10.101.1.0/24 route will be shared if the auto-export parameter is configured.
Correct. The auto-export statement under the routing instance causes all routes present in the VRF's routing table (including static routes, connected routes, and routes learned from CE neighbors) to be automatically exported into MP‑BGP and advertised to remote PEs, provided they match the export policy (usually the VRF target community). Without auto-export, only routes learned via BGP from the CE are advertised by default.
Why other options are incorrect
A. The 10.101.1.0/24 route will be shared if the vrf-table-label parameter is configured.
vrf-table-label assigns a single MPLS label to the entire VRF for downstream traffic. It does not control route export into MP‑BGP. It affects data plane forwarding, not route advertisement.
B. The 10.101.1.0/24 route will only be shared if BGP is configured in the routing instance.
BGP is already implicitly present for VRF route exchange (MP‑BGP between PEs). However, having BGP configured does not automatically export static routes. auto-export or a manual export policy is still required.
C. The 10.101.1.0/24 route will be shared if there are other VRFs that use the same route target community.
Other VRFs using the same route target affects import behavior on remote PEs, not export from the local VRF. The local VRF still needs a mechanism to inject the static route into MP‑BGP.
References
Junos VPNs Configuration Guide: "VRF Route Export — auto‑export Statement"
JNCIP‑SP Study Guide: Layer 3 VPNs — Exporting non‑BGP routes from VRF
Juniper TechLibrary: "auto‑export (Routing Instances)"
| Page 1 out of 12 Pages |
Why Take This JN0-664 Service Provider Professional (JNCIP-SP) Practice Exam Before the Real Exam?
This free Service Provider Professional (JNCIP-SP) practice test gives you three critical advantages:
- Real format, real pressure – Identical question structure and difficulty to the official exam
- Instant gap detection – You'll know exactly which topics need more attention
- Learn as you go – Every answer includes a clear explanation, so you're studying while testing