Free JN0-364 Exam Braindumps
Service Provider Routing and Switching, Specialist (JNCIS-SP) Questions 6–10 (page: 3)

Updated On: 18-Sep-2026

During OSPF neighbor establishment, which packet type is used to describe the contents of the link-state database?

  1. Link-State Request (LSR)
  2. Hello packet
  3. Database Description (DBD)
  4. Link-State PDU (LSP)

Answer(s): C

Explanation:

In the OSPF (Open Shortest Path First) protocol, ensuring that all routers within an area have a synchronized Link-State Database (LSDB) is fundamental to building a consistent loop-free topology. During the adjacency formation process—specifically when transitioning from the ExStart state to the Exchange state—routers must determine what information they are missing from their neighbors without sending the entire database at once, which would be highly inefficient.
The Database Description (DBD) packet, also known as a DDP, is the mechanism used for this summary exchange. According to Juniper Networks technical documentation, the DBD packet does not contain full Link-State Advertisements (LSAs). Instead, it contains only the LSA headers, which include the LSA type, the ID of the advertising router, and the sequence number.
By exchanging these headers, a Juniper router can compare the neighbor's database summary against its own local LSDB. If the router identifies a header in the DBD packet that represents a newer or missing entry, it records that LSA in its "Link-State Request List." This collaborative "handshake" ensures that only the necessary, updated information is requested in the subsequent Link-State Request (LSR) phase. It is important to distinguish this from the Link-State PDU (LSP) mentioned in Option D, which is actually the term used in the IS-IS protocol, not OSPF. In OSPF, the functional unit is the LSA, and the transport vehicle for the initial summary is the DBD packet. This methodical synchronization is what allows OSPF to scale effectively in large service provider environments.



Which OSPF packet type is used to initiate and maintain neighbor relationships?

  1. Hello
  2. Database Description
  3. Link-State Update
  4. Link-State Acknowledgment

Answer(s): A

Explanation:

The Hello packet is the most basic, yet most vital, component of the OSPF protocol. It serves as the primary mechanism for neighbor discovery, parameter negotiation, and "keepalive" functionality. Per Juniper Networks' routing documentation, OSPF routers use the Hello protocol to dynamically discover other OSPF-enabled routers on their directly connected segments.
When OSPF is enabled on a Junos interface, the router begins multicasting Hello packets (typically to the 224.0.0.5 "All OSPF Routers" address). This initiates the neighbor relationship. For two routers to move beyond the Init state and become neighbors, they must agree on several critical parameters contained within the Hello packet:
Area ID: Routers must be in the same OSPF area.
Authentication: Passwords or keys must match.
Timers: The Hello and Dead intervals must be identical.
Options: Such as Stub area flags.
Beyond the initial "initiation," the Hello packet is used to maintain the relationship. By continuously sending these packets at a fixed interval (the Hello interval), a router signals to its peers that it is still functional. If a router stops receiving Hello packets from a neighbor for a duration exceeding the Dead Interval, it declares the neighbor "down," flushes the associated LSAs from the database, and triggers a new SPF calculation.
Furthermore, on multi-access networks like Ethernet, the Hello packet is the vehicle for the election of the Designated Router (DR) and Backup Designated Router (BDR). By exchanging priority values and Router IDs within the Hello packets, the segment can elect a central point of contact to minimize the number of adjacencies required on the wire.



What prevents routing loops in a single-area OSPF network?

  1. The Dijkstra algorithm
  2. Routing policies
  3. The Bellman-Ford algorithm
  4. Forwarding policies

Answer(s): A

Explanation:

In OSPF, loop prevention within a single area is achieved through the fundamental nature of its link-state architecture. Unlike distance-vector protocols that rely on "routing by rumor," OSPF ensures that every router within an area maintains an identical Link-State Database (LSDB). This database acts as a complete map of the network topology.
Once the LSDB is synchronized, each router independently executes the Shortest Path First (SPF) algorithm, which is formally known as the Dijkstra algorithm. This mathematical process treats the local router as the "root" of a tree and calculates the shortest path to every other node (router) and prefix in the area based on the cumulative interface costs. Because every router uses the same synchronized map (the LSDB) and the same deterministic algorithm, they all arrive at a consistent, loop-free view of the best paths.
According to Juniper Networks technical documentation, the Dijkstra algorithm is superior to the Bellman-Ford algorithm (used by distance-vector protocols like RIP) in this regard. Bellman-Ford is susceptible to "count-to-infinity" problems and loops because routers only know the distance and direction to a destination provided by their neighbors, rather than the full topology. In OSPF, even if a link fails, the updated Link-State Advertisement (LSA) is flooded rapidly, and the Dijkstra algorithm is re-run to find a new loop-free path. Routing policies (Option B) are used to manipulate path selection or filter routes but are not the primary mechanism for fundamental loop prevention in OSPF. Similarly, forwarding policies (Option D) govern how traffic is handled at the data plane level rather than determining the control plane's loop-free topology.



For two or more switches to participate in the same MSTP region, which parameter must match?

  1. Region name
  2. Extended system ID
  3. Root bridge priority
  4. Root bridge ID

Answer(s): A

Explanation:

Multiple Spanning Tree Protocol (MSTP), as defined in IEEE 802.1s and implemented in Juniper Networks Junos OS, allows for the grouping of VLANs into specific spanning tree instances. This provides significant scalability and load-balancing advantages over traditional STP or RSTP. To achieve this, switches must be grouped into logical "Regions."
According to Juniper documentation, for two or more switches to be considered part of the same MSTP Region, they must possess an identical MSTP Configuration Identifier. This identifier consists of three specific attributes that must match exactly across all participating switches:
MSTI Name (Region Name): A descriptive string (up to 32 characters) that identifies the region.
MSTI Revision Level: A numerical value (0–65535) used to track configuration changes.
VLAN-to-Instance Mapping: The specific table that defines which VLAN IDs are associated with which Multiple Spanning Tree Instances (MSTIs).
If even one of these parameters—such as the Region name (Option A)—differs, the switches will treat each other as being in separate regions.
When switches are in different regions, they interact using the Common Spanning Tree (CST), effectively seeing the other region as a single "virtual bridge," which limits the granularity of traffic engineering.
The Extended system ID (Option B) is a component of the Bridge ID used to carry VLAN information in PVST+ but is not a region-matching requirement. Root bridge priority (Option C) and Root bridge ID (Option D) are variables used during the STP election process to determine the topology's root, but they do not define the boundaries of an MSTP region itself.



You are using EBGP to connect to two upstream peers in the same AS. You want to make one of the links less preferred for traffic entering your network from the peer's AS.
Which feature should you use to achieve this goal?

  1. a route reflector
  2. origin code
  3. AS-path prepending
  4. local preference

Answer(s): C

Explanation:

In the world of BGP, controlling inbound traffic (traffic entering your network) is significantly more challenging than controlling outbound traffic because it requires influencing a decision made by an external Autonomous System (AS). According to Juniper Networks documentation, when you have multiple links to the same AS or even different ASes, the BGP path selection process is used by the upstream neighbor to decide which path to take to reach your prefixes.
AS-Path Prepending is the standard technique used to make a path appear less attractive to external peers. By artificially lengthening the AS_PATH attribute on the BGP advertisements sent over a specific link, you exploit the BGP best-path algorithm rule that prefers a shorter AS path.
When you prepend your own AS number multiple times to the update sent to the "less preferred" peer, that peer’s BGP routers will see a longer path compared to the alternative link and will naturally prefer the shorter, unprepended route.
It is important to distinguish why other options are incorrect for this specific goal:
Local Preference (Option D): This is a well-known discretionary attribute used to influence outbound traffic. It is not advertised to EBGP peers; therefore, your upstream neighbor cannot see your local preference settings.
Origin Code (Option B): While the origin code (IGP, EGP, or Incomplete) is a tie-breaker in the selection process, it is rarely used for traffic engineering and lacks the granular control provided by prepending.
Route Reflector (Option A): This is an Internal BGP (IBGP) scaling mechanism used to reduce the need for a full mesh of peers within an AS; it does not directly influence external path selection by an upstream provider.
Junos OS allows you to easily implement prepending via routing policies applied as an "export" policy to the EBGP neighbor. By using the as-path-prepend action within a policy term, you can selectively degrade a path's attractiveness to manage your inbound bandwidth.



Viewing page 3 of 14
Viewing questions 11 - 15 out of 69 questions


Post your Comments and Discuss Juniper JN0-364 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!