JNCIA-Junos overview

  • 198 practice questions
  • 32 flashcards
  • 7 study guide topics
  • 40 key terms

What you'll study

  • Networking Fundamentals15%
  • Junos OS Fundamentals10%
  • User Interfaces10%
  • Configuration Basics15%
  • Operational Monitoring and Maintenance15%
  • Routing Fundamentals15%
  • Routing Policy and Firewall Filters20%

The Juniper Networks Certified Associate – Junos (JNCIA-Junos) is an entry-level certification that verifies you can work confidently in the Junos OS command-line interface and understand the fundamentals of IP networking. It is the usual starting point for network engineers, NOC and operations staff, and anyone who administers Juniper routers, switches, or SRX firewalls, and it also serves as the foundation for Juniper's higher-tier specialist tracks.

The exam tests seven areas: general networking fundamentals, Junos OS architecture, user interfaces, configuration basics, operational monitoring and maintenance, routing fundamentals, and routing policy plus firewall filters. The largest single weighting sits with routing policy and firewall filters, so do not treat that material as an afterthought. Expect questions that ask you to interpret configuration or command output rather than simply recall definitions.

Preparation works best as lab-first study. Get access to a Junos device or a virtual instance, and get comfortable with operational versus configuration mode, commit and rollback, candidate configuration handling, and reading show output carefully. Pair that with Juniper's own free learning resources and the published exam objectives, and practice writing and reading policy statements and firewall filters until the syntax becomes automatic. This page is independent study material and is not affiliated with or endorsed by Juniper Networks.

Common mistakes

When sizing a subnet they assign the subnet's network or broadcast address to a host, or compute usable addresses as 2^n instead of 2^n-2.

They memorised '/24 = 254 hosts' and then extrapolate by guesswork rather than recomputing the block for the actual mask length.

What to do instead

For any mask, compute the block size (256 minus the interesting octet), list each subnet's range, and cross off the first and last address. Usable hosts = 2^host-bits - 2; verify with a quick binary conversion of the fourth octet.

They confirm a link shows 'up/up' with show interfaces terse and conclude traffic should flow, then stop investigating when it doesn't.

Junos separates physical link state from logical configuration, so an interface with no logical unit, no family inet address, or the wrong encapsulation still reports Link up.

What to do instead

Check the logical layer explicitly: show interfaces terse for the unit line, show interfaces extensive for the configured address and counters, and show configuration interfaces to confirm 'unit 0 family inet address'.

They type set commands at the operational prompt, or type show commands inside configuration mode, and read the resulting syntax error as proof the feature is unsupported.

Junos has two distinct CLI modes whose prompts differ by a single character (> versus #), and the error text does not say 'wrong mode'.

What to do instead

Read the prompt character before typing. Use configure to enter configuration mode and exit configuration-mode to leave it, or prefix an operational command with run while inside configuration mode.

They use rollback 1 to undo set commands they just typed but have not committed, and are surprised that nothing changes.

Rollback walks the commit history of already-committed configurations; it does not touch uncommitted candidate edits, so the candidate still holds their changes.

What to do instead

Use rollback 0 to discard all uncommitted candidate changes back to the active configuration, and use show | compare before committing to see candidate versus active differences.

They make a change to an interface address, a management-access setting, or an input firewall filter with a plain commit and lock themselves out of the device.

A plain commit takes effect immediately and persistently; a reachability mistake or a filter that discards their own management session cannot be undone remotely.

What to do instead

Use commit confirmed for any change that could sever access; the device auto-rolls back unless a plain commit is issued before the timer expires. Practise the habit even in labs.

They troubleshoot using only show interfaces terse and show route output, and never look at the system log.

Interface flaps, commit failures, authentication failures and protocol errors are recorded in the messages log, so they are invisible in interface and route tables.

What to do instead

Make show log messages | match (or | last ) a routine step, together with show chassis alarms and show system alarms, before changing any configuration.

They configure a static route for a prefix and assume it is being used, without checking whether it is hidden or less preferred than a competing dynamic route.

Junos selects by preference (static 5, OSPF 10, eBGP 170), and a route can appear in show route while being hidden or inactive for another reason.

What to do instead

Run show route detail and show route hidden, compare the Preference column and the status flags, and resolve it by adjusting preference or removing the competing route.

After enabling OSPF on an interface they assume the adjacency will form, without checking area, MTU, hello/dead timers or interface type.

A mismatched area, mismatched MTU (a classic cause of a neighbour stuck in ExStart/Exchange on Ethernet), or a passive interface silently prevents the adjacency.

What to do instead

Verify with show ospf neighbor and show ospf interface detail; match the area and MTU on both sides, match hello/dead timers, and remove passive from interfaces that must form adjacencies.

They write a firewall filter whose only term discards bad traffic and assume everything else is denied.

The implicit default of a filter is accept, so unmatched traffic passes; and forgetting to bind the filter to the correct interface and direction means nothing is filtered at all.

What to do instead

End every filter with an explicit term default-discard then discard, bind it with set interfaces unit 0 family inet filter input , and confirm counters increment with show firewall filter .

They build a policy-statement with a prefix-list and a then reject, but never reference it in export or import, or expect the reject to drop transit packets.

Routing policy only controls which routes are accepted into or advertised from the routing table; an unattached policy does nothing, and a rejected route does not block packets.

What to do instead

Attach the policy (for example set protocols bgp group export or set protocols ospf export ), verify with show route advertising-protocol bgp or show route detail, and use a firewall filter when the goal is to drop packets.

Exam requirements can change. Confirm current details with the exam provider.

JNCIA-Junos practice

198 questions. Each one lists the choices, the correct answer, and an explanation. With JavaScript, this list opens one question at a time. The checker at the top of this page saves progress in this browser when it is available.

  1. Question 1Networking Fundamentals

    Which OSI layer is responsible for logical addressing and choosing a path between networks?

    1. Data link layer
    2. Session layer
    3. Transport layer
    4. Network layer Correct answer.

    Explanation

    Layer 3, the network layer, carries logical (IP) addresses and makes forwarding decisions between networks. Layers 1 and 2 deal with the physical medium and local framing, while Layer 4 handles end-to-end delivery.

  2. Question 2Networking Fundamentals

    Which transport layer protocol provides reliable, connection-oriented delivery with acknowledgements and retransmissions?

    1. ARP
    2. ICMP
    3. TCP Correct answer.
    4. UDP

    Explanation

    TCP opens a connection with a handshake, numbers segments, acknowledges data received, and retransmits lost segments, which makes it reliable. UDP offers no such guarantees, and ICMP and ARP are not transport protocols.

  3. Question 3Networking Fundamentals

    How many usable host addresses does a subnet with a /26 prefix provide?

    1. 64
    2. 30
    3. 62 Correct answer.
    4. 32

    Explanation

    A /26 leaves 6 host bits, so the block contains 2^6 = 64 addresses. The all-zero network address and the all-ones broadcast address cannot be assigned to hosts, leaving 62 usable addresses.

  4. Question 4Networking Fundamentals

    What is the length of a MAC address?

    1. 32 bits
    2. 128 bits
    3. 64 bits
    4. 48 bits Correct answer.

    Explanation

    MAC addresses are 48 bits long and are usually written as six hexadecimal octets, such as 00:1b:44:11:3a:b7. The 64-bit value is used for modified EUI-64 interface identifiers in IPv6.

  5. Question 5Networking Fundamentals

    What is the default subnet mask for a class B IPv4 address?

    1. 255.0.0.0
    2. 255.255.0.0 Correct answer.
    3. 255.255.240.0
    4. 255.255.255.0

    Explanation

    Class B addresses use the first two octets for the network portion, giving a default mask of 255.255.0.0, or /16. The classful default is used when no subnetting has been applied.

  6. Question 6Networking Fundamentals

    Which address belongs to an RFC 1918 private range?

    1. 192.169.10.5
    2. 11.16.0.5
    3. 172.20.10.5 Correct answer.
    4. 172.32.10.5

    Explanation

    The private blocks are 10.0.0.0/8, 172.16.0.0/12 (172.16.0.0 through 172.31.255.255), and 192.168.0.0/16. The address 172.20.10.5 falls inside the 172.16.0.0/12 range.

  7. Question 7Networking Fundamentals

    What is the broadcast address for the network 192.168.10.0/24?

    1. 192.168.10.254
    2. 192.168.10.0
    3. 192.168.10.255 Correct answer.
    4. 192.168.11.255

    Explanation

    The broadcast address is formed by setting every host bit to 1. With 8 host bits in a /24, the last octet becomes 255, giving 192.168.10.255.

  8. Question 8Networking Fundamentals

    Which class of IPv4 address covers the range 224.0.0.0 through 239.255.255.255?

    1. Class C
    2. Class A
    3. Class D Correct answer.
    4. Class B

    Explanation

    Class D space begins with the bit pattern 1110 and spans 224.0.0.0 to 239.255.255.255. These addresses are reserved for multicast groups and are not assigned to individual hosts.

  9. Question 9Networking Fundamentals

    Which protocol learns the MAC address that corresponds to a known IPv4 address on the local link?

    1. DHCP
    2. ARP Correct answer.
    3. DNS
    4. RARP

    Explanation

    ARP broadcasts a request asking which device owns a given IPv4 address and caches the reply so frames can be built with the correct destination MAC. Without ARP, a host could not place a destination MAC in the frame header.

  10. Question 10Networking Fundamentals

    Which sequence describes how a TCP session is established?

    1. SYN-ACK, SYN, ACK
    2. SYN, ACK, SYN-ACK
    3. ACK, SYN, SYN-ACK
    4. SYN, SYN-ACK, ACK Correct answer.

    Explanation

    The client sends a SYN, the server replies with a SYN-ACK that acknowledges the client's sequence number and supplies its own, and the client completes the handshake with an ACK. Only after this exchange does data transfer begin.

  11. Question 11Networking Fundamentals

    What is the role of the default gateway configured on a host?

    1. It hides private addresses from the Internet
    2. It routes traffic to remote subnets Correct answer.
    3. It resolves host names for the host
    4. It assigns addresses to local hosts

    Explanation

    When the destination lies outside the host's own subnet, the host sends the frame to the default gateway, which forwards the packet toward the destination network. The gateway must be a router interface on the host's local subnet.

  12. Question 12Networking Fundamentals

    How many subnets are created by subnetting 192.168.1.0/24 into /27 networks?

    1. 4
    2. 8 Correct answer.
    3. 2
    4. 16

    Explanation

    Moving from /24 to /27 borrows 3 bits of the host portion. The number of subnets is 2^3, which equals 8, and each subnet holds 32 addresses.

  13. Question 13Networking Fundamentals

    What is the decimal value of the binary octet 11000000?

    1. 192 Correct answer.
    2. 240
    3. 224
    4. 128

    Explanation

    The first two bits from the left represent 128 and 64, and both are set, so the value is 128 + 64 = 192. The remaining six bits are zero and add nothing.

  14. Question 14Networking Fundamentals

    What is the network address for the host 192.168.5.130/26?

    1. 192.168.5.130
    2. 192.168.5.192
    3. 192.168.5.0
    4. 192.168.5.128 Correct answer.

    Explanation

    A /26 uses a block size of 64, so the subnets begin at .0, .64, .128, and .192. The address .130 lies in the block that starts at .128, making .128 the network address.

  15. Question 15Networking Fundamentals

    Which transport layer protocol is connectionless and performs no retransmission of lost data?

    1. UDP Correct answer.
    2. FTP
    3. TCP
    4. SCTP

    Explanation

    UDP sends datagrams without establishing a session and without acknowledgements, so lost datagrams are not retransmitted by the protocol. Applications that use UDP must handle reliability themselves if they need it.

  16. Question 16Networking Fundamentals

    Which Ethernet frame field contains a CRC used to detect transmission errors?

    1. Destination MAC address
    2. EtherType field
    3. Source MAC address
    4. Frame check sequence Correct answer.

    Explanation

    The frame check sequence holds a cyclic redundancy check computed over the frame contents. A receiving NIC recalculates the CRC and discards the frame if the result does not match.

  17. Question 17Networking Fundamentals

    A 24-port switch has one host connected to each port, and all ports belong to a single VLAN. How many collision domains exist?

    1. 12
    2. 1
    3. 24 Correct answer.
    4. 48

    Explanation

    Each switch port is an independent collision domain because the switch buffers and forwards frames rather than repeating electrical signals. The whole VLAN remains a single broadcast domain regardless of port count.

  18. Question 18Networking Fundamentals

    Which ICMP message pair does the ping utility rely on?

    1. Redirect messages
    2. Time exceeded messages
    3. Echo request and reply Correct answer.
    4. Destination unreachable messages

    Explanation

    Ping sends an ICMP echo request and waits for the corresponding echo reply to confirm reachability and measure round-trip time. The other message types report specific error or routing conditions rather than testing reachability directly.

  19. Question 19Networking Fundamentals

    What is the primary function of DHCP?

    1. Maps IP addresses to MAC addresses
    2. Assigns IP settings to hosts Correct answer.
    3. Maps names to IP addresses
    4. Encrypts management sessions

    Explanation

    DHCP dynamically supplies an IP address, subnet mask, default gateway, and DNS servers to clients, which reduces manual configuration errors. The server leases addresses for a defined period and tracks which addresses are in use.

  20. Question 20Networking Fundamentals

    Which address is reserved for testing the local TCP/IP stack on a device?

    1. 192.168.0.1
    2. 10.0.0.1
    3. 127.0.0.1 Correct answer.
    4. 169.254.1.1

    Explanation

    The 127.0.0.0/8 block is reserved for loopback, and 127.0.0.1 is the conventional loopback address. Traffic sent to it never leaves the device, so it verifies that the local stack is functioning.

  21. Question 21Networking Fundamentals

    Given the network 172.16.32.0/20, what is the last usable host address in the subnet?

    1. 172.16.47.255
    2. 172.16.32.254
    3. 172.16.47.254 Correct answer.
    4. 172.16.48.254

    Explanation

    A /20 uses a block size of 16 in the third octet, so the subnet runs from 172.16.32.0 to 172.16.47.255. The broadcast address is 172.16.47.255, which makes 172.16.47.254 the final assignable host address.

  22. Question 22Networking Fundamentals

    Which single prefix summarizes the four networks 10.1.0.0/24, 10.1.1.0/24, 10.1.2.0/24, and 10.1.3.0/24?

    1. 10.1.0.0/23
    2. 10.1.0.0/24
    3. 10.1.0.0/21
    4. 10.1.0.0/22 Correct answer.

    Explanation

    Four contiguous /24 blocks require two host bits to be aggregated, which reduces the prefix length from 24 to 22. The resulting 10.1.0.0/22 spans exactly 10.1.0.0 through 10.1.3.255.

  23. Question 23Networking Fundamentals

    Host A is 10.0.0.30/27 and Host B is 10.0.0.40/27. Do the two hosts share a subnet?

    1. Yes, same /27 subnet
    2. Yes, same /24 network
    3. No, these are broadcast addresses
    4. No, different subnets Correct answer.

    Explanation

    A /27 uses a block size of 32, so subnets begin at .0, .32, .64, and so on. Host A sits in 10.0.0.0/27 while Host B sits in 10.0.0.32/27, so they are on different subnets and need a router to communicate.

  24. Question 24Networking Fundamentals

    In what order does a sending host encapsulate data as it moves down the protocol stack?

    1. Segment, data, packet, frame
    2. Data, packet, segment, frame
    3. Data, segment, packet, frame Correct answer.
    4. Frame, packet, segment, data

    Explanation

    Application data is first wrapped by a transport header to form a segment, then by an IP header to form a packet, then by an Ethernet header and trailer to form a frame. The frame is finally transmitted as bits on the medium.

  25. Question 25Networking Fundamentals

    A host with address 192.168.1.100/26 sends a packet to 192.168.1.200. What does the host do at Layer 2?

    1. It uses no ARP at all
    2. It floods to the broadcast MAC
    3. It ARPs for the gateway MAC Correct answer.
    4. It ARPs for the destination MAC

    Explanation

    With a /26 mask, 192.168.1.100 sits in the 192.168.1.64/26 block while 192.168.1.200 sits in 192.168.1.192/26. Because the destination is off-subnet, the host builds the frame with the default gateway's MAC address and ARPs for that address instead of the destination.

  26. Question 26Networking Fundamentals

    At which OSI layer does a router primarily make forwarding decisions based on logical addressing?

    1. Transport layer (Layer 4)
    2. Data link layer (Layer 2)
    3. Network layer (Layer 3) Correct answer.
    4. Physical layer (Layer 1)

    Explanation

    Routers build a path between different networks by examining a packet's destination logical (IP) address and selecting the best matching route, which is a Layer 3 function. Layer 2 addresses are rewritten hop by hop, but the forwarding decision in a router is driven by the Layer 3 destination.

  27. Question 27Networking Fundamentals

    What is the main purpose of the Time-to-Live (TTL) field in an IPv4 header?

    1. It marks the priority a router should give to the packet
    2. It records how long a packet has waited in a router's output queue
    3. It carries the timestamp used to calculate round-trip time
    4. It limits how many hops a packet can traverse Correct answer.

    Explanation

    Each router decrements the TTL by one and discards the packet when the value reaches zero, which prevents packets from circulating endlessly when a routing loop exists. The discarding router normally returns an ICMP Time Exceeded message to the source.

  28. Question 28Networking Fundamentals

    A design requires each subnet to support at least 50 usable host addresses while wasting as little address space as possible. Which prefix length meets the requirement?

    1. /25
    2. /28
    3. /27
    4. /26 Correct answer.

    Explanation

    Host bits are calculated as 2^n − 2, where n is the number of host bits. A /26 leaves 6 host bits, giving 62 usable addresses, which satisfies 50 with the least waste; a /27 provides only 30 usable addresses and a /25 provides 126, which is more space than needed.

  29. Question 29Networking Fundamentals

    A switch receives a unicast frame whose destination MAC address is not present in its MAC address table. How does the switch handle the frame?

    1. It holds the frame until the destination address is learned
    2. It floods the frame out of all other ports in the same VLAN Correct answer.
    3. It sends the frame back out the port on which it arrived
    4. It drops the frame and notifies the sender with an ICMP error

    Explanation

    When the destination MAC address is unknown, the switch treats the frame as unknown unicast and floods it to every other port in the same VLAN so the destination can still be reached. The destination's reply then teaches the switch the correct MAC-to-port mapping for future frames.

  30. Question 30Networking Fundamentals

    Host A must send an IP packet to Host B, which is on the same subnet. Host A has no entry for Host B in its ARP cache. What does Host A do first?

    1. It performs a reverse DNS lookup to translate the IP address into a hardware address.
    2. It sends an ICMP echo request to the destination to discover its hardware address.
    3. It broadcasts an ARP request asking which device owns the destination IP address. Correct answer.
    4. It forwards the packet to the default gateway so the gateway can resolve the address.

    Explanation

    When the destination is on the same subnet but the frame's destination MAC address is unknown, the sender uses ARP: it broadcasts a request containing the target IP address, and the owner of that address replies with its MAC address. The resolved mapping is then cached so subsequent frames can be built directly.

  31. Question 31Junos OS Fundamentals

    Which prompt indicates that the user is currently in Junos configuration mode?

    1. user@router$
    2. user@router>
    3. user@router# Correct answer.
    4. root@router%

    Explanation

    The Junos CLI uses the greater-than sign for operational mode and the hash sign for configuration mode. The prompt changes as soon as the user enters or leaves configuration mode.

  32. Question 32Junos OS Fundamentals

    Which command is used to move from operational mode into configuration mode?

    1. edit
    2. configure Correct answer.
    3. set
    4. commit

    Explanation

    Configuration mode is entered by typing configure at the operational mode prompt. The prompt then changes and the candidate configuration becomes editable.

  33. Question 33Junos OS Fundamentals

    What is the effect of the commit command in Junos?

    1. It activates the candidate configuration as the active configuration Correct answer.
    2. It validates the candidate configuration without activating it
    3. It loads the previously committed configuration into the candidate
    4. It exports the candidate configuration to a text file on the device

    Explanation

    Junos edits a candidate configuration, and the commit command promotes that candidate to become the active configuration. Each commit is also archived, which is what makes rollback possible.

  34. Question 34Junos OS Fundamentals

    An administrator has made changes in configuration mode but has not committed them. Which command discards all of those uncommitted changes?

    1. commit confirmed 1
    2. commit check
    3. rollback 1
    4. rollback 0 Correct answer.

    Explanation

    Rollback 0 replaces the candidate configuration with the currently active configuration, so every uncommitted edit is lost. Rollback 1 loads the previous committed configuration, which is a different action.

  35. Question 35Junos OS Fundamentals

    From operational mode, which command displays the currently active configuration?

    1. show configuration Correct answer.
    2. show config active
    3. show candidate-config
    4. show system commit

    Explanation

    In operational mode, show configuration displays the active configuration; the same command in configuration mode displays the candidate instead. This distinction matters when troubleshooting whether a change was really committed.

  36. Question 36Junos OS Fundamentals

    In the Junos architecture, which component handles the forwarding of transit traffic?

    1. The Routing Engine
    2. The Packet Forwarding Engine Correct answer.
    3. The management Ethernet interface
    4. The console port

    Explanation

    Junos separates the control plane from the forwarding plane. The Routing Engine runs routing protocols and builds the forwarding table, while the Packet Forwarding Engine uses that table to forward packets.

  37. Question 37Junos OS Fundamentals

    Which command verifies the syntax of the candidate configuration without making it active?

    1. commit check Correct answer.
    2. commit comment
    3. commit and-quit
    4. commit synchronize

    Explanation

    Commit check parses the candidate configuration and reports errors, but the active configuration remains unchanged. It is commonly used to validate a large change before activating it.

  38. Question 38Junos OS Fundamentals

    An administrator enters commit confirmed 5 and then loses connectivity. What happens if the commit is never confirmed?

    1. The changes remain active and the session closes normally
    2. The configuration reverts to the last committed version Correct answer.
    3. The device reloads the factory default configuration
    4. The candidate configuration is discarded automatically

    Explanation

    Commit confirmed activates the configuration but starts a timer; unless a confirming commit is issued before the timer expires, Junos automatically returns to the previously committed configuration. This protects against changes that cut off management access.

  39. Question 39Junos OS Fundamentals

    Which command displays the differences between the candidate configuration and the active configuration?

    1. show | match
    2. show | count
    3. show | compare Correct answer.
    4. show | display set

    Explanation

    In configuration mode, show | compare lists the pending changes with plus and minus markers against the active configuration. It is the standard way to review edits before committing them.

  40. Question 40Junos OS Fundamentals

    Which statement associates a configuration group with a section of the configuration hierarchy?

    1. group-apply
    2. include-groups
    3. inherit-groups
    4. apply-groups Correct answer.

    Explanation

    Placing apply-groups under a hierarchy level causes the statements defined in that group to be inherited at that level. Explicitly configured statements at the same level override inherited ones.

  41. Question 41Junos OS Fundamentals

    Which pipe filter displays configuration output as a series of set commands?

    1. | compare
    2. | display set Correct answer.
    3. | display inheritance
    4. | match set

    Explanation

    The display set filter renders the configuration in the same flat format produced by the set command, which is convenient for copying statements into scripts. It does not change what is configured, only how the output is presented.

  42. Question 42Junos OS Fundamentals

    What does the top command do while in configuration mode?

    1. Commits the candidate configuration and exits configuration mode
    2. Moves directly to the top of the configuration hierarchy Correct answer.
    3. Deletes the most recent change made to the candidate configuration
    4. Moves up exactly one level in the configuration hierarchy

    Explanation

    The top command jumps straight to the [edit] level regardless of how deep the user is in the hierarchy. The up command, in contrast, moves only one level toward the top.

  43. Question 43Junos OS Fundamentals

    Which pipe filter removes lines that contain a specified string from command output?

    1. | except Correct answer.
    2. | find
    3. | hold
    4. | match

    Explanation

    The except filter suppresses any line matching the given expression, leaving the rest of the output intact. It is the inverse of the match filter, which keeps only matching lines.

  44. Question 44Junos OS Fundamentals

    Which command runs an operational mode command from within configuration mode?

    1. operational
    2. run Correct answer.
    3. do
    4. exec

    Explanation

    Prefixing a command with run executes it as an operational mode command without leaving configuration mode. This lets an administrator check interface state or routes while editing the configuration.

  45. Question 45Junos OS Fundamentals

    Which command activates the candidate configuration and returns the user to operational mode in one step?

    1. commit check
    2. commit and-quit Correct answer.
    3. commit comment
    4. commit synchronize

    Explanation

    Commit and-quit performs a normal commit and then exits configuration mode, which is convenient when the change is complete. Commit alone activates the changes but leaves the user in configuration mode.

  46. Question 46Junos OS Fundamentals

    While at the top of the configuration hierarchy, which command adds an IPv4 address to interface ge-0/0/0 unit 0?

    1. set interfaces ge-0/0/0 address 10.0.0.1/24
    2. edit interfaces ge-0/0/0 unit 0 family inet address 10.0.0.1/24
    3. set interfaces ge-0/0/0 unit 0 family inet address 10.0.0.1/24 Correct answer.
    4. add interfaces ge-0/0/0 unit 0 family inet address 10.0.0.1/24

    Explanation

    The set command accepts the full path from the current hierarchy level, so the complete unit and family inet path must be supplied. It creates the statement if it does not already exist.

  47. Question 47Junos OS Fundamentals

    Which command displays the commit history, including the user and time of each commit?

    1. show commit log
    2. show system commit Correct answer.
    3. show system rollback
    4. show configuration history

    Explanation

    Show system commit lists the most recent commits with sequence numbers, timestamps, and the user who performed each one. Those sequence numbers are the values used with the rollback command.

  48. Question 48Junos OS Fundamentals

    Which command saves the current configuration as the rescue configuration?

    1. set system rescue configuration
    2. save configuration rescue
    3. request system configuration rescue save Correct answer.
    4. commit configuration rescue

    Explanation

    The rescue configuration is a known-good snapshot stored separately from the rollback history and is created with request system configuration rescue save. It can later be restored even if the normal rollback history has been exhausted.

  49. Question 49Junos OS Fundamentals

    On a device with two Routing Engines, which commit option activates the configuration and copies it to the backup Routing Engine?

    1. commit full
    2. commit synchronize Correct answer.
    3. commit and-quit
    4. commit confirmed

    Explanation

    Commit synchronize commits the candidate on the local Routing Engine and replicates the active configuration to the other Routing Engine. Without it, the two Routing Engines can hold different configurations.

  50. Question 50Junos OS Fundamentals

    How does the load override command differ from the load replace command?

    1. It replaces only the hierarchy levels that appear in the file
    2. It replaces the entire candidate configuration with the file contents Correct answer.
    3. It appends the file contents to the end of the candidate configuration
    4. It merges the file contents into the existing candidate configuration

    Explanation

    Load override discards the whole candidate configuration and substitutes the contents of the file, so any statement not present in the file disappears. Load replace, by contrast, only substitutes the hierarchies that the file actually contains.

  51. Question 51User Interfaces

    When you first log in to a Junos device through the CLI, which prompt indicates that you are in operational mode?

    1. user@host%
    2. [edit] user@host#
    3. user@host#
    4. user@host> Correct answer.

    Explanation

    The Junos CLI has two primary modes: operational mode, whose prompt ends with a greater-than sign (>), and configuration mode, whose prompt ends with a hash (#) and usually shows an [edit ...] banner. Operational mode is where monitoring and troubleshooting commands are issued.

  52. Question 52User Interfaces

    Which command moves the CLI from operational mode into configuration mode?

    1. edit
    2. set
    3. configure Correct answer.
    4. commit

    Explanation

    The configure command switches from operational mode to configuration mode, where changes are made to the candidate configuration. The edit command is used inside configuration mode to move to a specific hierarchy level.

  53. Question 53User Interfaces

    Which command applies the candidate configuration so that it becomes the active configuration on the device?

    1. apply
    2. commit Correct answer.
    3. save
    4. load

    Explanation

    Junos uses a candidate configuration model: edits modify the candidate, and the commit command validates and activates it. Until commit is issued, changes have no effect on device operation.

  54. Question 54User Interfaces

    Which character typed at the CLI displays the commands or options available at the current level?

    1. !
    2. *
    3. #
    4. ? Correct answer.

    Explanation

    Typing a question mark at the CLI provides context-sensitive help, listing valid commands, keywords, or value ranges for the current hierarchy level. It can be used alone or appended to a partial command.

  55. Question 55User Interfaces

    Which key completes a partially typed command or lists the possible completions?

    1. Ctrl+C
    2. Space
    3. Escape
    4. Tab Correct answer.

    Explanation

    The Tab key performs command completion in the Junos CLI. If the typed characters identify a single match it fills in the rest; if several commands match, it displays the options.

  56. Question 56User Interfaces

    You are at the [edit interfaces] level of configuration mode and have not committed. Which command returns you directly to operational mode?

    1. top
    2. quit
    3. exit configuration-mode Correct answer.
    4. rollback

    Explanation

    exit configuration-mode leaves configuration mode entirely and returns the user to operational mode from any hierarchy level. The top and quit commands only move within the configuration hierarchy.

  57. Question 57User Interfaces

    Which command validates the candidate configuration for syntax and semantic errors without activating it?

    1. commit check Correct answer.
    2. commit confirmed
    3. show | compare
    4. commit verify

    Explanation

    commit check runs the same validation that commit performs but stops short of activating the configuration. This lets an administrator confirm that edits are syntactically correct before applying them.

  58. Question 58User Interfaces

    An administrator issues commit confirmed 5 and then loses the SSH session before confirming. What happens to the configuration?

    1. The configuration is automatically rolled back to the previous version after 5 minutes unless a commit is issued. Correct answer.
    2. The device waits for the administrator to log in again and confirm whenever they return.
    3. The configuration remains active permanently because it was already committed.
    4. The commit fails immediately and no changes are ever activated.

    Explanation

    commit confirmed activates the candidate configuration but starts a rollback timer; if no further commit is issued within the specified interval, the device reverts automatically to the previously committed configuration. This protects remote administrators from locking themselves out.

  59. Question 59User Interfaces

    Which command loads the configuration from the previous commit into the candidate configuration?

    1. rollback 0
    2. revert 1
    3. rollback 1 Correct answer.
    4. commit 1

    Explanation

    Rollback numbers index the commit history: rollback 0 reloads the currently active configuration, rollback 1 loads the configuration from one commit earlier, and higher numbers reach further back. The loaded configuration still requires a commit to become active.

  60. Question 60User Interfaces

    Which command in configuration mode writes the candidate configuration to a file on the device?

    1. load
    2. export
    3. commit file
    4. save Correct answer.

    Explanation

    The save command copies the current candidate configuration to a named file, which can later be restored with the load command. It does not affect the active configuration.

  61. Question 61User Interfaces

    Which command applies a configuration group named HQ to the device configuration?

    1. commit group HQ
    2. set apply-groups HQ Correct answer.
    3. set groups HQ apply
    4. load HQ

    Explanation

    Configuration groups are defined under the groups hierarchy and are applied with the apply-groups statement at the hierarchy level where their contents should take effect. The group's statements are inherited at that point in the configuration.

  62. Question 62User Interfaces

    While in configuration mode, which command executes an operational-mode command such as show interfaces terse?

    1. do show interfaces terse
    2. show interfaces terse operational
    3. exec show interfaces terse
    4. run show interfaces terse Correct answer.

    Explanation

    The run command lets an administrator execute operational-mode commands without leaving configuration mode. This is useful for checking state while making changes.

  63. Question 63User Interfaces

    Which command displays only the lines of the configuration output that contain the text ge-0/0/0?

    1. show configuration | match ge-0/0/0 Correct answer.
    2. show configuration | grep -v ge-0/0/0
    3. show configuration | except ge-0/0/0
    4. show configuration > ge-0/0/0

    Explanation

    The match pipe filter restricts output to lines containing the specified text. It is one of several Junos pipe filters, alongside except, find, and count.

  64. Question 64User Interfaces

    Which single command commits the candidate configuration and returns the user to operational mode?

    1. commit full
    2. commit and-quit Correct answer.
    3. commit exit
    4. commit synchronize

    Explanation

    commit and-quit activates the candidate configuration and then exits configuration mode, returning the session to operational mode. It combines commit and exit configuration-mode in one step.

  65. Question 65User Interfaces

    What is the effect of entering configuration mode with the configure private command?

    1. All users share one candidate configuration but each edit is tagged with the user name.
    2. Changes bypass the candidate configuration and take effect immediately.
    3. The candidate configuration is locked so that other users cannot edit until commit occurs.
    4. Each user edits a private candidate that is merged at commit time. Correct answer.

    Explanation

    configure private gives each user an independent candidate configuration. On commit, the private changes are merged into the shared configuration, so users are not blocked by one another. configure exclusive, in contrast, locks the shared candidate for a single user.

  66. Question 66User Interfaces

    How does the load replace command differ from the load override command?

    1. load replace applies only to the interfaces hierarchy, while load override applies to every hierarchy.
    2. load replace requires a commit check first, while load override does not.
    3. load replace merges the file into the candidate, while load override deletes the file afterward.
    4. It replaces only hierarchies tagged replace:; override discards the entire candidate. Correct answer.

    Explanation

    load override substitutes the whole candidate configuration with the contents of the file, whereas load replace substitutes only those hierarchies that are marked with the replace: tag in the file and merges everything else. Both leave the result uncommitted.

  67. Question 67User Interfaces

    On a device with dual Routing Engines, which command commits the configuration on both Routing Engines?

    1. commit synchronize Correct answer.
    2. commit both
    3. commit full
    4. commit and-quit

    Explanation

    commit synchronize pushes the commit to both Routing Engines so that the master and backup remain consistent. It is typically enabled by default with the synchronize statement in a dual-Routing-Engine chassis.

  68. Question 68User Interfaces

    Which pipe option displays configuration statements that the device inherits from configuration groups?

    1. | display set
    2. | display inheritance Correct answer.
    3. | display detail
    4. | display groups

    Explanation

    Configuration groups supply inherited statements that do not appear in a normal show configuration output. Piping the output through display inheritance expands the groups so the effective statements are visible.

  69. Question 69Configuration Basics

    Which Junos CLI command is used to enter configuration mode from operational mode?

    1. configure Correct answer.
    2. commit
    3. set
    4. edit

    Explanation

    The configure command switches the CLI from operational mode into configuration mode, starting at the [edit] hierarchy. From there the candidate configuration can be modified with edit, set, or delete.

  70. Question 70Configuration Basics

    Which command activates the candidate configuration on a Junos device?

    1. activate
    2. commit Correct answer.
    3. load
    4. save

    Explanation

    The commit command copies the candidate configuration into the active configuration, making the changes take effect. Until a commit is issued, edits remain only in the candidate.

  71. Question 71Configuration Basics

    An administrator has edited the candidate configuration and wants to discard the changes without activating them. Which command accomplishes this?

    1. rollback 0 Correct answer.
    2. rollback 1
    3. commit confirmed 5
    4. commit check

    Explanation

    The rollback 0 command replaces the candidate configuration with the active configuration, so all uncommitted edits are discarded. No further commit is needed afterwards.

  72. Question 72Configuration Basics

    While in configuration mode, which keyword runs an operational-mode command without leaving configuration mode?

    1. exec
    2. operational
    3. run Correct answer.
    4. do

    Explanation

    The run keyword executes an operational-mode command from within configuration mode and returns the user to the same hierarchy level. For example, run show interfaces terse works from any configuration level.

  73. Question 73Configuration Basics

    Which command leaves configuration mode and returns to operational mode without committing pending changes?

    1. exit configuration-mode Correct answer.
    2. rollback 0
    3. commit
    4. commit and-quit

    Explanation

    The exit configuration-mode command returns the user to operational mode. If uncommitted edits exist, Junos warns that they will be lost and asks for confirmation before exiting.

  74. Question 74Configuration Basics

    Which command shows the differences between the candidate configuration and the active configuration?

    1. show configuration | display inheritance
    2. show system commit
    3. show | compare Correct answer.
    4. show configuration | display set

    Explanation

    Piping the show command through compare displays a diff between the candidate configuration and the active configuration, marking added lines with + and removed lines with -.

  75. Question 75Configuration Basics

    In which configuration is a change stored immediately after it is entered with the set command?

    1. The rollback configuration
    2. The candidate configuration Correct answer.
    3. The rescue configuration
    4. The active configuration

    Explanation

    The set command edits the candidate configuration, which is a working copy of the configuration. The device continues to use the active configuration until a commit is issued.

  76. Question 76Configuration Basics

    Which operational-mode command displays the commit history of a Junos device?

    1. show system rollback
    2. show configuration commit list
    3. show system commit Correct answer.
    4. show commit history

    Explanation

    The show system commit command lists each commit with its sequence number, user, and timestamp. It is also the command used to view commit comments.

  77. Question 77Configuration Basics

    Which command checks the candidate configuration for syntax errors without activating it?

    1. commit synchronize
    2. commit check Correct answer.
    3. commit confirmed
    4. show | compare

    Explanation

    The commit check command parses the candidate configuration and reports errors, but it does not make the configuration active. It is commonly used as a validation step before a real commit.

  78. Question 78Configuration Basics

    An administrator issues the command commit confirmed 5 and then makes no further commits. What is the result?

    1. The commit runs automatically 5 minutes after the command was entered.
    2. The device reboots and reverts to the rescue configuration after 5 minutes.
    3. The commit stays pending for 5 minutes before it activates.
    4. It activates now and rolls back in 5 minutes if not confirmed. Correct answer.

    Explanation

    The commit confirmed command activates the configuration immediately and starts a timer. If a confirming commit is not issued before the timer expires, Junos automatically returns to the previous configuration, which protects against losing remote access.

  79. Question 79Configuration Basics

    Which load command completely replaces the candidate configuration with the contents of a file?

    1. load merge
    2. load override Correct answer.
    3. load replace
    4. load set

    Explanation

    The load override command discards the entire candidate configuration and replaces it with the file contents. The load merge and load replace commands instead modify the existing candidate.

  80. Question 80Configuration Basics

    An administrator is at the [edit interfaces ge-0/0/0] hierarchy level. Which command moves directly to the top of the configuration hierarchy?

    1. top Correct answer.
    2. root
    3. exit
    4. up

    Explanation

    The top command jumps from any hierarchy level to the [edit] top level. The up and exit commands move only one level upward at a time.

  81. Question 81Configuration Basics

    Which command stores the current committed configuration as the rescue configuration?

    1. save rescue configuration
    2. request system configuration rescue save Correct answer.
    3. commit rescue
    4. request rescue configuration save

    Explanation

    The request system configuration rescue save command saves a copy of the current configuration that can later be restored with rollback rescue. It is issued from operational mode.

  82. Question 82Configuration Basics

    Which command loads the configuration that was committed two commits ago into the candidate configuration?

    1. rollback 3
    2. rollback 1
    3. rollback 2 Correct answer.
    4. rollback 0

    Explanation

    Rollback numbers count backward from the most recent commit: rollback 0 is the active configuration, rollback 1 is the one before it, and rollback 2 is the configuration from two commits ago. The loaded configuration stays in the candidate until committed.

  83. Question 83Configuration Basics

    A configuration group named CORE has been defined at the [edit groups] hierarchy. Which command applies it to the entire configuration?

    1. set groups CORE apply
    2. set apply-groups CORE Correct answer.
    3. apply group CORE
    4. set system apply-groups CORE

    Explanation

    A configuration group is applied with the apply-groups statement. When apply-groups is placed at the [edit] top level, the group's statements are inherited throughout the configuration.

  84. Question 84Configuration Basics

    Which commit option records a descriptive text message in the commit history?

    1. commit comment Correct answer.
    2. commit log
    3. commit describe
    4. commit message

    Explanation

    The commit comment option attaches a text string to the commit, and that string then appears in the output of show system commit. This helps administrators track why a change was made.

  85. Question 85Configuration Basics

    Which configuration-mode command writes the candidate configuration to the file /var/tmp/base.conf on the local device?

    1. commit and-save /var/tmp/base.conf
    2. export configuration /var/tmp/base.conf
    3. load /var/tmp/base.conf
    4. save /var/tmp/base.conf Correct answer.

    Explanation

    The save command, available in configuration mode, copies the candidate configuration to the specified file. That file can later be restored with the load command.

  86. Question 86Configuration Basics

    Which command displays the candidate configuration as a series of set commands?

    1. show configuration | display inheritance
    2. show configuration | except set
    3. show configuration | display set Correct answer.
    4. show configuration | match set

    Explanation

    The display set option formats configuration output as set commands, which is convenient for copying and reapplying configuration. Plain show configuration outputs the hierarchical text format instead.

  87. Question 87Configuration Basics

    Which command creates a local user account named jdoe that uses the login class read-only?

    1. set system login class jdoe class read-only
    2. set system login class jdoe permissions read-only
    3. set system login user jdoe class read-only Correct answer.
    4. set system login user jdoe permissions read-only

    Explanation

    Local users are defined under [edit system login user], and the class statement assigns an existing login class to that user. The read-only class is predefined and limits the user to viewing information.

  88. Question 88Configuration Basics

    Which command attaches a text comment to a specific configuration statement such as an interface?

    1. commit message
    2. comment
    3. describe
    4. annotate Correct answer.

    Explanation

    The annotate command adds a comment to a configuration object, and the text appears in later show configuration output. It differs from a commit comment, which is stored in the commit history.

  89. Question 89Configuration Basics

    Which command gives an administrator an exclusive lock on the configuration database so that no other user can commit changes?

    1. commit synchronize
    2. configure exclusive Correct answer.
    3. edit exclusive
    4. configure private

    Explanation

    The configure exclusive command locks the shared configuration database for that user. Other users may still read the configuration, but they cannot commit until the lock is released.

  90. Question 90Configuration Basics

    An administrator issues load factory-default and then attempts commit. What must be done for the commit to succeed?

    1. Delete the existing rescue configuration.
    2. Issue commit synchronize before the commit.
    3. Configure a root authentication password. Correct answer.
    4. Reboot the device into single-user mode.

    Explanation

    The factory-default configuration contains no root password, and Junos refuses to commit a configuration that has no root authentication set. The administrator must add a root password before the commit will succeed.

  91. Question 91Configuration Basics

    Which command schedules the candidate configuration to be activated at a specified time in the future?

    1. commit confirmed 60
    2. commit in 60
    3. commit scheduled 23:00
    4. commit at 23:00 Correct answer.

    Explanation

    The commit at command commits the candidate configuration at a specified time, for example commit at "23:00". The commit confirmed command instead commits immediately and starts a rollback timer.

  92. Question 92Configuration Basics

    On a device with dual Routing Engines, which commit option applies the configuration to both engines in one step?

    1. commit confirmed
    2. commit and-quit
    3. commit synchronize Correct answer.
    4. commit full

    Explanation

    The commit synchronize command commits the configuration and synchronizes it to the other Routing Engine. Without it, the two engines can hold different configurations.

  93. Question 93Configuration Basics

    An administrator enters configure private. What does this command provide?

    1. The user's private candidate is merged with other changes at commit. Correct answer.
    2. The user views the configuration in a read-only mode.
    3. Other users are blocked from committing configuration changes.
    4. The user edits the shared candidate configuration used by every user.

    Explanation

    With configure private, each user edits an independent candidate configuration. At commit time the user's changes are merged into the shared configuration, so simultaneous editors do not overwrite each other's work.

  94. Question 94Configuration Basics

    An administrator is in configuration mode and needs to view the routing table without leaving configuration mode. Which command should be used?

    1. run show route Correct answer.
    2. execute show route
    3. operational show route
    4. show route

    Explanation

    Junos separates operational mode from configuration mode, and the run command executes an operational-mode CLI command directly from within configuration mode. The output is displayed and the user remains at the current configuration hierarchy.

  95. Question 95Configuration Basics

    Which command commits the candidate configuration and then returns the user to operational mode in a single step?

    1. commit at
    2. commit check
    3. commit and-quit Correct answer.
    4. commit synchronize

    Explanation

    The commit and-quit command activates the candidate configuration and, if the commit succeeds, exits configuration mode and returns the CLI to operational mode. If the commit fails, the user remains in configuration mode so the error can be corrected.

  96. Question 96Configuration Basics

    An interface is currently named ge-0/0/1 in the configuration and must be changed to ge-0/0/5 throughout the configuration. Which configuration-mode command performs this change?

    1. copy interfaces ge-0/0/1 to ge-0/0/5
    2. move interfaces ge-0/0/1 ge-0/0/5
    3. set interfaces ge-0/0/5 rename ge-0/0/1
    4. rename interfaces ge-0/0/1 to ge-0/0/5 Correct answer.

    Explanation

    The rename command changes the identifier of a configuration object and updates it everywhere it appears in the configuration. It is issued from the hierarchy level that contains the object being renamed.

  97. Question 97Configuration Basics

    A configuration statement was previously disabled with the deactivate command. Which command makes the statement active again while preserving its existing settings?

    1. commit
    2. rollback 0
    3. activate Correct answer.
    4. set

    Explanation

    The activate command re-enables a statement that was marked inactive by deactivate, and the statement's configured values remain unchanged. The change takes effect in the candidate configuration and must still be committed.

  98. Question 98Configuration Basics

    A configuration group containing interface settings is applied with apply-groups. Which command displays the configuration with the inherited group settings shown inline at the points where they apply?

    1. show configuration | except groups
    2. show configuration | display inheritance Correct answer.
    3. show configuration | display xml
    4. show configuration | display set

    Explanation

    The display inheritance pipe filter expands configuration group data at the locations where apply-groups causes it to be inherited. This lets an administrator see the effective configuration rather than only the statements explicitly typed at each hierarchy.

  99. Question 99Operational Monitoring and Maintenance

    Which command displays the Junos OS release currently running on a device?

    1. show chassis hardware
    2. show system uptime
    3. show version Correct answer.
    4. show system commit

    Explanation

    The show version command reports the Junos OS release, the device model, and how long the software has been running. It is the standard first check when confirming which software release a device is running.

  100. Question 100Operational Monitoring and Maintenance

    Which command saves the current committed configuration as the rescue configuration?

    1. request system rescue configuration save
    2. commit and-quit as rescue configuration
    3. request system configuration rescue save Correct answer.
    4. save current configuration as rescue backup

    Explanation

    The rescue configuration is a known-good configuration that can be restored later. It is saved with request system configuration rescue save, and the saved version can be loaded again in configuration mode with rollback rescue.

  101. Question 101Operational Monitoring and Maintenance

    Which command displays the contents of the default system log file on a Junos device?

    1. show system logfile
    2. show log
    3. show syslog
    4. show log messages Correct answer.

    Explanation

    Junos writes most system messages to the file /var/log/messages by default, and show log messages displays its contents. Running show log without a file name only lists the log files that exist.

  102. Question 102Operational Monitoring and Maintenance

    Which command captures and displays packets passing through interface ge-0/0/0 in a tcpdump-like format?

    1. capture packets interface ge-0/0/0 detail
    2. monitor traffic interface ge-0/0/0 Correct answer.
    3. debug interface ge-0/0/0 traffic
    4. trace packet interface ge-0/0/0

    Explanation

    The monitor traffic interface command uses the built-in packet capture utility to display packets on an interface in a tcpdump-like format. Pressing Ctrl-C stops the capture, and adding no-resolve prevents reverse DNS lookups of addresses.

  103. Question 103Operational Monitoring and Maintenance

    Which command displays hardware alarm conditions such as a failed power supply or fan tray?

    1. show chassis environment
    2. show chassis alarms Correct answer.
    3. show log alarms
    4. show system alarms

    Explanation

    show chassis alarms reports alarm conditions raised by hardware components, including power supplies, fans, and temperature sensors. It is the command used to confirm whether a chassis component needs attention.

  104. Question 104Operational Monitoring and Maintenance

    Which command gracefully restarts a Junos device?

    1. request system halt
    2. request chassis restart
    3. restart system
    4. request system reboot Correct answer.

    Explanation

    request system reboot shuts down software services cleanly and then restarts the device. The halt variant powers the device off without restarting it, and Junos asks for confirmation unless no-confirm is added.

  105. Question 105Operational Monitoring and Maintenance

    After committing a configuration change, which command returns the device to the previously committed configuration?

    1. undo 1
    2. revert 1
    3. rollback 0
    4. rollback 1 Correct answer.

    Explanation

    Rollback revisions are numbered from 0, where 0 is the most recently committed configuration. Loading rollback 1 places the prior committed configuration into the candidate, and it becomes active after a commit, while rollback 0 discards uncommitted edits.

  106. Question 106Operational Monitoring and Maintenance

    Which command displays the configuration that is currently active on a Junos device?

    1. show running-config
    2. show candidate-configuration
    3. show system commit
    4. show configuration Correct answer.

    Explanation

    In operational mode, show configuration displays the active committed configuration of the device. The candidate configuration is viewed with the show command inside configuration mode, and it becomes active only after a commit.

  107. Question 107Operational Monitoring and Maintenance

    An administrator enters commit confirmed 5 and then loses the management session. What happens if no further action is taken?

    1. The configuration is automatically rolled back after 5 minutes. Correct answer.
    2. The commit fails and the candidate is discarded immediately.
    3. The device reboots after 5 minutes and reloads the rescue configuration.
    4. The configuration stays committed and the device waits for manual confirmation.

    Explanation

    commit confirmed activates the candidate configuration temporarily; if it is not confirmed within the specified number of minutes, Junos automatically reverts to the previous configuration. This protects a remote administrator from locking themselves out of the device.

  108. Question 108Operational Monitoring and Maintenance

    An administrator needs detailed per-interface counters such as input errors, output errors, and framing errors. Which command output should be used?

    1. show interfaces summary
    2. show configuration interfaces
    3. show interfaces extensive Correct answer.
    4. show interfaces terse

    Explanation

    show interfaces extensive includes traffic statistics, error counters, and other detailed per-interface information. The terse form shows only status and addresses, which is not enough for error analysis.

  109. Question 109Operational Monitoring and Maintenance

    Which configuration-mode command replaces the candidate configuration with the factory default configuration?

    1. request system factory-reset
    2. load factory-default Correct answer.
    3. rollback factory
    4. commit factory-default

    Explanation

    load factory-default replaces the candidate configuration with the factory default configuration, and a commit is then required to activate it. Because the default configuration has no root password, root authentication must be configured before that commit can succeed.

  110. Question 110Operational Monitoring and Maintenance

    What does the request system snapshot command do?

    1. /root and /config to /altroot and /altconfig Correct answer.
    2. /var and /tmp to /altvar and /alttmp
    3. /config to a remote backup server
    4. the entire /var/log directory to /altroot

    Explanation

    request system snapshot copies the root file system to /altroot and the /config directory to /altconfig on the alternate boot media. The copy can be used to recover a device or to return to the previous software after an upgrade.

  111. Question 111Operational Monitoring and Maintenance

    Which command compares the active configuration with rollback revision 1?

    1. show configuration | compare rollback 1 Correct answer.
    2. compare active configuration with rollback 1
    3. show rollback 1 | compare active
    4. compare system rollback 1

    Explanation

    In operational mode, piping show configuration into the compare rollback filter displays the differences between the active configuration and the chosen rollback revision. Inside configuration mode the equivalent is show | compare rollback 1.

  112. Question 112Operational Monitoring and Maintenance

    By default, in which directory does Junos store the files created by traceoptions?

    1. /root
    2. /config
    3. /tmp
    4. /var/log Correct answer.

    Explanation

    Trace output files are written to /var/log unless a different path is given in the traceoptions configuration. The file statement sets the file name, and the files and size statements control rotation.

  113. Question 113Operational Monitoring and Maintenance

    Which command verifies whether a device is synchronized with its configured NTP server?

    1. show ntp status Correct answer.
    2. show system time
    3. show configuration ntp
    4. show ntp server

    Explanation

    show ntp status reports whether the device has synchronized with an NTP server and identifies the server and stratum in use. The associations view lists all peers and their reachability, while the configuration view only shows what was configured.

  114. Question 114Operational Monitoring and Maintenance

    Which command collects a broad set of system state information intended for delivery to Juniper support?

    1. show log messages
    2. request support information Correct answer.
    3. request system snapshot
    4. monitor traffic interface fxp0

    Explanation

    request support information runs a series of show commands covering interfaces, routes, configuration, and logs, and produces output suitable for analysis by support engineers. Its output is often captured with no-page or redirected with the save pipe filter.

  115. Question 115Operational Monitoring and Maintenance

    Which command resets the statistics counters on interface ge-0/0/1 to zero?

    1. reset interface counters ge-0/0/1
    2. clear interfaces statistics ge-0/0/1 Correct answer.
    3. clear statistics interface ge-0/0/1
    4. delete interfaces statistics ge-0/0/1

    Explanation

    clear interfaces statistics zeroes the counters for the specified interface so that new measurements start from a clean baseline. Counters are also reset when the interface or the device restarts.

  116. Question 116Operational Monitoring and Maintenance

    Which command sends exactly five ICMP echo requests to 192.0.2.1 using 10.1.1.1 as the source address?

    1. traceroute 192.0.2.1 count 5 source 10.1.1.1
    2. ping 10.1.1.1 count 5 target 192.0.2.1
    3. ping 192.0.2.1 count 5 source 10.1.1.1 Correct answer.
    4. ping 192.0.2.1 count 5 from 10.1.1.1

    Explanation

    The Junos ping command limits the number of echo requests with count and sets the originating address with source. Using source is important when testing reachability from a specific local address.

  117. Question 117Operational Monitoring and Maintenance

    Which command displays the number of routes in each routing table, broken down by protocol?

    1. show route detail
    2. show route summary Correct answer.
    3. show route brief
    4. show route forwarding-table

    Explanation

    show route summary presents per-table counts, including how many routes were learned from each protocol. It gives a quick view of routing table size and protocol distribution without listing individual prefixes.

  118. Question 118Operational Monitoring and Maintenance

    The /var partition on a device is nearly full because of accumulated files. Which command removes unneeded files from /var?

    1. request system storage cleanup Correct answer.
    2. request system snapshot
    3. request system reboot
    4. clear system storage files no-confirm

    Explanation

    request system storage cleanup deletes unneeded files such as old log files and temporary files, and it prompts before deleting unless no-confirm is added. It is the standard way to free space on a full /var partition.

  119. Question 119Operational Monitoring and Maintenance

    A router's root password is unknown and no other login account exists. Which condition must be met to recover access?

    1. A valid rescue configuration containing the old password has been saved.
    2. An SNMP community string with write access has been configured.
    3. Physical console access is available to interrupt boot and enter single-user mode. Correct answer.
    4. The device must be reachable over SSH with a read-only account.

    Explanation

    Root password recovery requires attaching to the console port, interrupting the boot loader, and booting into single-user mode, where the root password is cleared. The device is then rebooted and a new password is set from configuration mode.

  120. Question 120Operational Monitoring and Maintenance

    After installing a new Junos OS package and rebooting, an administrator wants to return to the previously running software release. Which command is used?

    1. request system reboot alternate
    2. request system software add previous
    3. rollback software 1
    4. request system software rollback Correct answer.

    Explanation

    request system software rollback reinstalls the software release that was running before the last installation. A reboot is then required to boot the restored release.

  121. Question 121Operational Monitoring and Maintenance

    Which configuration hierarchy defines an RMON alarm that monitors an SNMP MIB object and triggers an event when a threshold is crossed?

    1. [edit snmp community]
    2. [edit snmp rmon alarm] Correct answer.
    3. [edit system syslog host]
    4. [edit snmp trap-group]

    Explanation

    RMON alarms are defined under [edit snmp rmon alarm] with the monitored variable, sample interval, rising and falling thresholds, and the event to trigger. When a threshold is crossed, the associated event can send an SNMP trap.

  122. Question 122Operational Monitoring and Maintenance

    Which configuration statement sends all system log messages, at every severity, to a remote syslog server at 203.0.113.10?

    1. set system syslog host 203.0.113.10 any any Correct answer.
    2. set system syslog file 203.0.113.10 any any
    3. set system syslog archive 203.0.113.10
    4. set snmp trap-group remote targets 203.0.113.10

    Explanation

    Within [edit system syslog], the host statement defines a remote destination, and any any selects all facilities at all severity levels. The file statement writes to a local file instead of sending messages off the device.

  123. Question 123Operational Monitoring and Maintenance

    Which command saves the active configuration to the file /var/tmp/backup.conf on the device itself?

    1. file save configuration /var/tmp/backup.conf
    2. show configuration | save /var/tmp/backup.conf Correct answer.
    3. request system save configuration /var/tmp/backup.conf
    4. show configuration > /var/tmp/backup.conf

    Explanation

    The save pipe filter writes the output of a command to a file on the local file system, so the configuration can be archived without leaving the CLI. The file is later retrieved with file copy or file show.

  124. Question 124Operational Monitoring and Maintenance

    Which operational command displays the current time, how long the device has been running, and the number of users logged in?

    1. show version
    2. show chassis routing-engine
    3. show system uptime Correct answer.
    4. show system alarms

    Explanation

    The show system uptime command reports the current time, the time since the device booted, and the number of users logged in. It is commonly used as a quick health check of device time and uptime.

  125. Question 125Operational Monitoring and Maintenance

    By default, which file on a Junos device contains general system log messages?

    1. /var/log/audit
    2. /var/log/messages Correct answer.
    3. /var/log/interactive-commands
    4. /var/log/chassisd

    Explanation

    Junos OS sends most general system log messages to /var/log/messages by default. Other files in /var/log are used for more specialized logging, such as chassis daemon messages or interactive command logging.

  126. Question 126Operational Monitoring and Maintenance

    An administrator wants to capture packet headers in real time on interface ge-0/0/1 without saving them to a file. Which command accomplishes this?

    1. monitor interface traffic
    2. show interfaces ge-0/0/1 extensive statistics
    3. monitor traffic interface ge-0/0/1 Correct answer.
    4. show interfaces ge-0/0/1 detail

    Explanation

    The monitor traffic interface ge-0/0/1 command captures packets on the specified interface and displays them in real time. Without a write option, no capture file is created.

  127. Question 127Operational Monitoring and Maintenance

    Which command displays new log messages from the messages file as they are generated, in real time?

    1. monitor start messages Correct answer.
    2. clear log messages
    3. show log messages
    4. request system reboot

    Explanation

    The monitor start messages command streams log entries from the messages file as new entries are appended. It is useful for watching events in real time during troubleshooting.

  128. Question 128Operational Monitoring and Maintenance

    An administrator suspects a routing protocol process is consuming excessive CPU. Which command provides a detailed list of running processes sorted by CPU usage?

    1. show chassis routing-engine extensive
    2. show system processes extensive Correct answer.
    3. show route summary
    4. show system statistics

    Explanation

    The show system processes extensive command lists running processes along with detailed CPU and memory usage, making it suitable for identifying a process that is consuming excessive CPU.

  129. Question 129Routing Fundamentals

    Which Junos command displays the forwarding table that the Packet Forwarding Engine uses to forward traffic?

    1. show configuration routing-options
    2. show route forwarding-table Correct answer.
    3. show route
    4. show route summary

    Explanation

    Junos keeps a routing table on the control plane and a forwarding table in the data plane. The show route forwarding-table command displays the forwarding entries installed by the kernel.

  130. Question 130Routing Fundamentals

    What is the destination prefix of the IPv4 default route in Junos?

    1. 0.0.0.0/8
    2. 224.0.0.0/4
    3. 255.255.255.255/32
    4. 0.0.0.0/0 Correct answer.

    Explanation

    The IPv4 default route is 0.0.0.0/0, which matches every IPv4 destination when no more specific route exists. It is commonly used as the last-resort route.

  131. Question 131Routing Fundamentals

    By default, which route preference does Junos assign to a static route?

    1. 0
    2. 170
    3. 5 Correct answer.
    4. 10

    Explanation

    Junos assigns a default preference of 5 to static routes. Lower preference values are preferred, so static routes win over OSPF internal routes (10) and BGP routes (170).

  132. Question 132Routing Fundamentals

    An OSPF internal route and a BGP route exist for the same prefix. Which route does Junos prefer by default?

    1. BGP, because a higher preference value is always preferred by Junos.
    2. OSPF, because its preference of 10 is lower than 170. Correct answer.
    3. BGP, because exterior gateway protocol routes are always preferred.
    4. OSPF, because internal routes are always preferred over external routes.

    Explanation

    Junos uses lower preference values for more trustworthy routes. OSPF internal routes default to 10 and BGP routes default to 170, so the OSPF route is preferred.

  133. Question 133Routing Fundamentals

    Which command displays only the static routes in the inet.0 routing table?

    1. show static route
    2. show route forwarding-table static
    3. show route protocol static Correct answer.
    4. show route table static

    Explanation

    The show route protocol static command filters the routing table output to routes learned from the static protocol. It is commonly used to verify static route installation.

  134. Question 134Routing Fundamentals

    Which routing table holds IPv4 unicast routes by default in a Junos device?

    1. inet.3
    2. mpls.0
    3. inet.0 Correct answer.
    4. inet6.0

    Explanation

    inet.0 is the default routing table for IPv4 unicast routes. Other tables such as inet.3 and mpls.0 serve different purposes.

  135. Question 135Routing Fundamentals

    Which command provides a summary count of routes per protocol in the routing table?

    1. show route hidden
    2. show route detail
    3. show route summary Correct answer.
    4. show route terse

    Explanation

    show route summary displays route counts, including totals per protocol and active/hidden status. It gives an overview rather than per-route detail.

  136. Question 136Routing Fundamentals

    In a Junos static route, which next-hop type silently drops matching traffic?

    1. reject
    2. resolve
    3. next-table
    4. discard Correct answer.

    Explanation

    A static route with the discard next hop silently drops matching packets. The reject next hop also drops traffic but sends an ICMP unreachable message.

  137. Question 137Routing Fundamentals

    A router has a static default route 0.0.0.0/0 with preference 5 and an OSPF route for 10.1.1.0/24 with preference 10. Where is a packet destined to 10.1.1.5 forwarded?

    1. The packet is dropped because the two preferences conflict.
    2. Traffic is load-balanced between the default and OSPF routes.
    3. Out the OSPF next hop, because /24 is the longest match. Correct answer.
    4. Out the default route next hop, because its preference of 5 is lower.

    Explanation

    Forwarding lookup uses longest-prefix match first, so 10.1.1.0/24 is chosen over 0.0.0.0/0. Preference only compares routes to the same prefix, not routes of different lengths.

  138. Question 138Routing Fundamentals

    Two static routes to 192.0.2.0/24 have the same preference but different metrics. Which route becomes active?

    1. The first one configured
    2. The one with the lower metric Correct answer.
    3. The one with the higher metric
    4. Both are always active and load-balanced

    Explanation

    When routes to the same prefix have equal preference, Junos compares metrics and prefers the lower metric. If both preference and metric are equal, ECMP may be used.

  139. Question 139Routing Fundamentals

    A route in the Junos routing table is marked hidden. What does this mean?

    1. It is the currently active route in the table
    2. It has been removed from the configuration
    3. It is a directly connected route
    4. It is not eligible to be selected as active Correct answer.

    Explanation

    A hidden route is present in the routing table but is not eligible to be selected as the active route. Common causes include an unresolved next hop or a policy rejection.

  140. Question 140Routing Fundamentals

    What is the purpose of a qualified next hop under a static route in Junos?

    1. To set a different preference for a backup next hop Correct answer.
    2. To resolve the next hop through a non-default routing instance
    3. To specify a backup physical interface that is used only during failures
    4. To enable MPLS label stacking for the static route's next hop

    Explanation

    A qualified next hop lets you define an alternate next hop for the same static route with its own preference. This allows floating or backup static paths without creating separate route entries.

  141. Question 141Routing Fundamentals

    A static route points to 203.0.113.1, which is not directly connected. What must Junos do before the route can be used?

    1. Move the next hop into a separate routing instance
    2. Convert the route into a directly connected route
    3. Resolve the next hop through another route Correct answer.
    4. Assign the route a preference of 0

    Explanation

    Junos performs a recursive lookup to resolve a next hop that is not directly connected. If no route resolves the next hop, the static route remains hidden or unusable.

  142. Question 142Routing Fundamentals

    Which statement describes a static route configured with the reject next hop?

    1. It silently drops packets without sending any ICMP message
    2. It installs the route only in the forwarding table
    3. It drops packets and sends an ICMP unreachable Correct answer.
    4. It forwards matching packets to the default next hop

    Explanation

    The reject next hop discards matching traffic and returns an ICMP unreachable message to the source. The discard next hop, by contrast, drops traffic silently.

  143. Question 143Routing Fundamentals

    What does the show route terse command display?

    1. The complete configuration for each route
    2. Only hidden routes and their reasons for being hidden
    3. A one-line summary of each route Correct answer.
    4. Forwarding table entries in kernel format

    Explanation

    show route terse condenses each route to a single line, typically showing protocol, preference, metric, and next hop. It does not show full detail or hidden-route reasons.

  144. Question 144Routing Fundamentals

    By default, what preference does Junos assign to an aggregate route?

    1. 5
    2. 170
    3. 10
    4. 130 Correct answer.

    Explanation

    Aggregate routes default to a preference of 130. This is less preferred than static (5) and OSPF internal (10) routes but more preferred than BGP (170) routes.

  145. Question 145Routing Fundamentals

    Which command displays preference, metric, and next-hop details for a specific route?

    1. show route 192.0.2.0/24 detail Correct answer.
    2. show route forwarding-table 192.0.2.0/24
    3. show route summary 192.0.2.0/24
    4. show route hidden 192.0.2.0/24

    Explanation

    Adding detail to show route expands the selected prefix and shows attributes such as preference, metric, next hops, and protocol. It is useful for troubleshooting route selection.

  146. Question 146Routing Fundamentals

    Interfaces assigned to a virtual-router routing instance use which routing table?

    1. mpls.0 only
    2. A separate table for that instance Correct answer.
    3. inet.0, shared with the master instance
    4. The forwarding table of the master instance

    Explanation

    Each virtual-router instance maintains its own routing table, commonly viewed as instance-name.inet.0. This separation keeps its routes independent from the master instance.

  147. Question 147Routing Fundamentals

    When multiple routes to the same prefix have equal preference and equal metric, what does Junos do by default?

    1. It installs multiple next hops for load balancing Correct answer.
    2. It selects the oldest route and hides the others
    3. It discards the duplicate routes
    4. It selects the route with the highest next-hop address

    Explanation

    Equal preference and equal metric make the routes eligible for equal-cost multipath. Junos installs multiple next hops and load-balances traffic across them, subject to platform limits.

  148. Question 148Routing Fundamentals

    Which command displays only the exact route for 10.0.0.0/8 and excludes more specific routes?

    1. show route 10.0.0.0/8 terse
    2. show route 10.0.0.0/8 longer
    3. show route 10.0.0.0/8 exact Correct answer.
    4. show route 10.0.0.0/8 orlonger

    Explanation

    The exact option limits the display to the specified prefix only. The longer and orlonger options are used when more specific routes should also be shown.

  149. Question 149Routing Fundamentals

    What is the primary function of a RIB group in Junos?

    1. To convert unicast routes into multicast routes
    2. To combine multiple OSPF areas into a single backbone area
    3. To group physical interfaces into an aggregated Ethernet bundle
    4. To copy routes between routing tables Correct answer.

    Explanation

    A RIB group shares selected routes from one routing table with one or more other routing tables. It is commonly used to make routes available to a routing instance or to inet.3.

  150. Question 150Routing Fundamentals

    Which routing policy is used to import routes into a routing instance from another routing table?

    1. instance-import policy under the routing instance Correct answer.
    2. import policy under [edit protocols bgp]
    3. a firewall filter applied to the loopback interface
    4. export policy under [edit policy-options]

    Explanation

    An instance-import policy controls which routes are imported into a routing instance's table. The related instance-export policy controls routes exported from the instance.

  151. Question 151Routing Fundamentals

    When Junos compares multiple BGP routes to the same prefix from different peers, which attribute is considered before AS path length?

    1. Origin code of the route
    2. Local preference Correct answer.
    3. Router ID of the advertising peer
    4. Multi-exit discriminator value

    Explanation

    Junos evaluates BGP path attributes in a defined order. The highest local preference is considered before AS path length, origin, and MED.

  152. Question 152Routing Fundamentals

    Which routes does Junos install into the forwarding table?

    1. Only routes that are currently marked as hidden
    2. The active routes and their resolved next hops Correct answer.
    3. Every route present in every routing table on the device
    4. Only routes that have a preference value of zero

    Explanation

    The routing table selects the best active route for each prefix, and the active next hops are installed in the forwarding table. Hidden or inactive routes are not installed for forwarding.

  153. Question 153Routing Fundamentals

    A static route and an OSPF route exist for the same prefix, and the static route's next hop is unresolved. What happens?

    1. The static route stays active and blackholes traffic
    2. The static route is hidden and the OSPF route becomes active Correct answer.
    3. Both routes are installed and used for load balancing
    4. The OSPF route is hidden because static has lower preference

    Explanation

    A static route with an unresolved next hop cannot be used and is hidden. Junos then selects the next best eligible route, which can be the OSPF route for the same prefix.

  154. Question 154Routing Fundamentals

    Which default preference does Junos assign to OSPF internal routes?

    1. 100
    2. 10 Correct answer.
    3. 170
    4. 5

    Explanation

    Junos ranks routes by preference, and the lowest preference value wins. The default for OSPF internal routes is 10, which places them behind directly connected routes (0) and static routes (5) but ahead of RIP (100) and BGP (170).

  155. Question 155Routing Fundamentals

    Which statement describes how Junos uses the routing table and the forwarding table?

    1. The forwarding table is consulted first and its contents populate the routing table.
    2. The routing table and the forwarding table always hold an identical set of entries.
    3. Every learned route is placed in the forwarding table as soon as it is received.
    4. Only active routes chosen in the routing table are copied to the forwarding table used for packet forwarding. Correct answer.

    Explanation

    The routing table (for example inet.0) holds all routes the device knows about, including inactive ones. The best route for each prefix is then installed into the forwarding table, which the Packet Forwarding Engine actually uses to forward traffic.

  156. Question 156Routing Fundamentals

    A router has a static route for 172.16.0.0/16 with preference 5 and an OSPF route for 172.16.5.0/24 with preference 10. Which route is used to forward a packet destined to 172.16.5.20?

    1. Neither route, because the overlapping prefixes cause both to be hidden.
    2. The static route, because its preference value is lower.
    3. The static route, because static routes override dynamic protocols.
    4. The OSPF route, because the longest matching prefix is evaluated before preference. Correct answer.

    Explanation

    Junos first selects the most specific prefix that matches the destination, and only routes of that same prefix length are compared using preference and metric. Because /24 is longer than /16, the OSPF route is the only candidate for 172.16.5.20.

  157. Question 157Routing Fundamentals

    With factory-default configuration, what does a Junos device export from its routing table into a dynamic routing protocol such as OSPF?

    1. Only static routes
    2. Only directly connected routes
    3. All active routes in inet.0
    4. Nothing, because the default export policy rejects all routes Correct answer.

    Explanation

    Junos applies a default export policy that terminates with a reject action, so no routes are advertised unless you configure an export policy that accepts them. Redistribution into a dynamic protocol therefore always requires an explicit policy.

  158. Question 158Routing Fundamentals

    You configure an aggregate route for 10.0.0.0/8, but it never becomes active in the routing table. What is the most likely explanation?

    1. The aggregate route stays hidden until a policy raises its preference.
    2. Aggregate routes only activate after a device reboot.
    3. Aggregate routes need a next hop resolved through a tunnel interface.
    4. No more-specific contributing route is currently active. Correct answer.

    Explanation

    An aggregate route is a placeholder that is installed only while at least one more-specific route from a contributing protocol is active. When the last contributing route disappears, the aggregate is withdrawn, which is why a configured aggregate can remain inactive.

  159. Question 159Routing Policy and Firewall Filters

    A policy-statement contains three terms, and a given route matches none of them. What is the default result in Junos?

    1. The route is rejected. Correct answer.
    2. The route is accepted.
    3. The route is accepted only if a default term exists.
    4. The router logs the route and then accepts it.

    Explanation

    Every policy statement ends with an implicit default action of reject. If no term matches, the route is not accepted by that policy, whether the policy is applied on import or on export.

  160. Question 160Routing Policy and Firewall Filters

    In what order does Junos evaluate the terms inside a single policy statement?

    1. In the order in which the terms were configured, stopping at the first match. Correct answer.
    2. In alphanumeric order by term name, stopping at the last match.
    3. All terms are evaluated and the most specific match wins.
    4. Terms are evaluated in reverse configuration order until one matches.

    Explanation

    Terms are processed top-down in configuration order, and evaluation stops at the first term whose from conditions all match the route. Term order therefore determines which action is applied when several terms could match.

  161. Question 161Routing Policy and Firewall Filters

    A firewall filter has several terms, but a particular packet matches none of them. What does Junos do with that packet?

    1. It forwards the packet and logs a violation.
    2. It sends the packet to the Routing Engine for inspection.
    3. It discards the packet. Correct answer.
    4. It passes the packet to the next filter configured in the chain.

    Explanation

    A firewall filter ends with an implicit discard for traffic that matches no term. To permit unmatched traffic, the filter must contain an explicit accepting term at the end.

  162. Question 162Routing Policy and Firewall Filters

    Within a policy term, which clause holds the conditions that a route must satisfy?

    1. then
    2. action
    3. from Correct answer.
    4. match

    Explanation

    A term is built from a from clause that lists match conditions and a then clause that lists actions. The from clause is the only place where match criteria such as protocol or route-filter are configured.

  163. Question 163Routing Policy and Firewall Filters

    What does the then accept action do in a route policy term?

    1. It accepts the route only if a later term also accepts it.
    2. It stops policy evaluation and accepts the route. Correct answer.
    3. It accepts the route and then continues to the next term.
    4. It accepts the route and then continues to the next policy.

    Explanation

    Accept is a terminating action: the route is accepted and no further terms or policies are examined. Use next term or next policy when evaluation must continue instead.

  164. Question 164Routing Policy and Firewall Filters

    Which type of policy processes routes that a routing protocol is about to install into the routing table?

    1. instance-export
    2. export
    3. import Correct answer.
    4. advertise

    Explanation

    Import policies run on routes coming from a protocol into the routing table and decide whether they are accepted. Export policies run in the other direction, filtering what the protocol advertises.

  165. Question 165Routing Policy and Firewall Filters

    In a route-filter match condition, which match type selects only the exact prefix that is listed?

    1. longer
    2. exact Correct answer.
    3. orlonger
    4. through

    Explanation

    The exact match type matches the specified prefix and nothing else. Match types such as longer, orlonger, upto and prefix-length-range extend the match to more specific prefixes.

  166. Question 166Routing Policy and Firewall Filters

    You must filter packets that arrive on interface ge-0/0/0. Which configuration applies the filter correctly?

    1. set firewall family inet filter F1 interface ge-0/0/0
    2. set interfaces ge-0/0/0 filter input F1
    3. set interfaces ge-0/0/0 unit 0 family inet filter input F1 Correct answer.
    4. set interfaces ge-0/0/0 unit 0 family inet filter output F1

    Explanation

    A stateless firewall filter is attached to a logical unit under a protocol family, using the input keyword for traffic entering the interface. The output keyword would filter traffic leaving the interface instead.

  167. Question 167Routing Policy and Firewall Filters

    A term in policy P1 contains then next policy, and a route matches that term. What happens next?

    1. Evaluation continues with the next term inside P1.
    2. The route is accepted immediately.
    3. The route is rejected and evaluation of the chain ends.
    4. Evaluation moves to the next policy in the chain, and the remaining terms of P1 are skipped. Correct answer.

    Explanation

    The next policy action abandons the current policy and passes the route to the next policy listed in the import or export statement. The route is neither accepted nor rejected at that point.

  168. Question 168Routing Policy and Firewall Filters

    Which from clause matches a route that was learned by either BGP or OSPF?

    1. from protocol bgp || ospf
    2. from protocol bgp + ospf
    3. from protocol [ bgp ospf ] Correct answer.
    4. from protocol bgp, ospf

    Explanation

    A list of values inside square brackets is an OR match, so the term matches routes whose protocol is BGP or OSPF. Multiple separate from statements would instead be combined with AND logic.

  169. Question 169Routing Policy and Firewall Filters

    How does a prefix-list used in a from clause differ from a route-filter?

    1. A prefix-list can be referenced only from firewall filter terms, not from policy terms.
    2. A prefix-list applies only to IPv6 routes, whereas route-filters apply to IPv4 only.
    3. A prefix-list lists bare prefixes, while each route-filter entry carries a match type. Correct answer.
    4. A prefix-list supports per-entry match types such as orlonger, while a route-filter does not.

    Explanation

    A prefix-list is simply a named set of prefixes and matches them exactly as listed, whereas a route-filter entry pairs a prefix with a match type such as exact, longer or orlonger. Both can be referenced from policy from clauses.

  170. Question 170Routing Policy and Firewall Filters

    Which route-filter match type matches the listed prefix together with every more specific prefix of it?

    1. orlonger Correct answer.
    2. longer
    3. exact
    4. upto /24

    Explanation

    Orlonger matches the listed prefix itself plus all prefixes that are more specific than it. Longer is similar but excludes the listed prefix, and exact matches only the listed prefix.

  171. Question 171Routing Policy and Firewall Filters

    Which BGP attribute is not carried to external peers, which makes it useful for local policy decisions inside an AS?

    1. local-preference Correct answer.
    2. MED
    3. next hop
    4. AS path

    Explanation

    Local-preference is a well-known discretionary attribute that stays within the local AS and is not included in eBGP updates. It is therefore set and matched in policy to steer outbound path selection inside the AS.

  172. Question 172Routing Policy and Firewall Filters

    Which action applies a policer to the packets that match a firewall filter term?

    1. then policer policer-name Correct answer.
    2. then bandwidth policer-name
    3. then rate-limit policer-name
    4. then filter policer-name

    Explanation

    The policer is defined under the firewall policer hierarchy and referenced from a filter term with the then policer action. Traffic above the configured rate is then handled by the policer's own then clause.

  173. Question 173Routing Policy and Firewall Filters

    You want to protect the Routing Engine from unsolicited management traffic. Where should the filter be applied?

    1. As an output filter on the WAN-facing interface.
    2. As an input filter on the loopback interface (lo0). Correct answer.
    3. As an input filter on every transit interface.
    4. As an output filter on the loopback interface.

    Explanation

    Traffic destined to the router itself is received on the loopback interface, so an input filter on lo0 controls it. Transit traffic is handled by filters on the forwarding interfaces instead.

  174. Question 174Routing Policy and Firewall Filters

    An import policy term matches a BGP route and its action is then reject. What is the effect?

    1. The route is installed but is not advertised to peers.
    2. The session with the BGP peer is reset.
    3. The route is not installed, and evaluation of that policy stops. Correct answer.
    4. The route is installed and a syslog message is generated.

    Explanation

    Reject is a terminating action: the route is not accepted into the routing table and the current policy stops being evaluated. It does not affect the BGP session itself.

  175. Question 175Routing Policy and Firewall Filters

    Which operational-mode command tests a route against a configured policy and shows which terms matched?

    1. show route policy policy-name prefix
    2. show policy policy-name prefix
    3. test policy policy-name prefix Correct answer.
    4. monitor policy policy-name prefix

    Explanation

    The test policy command evaluates a prefix against a named policy and reports the matching terms and the resulting action. It lets you verify policy logic before committing it to a live protocol.

  176. Question 176Routing Policy and Firewall Filters

    On an EX Series switch, which filter family is used for a filter applied to VLAN-tagged switched traffic?

    1. family ethernet-switching Correct answer.
    2. family mpls
    3. family inet
    4. family inet6

    Explanation

    Filters for Layer 2 switched traffic use the ethernet-switching family, which can match fields such as source MAC address, destination MAC address and ethertype. Layer 3 filters use the inet or inet6 family instead.

  177. Question 177Routing Policy and Firewall Filters

    What is the effect of the then count c1 action in a firewall filter term?

    1. It increments a packet counter and evaluation continues. Correct answer.
    2. It counts the matches and then discards every matching packet.
    3. It limits the matching traffic to a single packet per second for the term.
    4. It copies each matching packet to the Routing Engine for analysis.

    Explanation

    Counting is a non-terminating action: the counter increments and the packet continues to be evaluated against later terms. A terminating action such as accept or discard must be added separately to change the packet's fate.

  178. Question 178Routing Policy and Firewall Filters

    With no export policy configured, which routes does Junos OSPF place into its advertisements?

    1. All directly connected routes.
    2. All routes present in inet.0.
    3. All static routes.
    4. None, because an explicit export policy is required. Correct answer.

    Explanation

    Junos does not export routes into OSPF unless an export policy is configured and referenced under the OSPF hierarchy. The policy must explicitly accept the routes, such as direct or static routes, that should be advertised.

  179. Question 179Routing Policy and Firewall Filters

    Which policy action adds 10 to the existing metric of a matched route rather than replacing it?

    1. then metric-add 10
    2. then metric 10
    3. then add metric 10
    4. then metric +10 Correct answer.

    Explanation

    The metric action accepts an operator: metric +10 adds to the current value, metric -10 subtracts, and metric 10 without an operator sets an absolute value. Using the plus sign preserves the existing metric of each route.

  180. Question 180Routing Policy and Firewall Filters

    A firewall filter term uses the action then routing-instance VRF-A. What does this accomplish?

    1. It applies VRF-A's firewall filters to the matching packets.
    2. It rewrites the destination address of matching packets using a route in VRF-A.
    3. It forwards matching packets using the VRF-A routing table. Correct answer.
    4. It installs matching packets into the VRF-A routing table as host routes.

    Explanation

    This is filter-based forwarding: matching packets are looked up in the named routing instance's tables instead of the default instance. It is commonly used to steer traffic by source address into a separate virtual router.

  181. Question 181Routing Policy and Firewall Filters

    A single policy term contains the statements from protocol bgp; and from local-preference 300;. How is the term interpreted?

    1. The configuration is invalid because a term cannot contain two from statements.
    2. The second from statement overrides the first, so only local-preference 300 is matched.
    3. The term matches routes that are BGP or that have local-preference 300.
    4. The term matches only BGP routes that also have local-preference 300. Correct answer.

    Explanation

    When a term contains multiple from statements, all of the conditions must be satisfied for the term to match, giving AND logic. OR logic requires a bracketed list or an explicit || expression within a single match condition.

  182. Question 182Routing Policy and Firewall Filters

    An import statement lists three policies: P1, P2 and P3. A route matches a P1 term with then next policy, then matches a P2 term with then accept. What is the result?

    1. The route is accepted as soon as P2 accepts it. Correct answer.
    2. The route is accepted only if P3 also accepts it.
    3. The route is rejected because P1 did not accept it.
    4. P3 is still evaluated before the route is accepted.

    Explanation

    Policies in an import or export list are evaluated in the listed order, and a terminating accept ends the chain immediately. P3 is never examined once P2 accepts the route.

  183. Question 183Routing Policy and Firewall Filters

    A two-rate three-color policer marks out-of-profile traffic with high loss priority. Which configuration drops only those marked packets further along the path?

    1. A policy-statement that rejects routes carrying high loss priority.
    2. A policer applied to the egress interface with a lower bandwidth limit.
    3. A firewall filter term that matches loss-priority high and applies discard. Correct answer.
    4. An output filter that matches the policer's color name as a match condition.

    Explanation

    Policers can set the packet's loss priority without dropping it, and a downstream filter can then match loss-priority high and discard. This is the standard way to drop out-of-profile traffic only where congestion matters.

  184. Question 184Routing Policy and Firewall Filters

    In a Junos device with no routing policies configured, how are routes treated on import and on export?

    1. All routes are accepted on import, and no routes are advertised on export. Correct answer.
    2. All routes are rejected on import, and all routes are advertised on export.
    3. All routes are rejected on import and on export.
    4. All routes are accepted on import and on export.

    Explanation

    Junos applies built-in default policies when no user policy is configured: the default import policy accepts every route, and the default export policy rejects every route. As a result, a protocol with no explicit policy installs everything it learns but advertises nothing.

  185. Question 185Routing Policy and Firewall Filters

    A policy contains three terms. A route satisfies the match conditions of both the first term and the second term. Which action is applied to the route?

    1. The action of the last matching term.
    2. The route is rejected because it matched more than one term.
    3. The actions of both matching terms are combined.
    4. The action of the first matching term. Correct answer.

    Explanation

    Junos evaluates policy terms in the order they appear in the configuration and stops at the first term whose match conditions are all satisfied. Any later terms, even if they would also match, are never examined for that route.

  186. Question 186Routing Policy and Firewall Filters

    A stateless firewall filter contains three terms, and an arriving packet does not match any of them. What happens to the packet?

    1. It is discarded. Correct answer.
    2. It is forwarded to the Routing Engine for inspection.
    3. It is passed to the next filter applied to the interface.
    4. It is accepted and forwarded normally.

    Explanation

    Every Junos firewall filter ends with an implicit discard, so a packet that matches no term is silently dropped. To permit unmatched traffic, the filter must contain an explicit term that accepts it.

  187. Question 187Routing Policy and Firewall Filters

    A firewall filter term is configured with the action then accept. What does this do to a packet that matches the term?

    1. It counts the packet and passes it to the next term.
    2. It discards the packet and returns an ICMP error.
    3. It passes the packet and stops evaluating the filter. Correct answer.
    4. It logs the packet and continues to the next term.

    Explanation

    The accept action is terminating: the packet is permitted and the remaining terms of the filter are not evaluated. Logging or counting can be combined with accept, but neither causes evaluation to continue on its own.

  188. Question 188Routing Policy and Firewall Filters

    A policy match condition is written as from route-filter 10.0.0.0/8 prefix-length-range /19-/24. Which prefixes does it match?

    1. Only prefixes inside 10.0.0.0/8 that are exactly /24.
    2. Prefixes inside 10.0.0.0/8 whose length is between /8 and /19 inclusive.
    3. Only the prefixes 10.0.0.0/19 and 10.0.0.0/24.
    4. Prefixes inside 10.0.0.0/8 whose length is between /19 and /24 inclusive. Correct answer.

    Explanation

    The prefix-length-range match type accepts any prefix within the specified prefix whose length falls in the given range, with both endpoints included. Here that means lengths from /19 through /24 inside 10.0.0.0/8.

  189. Question 189Routing Policy and Firewall Filters

    An export policy applied to an external BGP session contains a term with then as-path-prepend "65001 65001". What does this action achieve?

    1. It removes AS 65001 from the AS path before the route is advertised.
    2. It shortens the AS path so that remote autonomous systems prefer this path.
    3. It lengthens the AS path so that remote autonomous systems may prefer a different path. Correct answer.
    4. It prevents the route from being installed in the local routing table.

    Explanation

    Prepending inserts additional AS numbers at the beginning of the AS path that is advertised to the peer. A longer path is less attractive to receiving routers, so prepending is a common way to influence inbound traffic.

  190. Question 190Routing Policy and Firewall Filters

    Which policy match condition selects BGP routes that carry a particular community value?

    1. from as-path
    2. from protocol bgp
    3. from community Correct answer.
    4. from route-filter

    Explanation

    Communities are matched with the from community condition, which references a community defined under policy-options. The other conditions match AS path regular expressions, the routing protocol, or prefix information instead.

  191. Question 191Routing Policy and Firewall Filters

    Which statement describes the behavior of the then discard action in a firewall filter term?

    1. discard drops the packet silently, with no ICMP message to the source. Correct answer.
    2. discard applies only to traffic that the router itself generates and forwards.
    3. discard and reject both send an ICMP unreachable message to the source host.
    4. discard returns an ICMP unreachable message, while reject drops the packet silently.

    Explanation

    The discard action drops a matching packet without notifying the sender, which is useful for silently blocking unwanted traffic. The reject action, in contrast, drops the packet and returns an ICMP unreachable or a TCP reset.

  192. Question 192Routing Policy and Firewall Filters

    You must filter packets that the router itself originates and transmits out interface ge-0/0/0 toward the service provider. Where should the firewall filter be applied?

    1. As an input filter on interface ge-0/0/0.
    2. As an input filter on the loopback interface lo0.
    3. As an input filter on the provider's interface facing the router.
    4. As an output filter on interface ge-0/0/0. Correct answer.

    Explanation

    An input filter examines traffic arriving on the interface, whereas an output filter examines traffic leaving it, including packets generated by the router. Applying the filter as output on ge-0/0/0 therefore controls the egress traffic you want to match.

  193. Question 193Routing Policy and Firewall Filters

    An import statement lists three policies in the order P1, P2, and P3. A route matches a term in P1 whose action is then accept. What is the result?

    1. The route is still evaluated against P2 and P3.
    2. The accept action applies only to traffic destined for the router itself.
    3. Policy evaluation stops and the route is accepted. Correct answer.
    4. Evaluation stops and the route is rejected.

    Explanation

    The accept action is terminating for the whole chain: once a term accepts a route, no further policies in the chain are examined. Only the next policy action hands the route on to the following policy.

  194. Question 194Routing Policy and Firewall Filters

    You apply an import policy to a BGP peer that sets then local-preference 250 on received routes. What is the effect of this action?

    1. They become preferred over otherwise equal routes during best-path selection. Correct answer.
    2. They are rejected, because local preference can be set only in export policy.
    3. The routes are advertised to external peers with a preference of 250.
    4. The peer is asked to prefer these routes when it chooses its outbound path.

    Explanation

    Local preference is used inside an autonomous system to rank routes during BGP best-path selection, and a higher value is preferred. Setting it on import makes the matching routes win over otherwise equal candidates on the local router.

  195. Question 195Routing Policy and Firewall Filters

    Which operational-mode command displays the per-term packet counts for an applied firewall filter?

    1. show interfaces filters
    2. show configuration firewall
    3. show firewall Correct answer.
    4. show route filter

    Explanation

    The show firewall command reports the counters of each term in the configured filters, so you can see how much traffic each term matched. Configuration output shows the term definitions but not the running counts.

  196. Question 196Routing Policy and Firewall Filters

    A policy references an as-path group whose only regular expression is .* 65001$. Which routes does the term match?

    1. Routes whose AS path consists of the single AS number 65001.
    2. Routes whose AS path begins with 65001 as the leftmost AS number.
    3. Routes whose AS path contains 65001 at any position in the sequence.
    4. Routes whose AS path ends in 65001, so AS 65001 originated them. Correct answer.

    Explanation

    In a Junos AS path regular expression the dollar sign anchors the match to the end of the path, and the leading .* allows any preceding AS numbers. A path ending in 65001 means the route was originated inside AS 65001.

  197. Question 197Routing Policy and Firewall Filters

    A single firewall filter with counted terms is applied to several interfaces, and you want each interface to report its own counter values. Which filter statement produces this behavior?

    1. then count-per-interface
    2. interface-specific Correct answer.
    3. filter-specific
    4. per-interface

    Explanation

    The interface-specific statement makes the filter's counters independent for each interface to which the filter is applied, so statistics are reported per interface. Without it, the counters are not maintained separately for each interface.

  198. Question 198Routing Policy and Firewall Filters

    A filter term contains the match from source-address 10.1.1.0/24 except. Which packets match this term?

    1. Only packets whose source address is exactly 10.1.1.0.
    2. Every packet whose source address is not inside 10.1.1.0/24. Correct answer.
    3. Only packets whose source address falls inside 10.1.1.0/24.
    4. No packets, because except cannot be used with source-address.

    Explanation

    The except keyword negates a match value, so the term matches every source address outside the specified prefix. Without except, the same condition would match only addresses inside 10.1.1.0/24.

JNCIA-Junos flashcards

32 cards. Read the term and the definition here. The deck at the top of this page is optional.

OSI model network layer
Layer 3 of the OSI model handles logical addressing and path selection between networks; IP addressing and routing operate here, while Ethernet switching and MAC addresses belong to layer 2.
Private IPv4 address ranges
Three blocks reserved for internal use: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. They are not routable on the public internet and require NAT for external connectivity.
TCP three-way handshake
A TCP session is established with three messages: the client sends SYN, the server replies SYN-ACK, and the client sends ACK. Data transfer begins only after this exchange completes.
Address Resolution Protocol
ARP resolves a known IPv4 address to the corresponding MAC address inside a broadcast domain by broadcasting a request and caching the reply for later use.
Usable hosts in a /24
A /24 mask leaves 256 addresses; the first is the network address and the last is the broadcast, leaving 254 usable host addresses. Usable hosts equal 2^h minus 2.
Control plane versus forwarding plane
The control plane runs on the Routing Engine and builds routing and forwarding tables; the forwarding plane runs on the Packet Forwarding Engine and forwards transit packets in hardware without involving the Routing Engine.
Candidate configuration
A working copy of the Junos configuration that is edited in configuration mode. Changes are inactive until a commit copies them into the active configuration.
commit confirmed
A commit option that activates the configuration but automatically rolls back after the specified number of minutes unless a confirming commit is issued, protecting remote sessions from lockout.
Junos OS architecture
Junos OS is built on a FreeBSD kernel and splits functions into separate daemons such as mgd, rpd and chassisd, keeping routing processes apart from the hardware forwarding plane.
Operational mode prompt
Operational mode shows a '>' at the end of the prompt and is used for show, ping and request commands; configuration mode shows '#'. Switch with configure and exit configuration-mode.
CLI pipe match filter
Appending '| match pattern' to a CLI command displays only the output lines containing the pattern; '| except pattern' displays only the lines that do not match.
CLI pipe count
Appending '| count' to a CLI command displays only the number of output lines instead of the lines themselves, useful for sizing route or interface tables.
start shell
The 'start shell' command drops from the Junos CLI into the underlying FreeBSD shell on the Routing Engine; typing exit returns to the CLI.
J-Web interface
A browser-based graphical interface for Junos devices that offers configuration wizards, monitoring dashboards and a CLI tool; it is an alternative to the text-based command line.
commit check
Validates the candidate configuration for syntax and semantic errors and reports any problems, without activating it or replacing the current running configuration.
rollback command
rollback N loads a previously committed configuration into the candidate; rollback 1 loads the prior commit and rollback 0 discards uncommitted edits by restoring the active configuration.
show | compare
In configuration mode, 'show | compare' lists the differences between the candidate configuration and the currently active committed configuration, marking added and removed lines.
Configuration groups
Named, reusable blocks of configuration statements that are inherited through apply-groups, so settings common to many interfaces or protocols are defined once and referenced elsewhere.
show interfaces terse
Displays a single summary line per interface showing administrative and link state, addresses and protocol family, making it the fastest way to check interface status.
monitor interface
Streams live per-interface traffic counters and error statistics that refresh continuously until Ctrl-C is pressed, useful for watching utilization in real time.
request system snapshot
Copies the currently running root and configuration partitions to the alternate partitions, providing a rollback backup of the Junos software and configuration on the device.
show log messages
Displays the contents of /var/log/messages, which records system events, interface transitions, protocol messages and errors, with the most recent entries at the end.
Longest prefix match
When several routes match the same destination, the router selects and installs the route whose prefix length is longest, meaning the most specific mask wins.
Junos route preference values
Junos prefers lower values: connected routes are 0, static 5, OSPF internal 10, RIP 100, OSPF external 150 and BGP 170; preference breaks ties before metrics are compared.
inet.0 routing table
The default Junos routing table that holds IPv4 unicast routes learned from protocols, static routes and directly connected networks, and feeds the forwarding table.
Static route configuration
The statement set routing-options static route 10.1.0.0/16 next-hop 192.168.1.1 adds a static route; the next hop must be reachable or qualify-next-hop is required.
Autonomous system number
A number identifying a BGP routing domain. External BGP peers belong to different autonomous systems, while internal BGP peers share the same one.
Routing policy default action
If a route matches no term in a Junos routing policy, it is accepted by default, so explicit reject terms are required to block unmatched traffic.
Routing policy term actions
A policy term matches routes with from conditions and acts with then actions: accept, reject, next term, next policy, or attribute changes such as metric and community.
Firewall filter implicit action
A firewall filter ends with an implicit discard, so any packet that matches none of its terms is dropped; a final accept term is needed to permit remaining traffic.
Firewall filter direction
Firewall filters are stateless: they are attached as input or output on an interface and each direction must be filtered separately, since no session state is tracked.
Applying a firewall filter
The command set interfaces ge-0/0/0 unit 0 family inet filter input FILTER-NAME attaches an existing stateless firewall filter to the inbound direction of that interface.

JNCIA-Junos study guide

Networking Fundamentals

Layers you must be able to place

Junos questions lean on general networking. Know the seven OSI layers and what lives at each: Ethernet frames and MAC addresses at Layer 2, IP addressing, ARP and ICMP at Layer 3, TCP/UDP ports at Layer 4. A switch forwards frames by MAC address inside a broadcast domain; a router forwards packets by IP address between subnets and decrements TTL at each hop.

TCP, UDP and ports

TCP is connection oriented: a three-way handshake (SYN, SYN-ACK, ACK), retransmission, and windowing. UDP is connectionless and carries DNS queries, DHCP, TFTP, SNMP traps and most voice/video. Ports worth memorizing: SSH 22, Telnet 23, DNS 53 (both TCP and UDP), DHCP 67/68, TFTP 69, HTTP 80, NTP 123, SNMP 161/162, HTTPS 443, BGP 179, syslog 514.

Addressing and subnetting

Private ranges are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16; 127.0.0.0/8 is loopback; 169.254.0.0/16 is link-local. A host uses ARP to learn the MAC of its default gateway and DNS to resolve names. A /n prefix holds 2^(32-n) addresses and 2^(32-n) - 2 usable host addresses.

Traps

Questions blur broadcast and collision domains (each switch port is its own collision domain), swap the roles of ARP and DNS, or offer a subnet mask one bit off. Watch for "how many usable hosts" versus "how many addresses."

Worked example

172.16.10.0/26: mask 255.255.255.192, block size 256 - 192 = 64, so the subnets are .0, .64, .128 and .192, each with 62 usable hosts. The broadcast address of the first subnet is 172.16.10.63. Rule of thumb: magic number = 256 minus the interesting mask octet.

Junos OS Fundamentals

Architecture: two planes

The single most important idea is that Junos OS, built on FreeBSD, separates the control plane from the forwarding plane. The Routing Engine (RE) runs routing protocols, maintains the routing table (RIB) and runs management processes. The Packet Forwarding Engine (PFE) forwards packets in hardware using the forwarding table (FIB). rpd builds the RIB, hands selected next hops to the kernel, and the kernel programs the PFE.

The daemons

Names you should recognize: mgd (management and CLI), rpd (routing protocols), chassisd (chassis), dcd (interface/daemon control), snmpd, mib2d, alarmd, and the pfed/sfid family handling forwarding. show chassis routing-engine shows RE state, memory, CPU and temperature.

One transactional configuration model

All configuration lives in a candidate configuration. You edit it, then commit; a successful commit validates syntax, activates the configuration, and archives the previous version so rollback is possible. Nothing takes effect until the commit succeeds, whether the change came from the CLI, J-Web, NETCONF or a script. This is the idea most exam questions circle back to.

Platforms and high availability

Junos runs on branch SRX, MX, EX/QFX switching and virtual vSRX/vMX images with a largely identical CLI, but feature support varies by platform and release. Devices with dual REs support Graceful Routing Engine Switchover and nonstop routing so forwarding survives a failover.

Traps

Confusing RE and PFE roles (OSPF never runs on the PFE); assuming a commit is needed for show commands; assuming every feature exists on every platform.

Rule of thumb

"Where does the routing protocol run?" Routing Engine. "Where is the packet actually dropped or forwarded?" Packet Forwarding Engine.

User Interfaces

Two CLI modes

Operational mode (prompt ends in >) is for monitoring: show, monitor, request, clear, ping, traceroute. Configuration mode (prompt ends in #) is entered with configure and edits the candidate configuration. From configuration mode, run executes a single operational command without leaving the mode; exit moves up one hierarchy level; top returns to the top of the hierarchy; up goes up one level. exit configuration-mode returns you to operational mode, and with uncommitted changes it warns and asks you to commit or discard.

Help and pipe filters

A question mark lists possible completions, Tab completes, and a space also completes. Pipe filters are heavily tested: | match, | except, | find, | count, | no-more, | display set, | display xml or json, | compare, | last. show configuration | display set prints the configuration as set commands, which is the quickest way to read a large config.

Other interfaces

J-Web (browser), NETCONF over SSH (port 830) and the Junos XML API for automation, plus console and AUX ports for out-of-band access. SSH is enabled by default; Telnet and J-Web are security decisions controlled under set system services.

Login classes

set system login user NAME class CLASS. Predefined classes are super-user, operator, read-only and unauthorized. root-authentication must be configured, and a commit fails without it, a classic exam trap. Local users, RADIUS and TACACS+ authentication are supported.

Traps

  • Thinking exit in configuration mode silently discards edits; it prompts instead.
  • Confusing | match (filters lines) with | find (jumps to the first match and keeps printing).
  • Forgetting that changes made through NETCONF or J-Web still require a commit.

Rule of thumb

If the prompt ends in #, you are in configuration mode: prefix an operational command with run.

Configuration Basics

Hierarchy and editing

Junos configuration is a tree. set, delete and replace: statements edit it. Navigate with edit system services, up, top, and show at any level. delete with no argument at a level removes the entire hierarchy beneath it - a common trap. copy, rename and insert duplicate or reorder statements; order matters for policy terms and firewall filter terms.

Loading and saving

save /var/tmp/base.conf writes the candidate to a file. load merge is the default and merges with the candidate; load replace honours replace: tags in the file; load override replaces the whole candidate; load set reads a file of set commands. load factory-default restores defaults. show | compare displays the candidate against the active configuration so you can review the diff before committing.

Committing

commit check validates syntax without activating. commit applies. commit comment adds a note to the archive. commit confirmed 5 activates the change but rolls back automatically in 5 minutes (10 if no value is given) unless you commit again - the standard safety net for remote changes. commit at "" schedules a commit.

Rollback

Every commit is archived. show system commit lists them. rollback 0 shows the active configuration, rollback 1 the previous commit, and up to rollback 49 are available. rollback with no number equals rollback 1 - a favourite trap.

Groups and annotations

Configuration groups apply shared settings through apply-groups, inherited top-down with child statements overriding the group. Annotations are comments and are never processed by Junos.

Traps

rollback 0 versus rollback 1; assuming commit confirmed is permanent without a follow-up commit; assuming load replace equals load override.

Rule of thumb

After any edit: show | compare, then commit check, then commit - or commit confirmed when you are remote.

Operational Monitoring and Maintenance

Watching the device

Core operational commands: show version, show chassis alarms, show chassis routing-engine, show system uptime, show interfaces terse (one line per interface with admin and link state), show interfaces extensive (errors, drops, queue counters), show arp, show route and show route forwarding-table (the FIB as the PFE sees it), show log messages, show log chassisd. Pipe filters sharpen output: show interfaces | match up, | except, | count, | no-more.

Real-time tools

monitor interface ge-0/0/0 gives a refreshing rate display. monitor traffic interface ge-0/0/0 gives a tcpdump-style capture (add no-resolve to skip DNS lookups) and you must name the interface. monitor start messages tails the log live. ping and traceroute are available as source-address-aware operational commands, and clear interfaces statistics resets counters.

Maintenance tasks

request system snapshot copies / and /config to /altroot and /altconfig, producing a recovery image. request system storage cleanup frees space; show system storage reports usage. request system reboot and request system power-off do the obvious. request system zeroize wipes configuration and files and returns the device to factory state - destructive. request system configuration rescue save stores a known-good rescue config that you can restore with rollback rescue. file list, file copy and file show manage local files, and request support information collects troubleshooting output.

Traps

  • Confusing snapshot (non-destructive backup) with zeroize (destructive reset).
  • Assuming interface counters are cumulative forever; they reset on clear or reboot.
  • Thinking monitor traffic captures all interfaces by default.

Rule of thumb

When something is broken, work outward: show chassis alarms, show interfaces terse, show log messages, then drill into the specific subsystem.

Routing Fundamentals

RIB and FIB

The Routing Engine computes routes and rpd builds the routing table. For each prefix only the best route is active and installed into the forwarding table used by the PFE. In show route output, * marks an active route and > a selected route. A route that cannot be installed is shown as hidden with a reason - see show route hidden and show route detail.

Preference (Junos's answer to administrative distance)

Lower preference wins. Defaults: directly connected 0, static 5, OSPF internal 10, IS-IS level 1 internal 15, IS-IS level 2 internal 18, RIP 100, OSPF AS external 150, IS-IS external 160/165, BGP 170. Preference is compared only between routes for the same prefix, and it is editable.

Selection order

  1. Longest prefix match; 2) lowest preference; 3) lowest metric within the same protocol; 4) tie-breakers such as router ID, peer address or configuration order.

Static routes

set routing-options static route 0.0.0.0/0 next-hop 10.1.1.1. The next hop must be resolvable through a direct or known route, or the static route never becomes active. Options include discard (silently drop matching traffic), reject (return ICMP unreachable), no-readvertise, and qualified-next-hop for per-next-hop preference.

Traps

  • Believing a higher preference is better; it is worse.
  • Believing preference beats prefix length; longest match is always evaluated first.
  • Configuring an unreachable next hop and expecting the route to install.

Worked example

A static default 0.0.0.0/0 via the ISP (preference 5) competes with an OSPF default (preference 10); the static route wins. But for destination 10.1.1.1, an OSPF-learned 10.0.0.0/8 still wins over both defaults because it is the longest match.

Routing Policy and Firewall Filters

Policy structure

policy-statement NAME { term NAME { from { ... } then { ... } } }. Match conditions in from include protocol, prefix-list, route-filter (with exact, longer, orlonger, upto /n, prefix-length-range), community, as-path, neighbor and interface. Actions in then include accept, reject, next term, next policy, metric, preference, local-preference, community add or delete, next-hop and as-path prepend. Terms are evaluated top to bottom; the first accept or reject ends evaluation; a term with no action falls through to the next term; if no term matches, the route is rejected by default.

Where policies apply

Import and export per protocol: set protocols bgp group NAME import POLICY and export POLICY; set protocols ospf export POLICY. A list of policies is evaluated in order. Export controls what you advertise; import controls what enters the RIB and is the usual place to set local-preference or filter prefixes received.

Firewall filters

Family specific (inet, inet6, mpls, ethernet-switching), stateless and ordered. term 10 from { source-address; destination-address; protocol; destination-port; tcp-flags; source-prefix-list } then { accept | discard | reject | count NAME | log | policer NAME | next term }. Packets matching no term are discarded by the filter's implicit default. Apply with set interfaces ge-0/0/0 unit 0 family inet filter input FILTER. A loopback (lo0) filter protects the Routing Engine.

Traps

  • Forgetting the implicit discard at the end of a firewall filter.
  • Treating filters as stateful; they are not, so return traffic needs its own term.
  • reject sends ICMP unreachable, discard drops silently.
  • Writing a policy term with from but no then accept and expecting the route to be accepted.

Rule of thumb

Policy governs routes in the control plane; filters govern packets in the data plane.

JNCIA-Junos cheat sheet

Quick reference

Networking Fundamentals

  • OSI layers bottom to top: 1 Physical, 2 Data Link, 3 Network, 4 Transport, 5 Session, 6 Presentation, 7 Application.

  • IPv4 addresses are 32 bits written as four dotted-decimal octets; IPv6 addresses are 128 bits written in hexadecimal.

  • Private IPv4 space: 10.0.0.0/8, 172.16.0.0/12 (172.16-172.31), 192.168.0.0/16; these ranges are not routable on the public internet.

  • Usable hosts = 2^host bits minus 2. A /24 yields 254 hosts; a /30 yields 2, the usual choice for point-to-point links.

  • Subnet masks: /24 = 255.255.255.0, /25 = 255.255.255.128, /26 = 255.255.255.192, /27 = 255.255.255.224.

  • A MAC address is 48 bits written as 12 hexadecimal digits; the first 24 bits are the OUI identifying the vendor.

  • ARP resolves a known IPv4 address to a MAC address inside a broadcast domain; IPv6 uses Neighbor Discovery (NDP) for the same job.

  • TCP is connection-oriented (SYN, SYN-ACK, ACK) with sequencing and retransmission; UDP is connectionless with no delivery guarantee.

  • Well-known ports 0-1023 include TCP 22 SSH, 23 Telnet, 25 SMTP, 80 HTTP, 443 HTTPS and UDP 53 DNS, 161 SNMP.

Quick reference

Junos OS Fundamentals

  • Junos separates the control plane (Routing Engine builds the routing table) from the forwarding plane (Packet Forwarding Engine forwards transit traffic).

  • Transit traffic is forwarded in hardware by the PFE and never traverses the Routing Engine, so RE CPU load does not limit forwarding throughput.

  • Junos OS is FreeBSD-based and modular: mgd (management), rpd (routing protocols), chassisd (chassis), dcd (interfaces) and alarmd run as separate daemons.

  • Top-level configuration hierarchy: system, chassis, interfaces, protocols, policy-options, firewall, routing-options, security.

  • Configuration edits go to the candidate configuration; the commit command validates it and copies it into the active configuration.

  • If a commit fails, the previously active configuration stays in effect and traffic is unaffected.

  • Configuration files on the device: /config/juniper.conf.gz (active) and juniper.conf.1.gz through juniper.conf.3.gz (rollback versions), plus rescue.conf.gz.

  • Junos supports commit scripts, op scripts and event scripts for automation, and commit confirmed for safe remote changes.

  • Two Routing Engines operate as master and backup; Graceful Routing Engine Switchover (GRES) preserves forwarding state across failover.

Quick reference

User Interfaces

  • The operational mode prompt ends with '>'; the configuration mode prompt ends with '#'.

  • configure enters configuration mode; exit configuration-mode or commit and-quit returns to operational mode.

  • Hierarchy navigation uses edit , top, up and exit; '?' lists every valid completion at the current level.

  • Output filters: | match pattern, | except pattern, | find pattern, | count, | last , | no-more.

  • help topic and help reference display CLI usage and syntax information.

  • Screen controls: set cli screen-length 0 disables paging, set cli timestamp prefixes output with date and time, set cli screen-width adjusts width.

  • start shell enters the underlying FreeBSD shell; exit returns to the Junos CLI. file list, file show and file copy manage files on the device.

  • configure exclusive locks the candidate for one user only; configure private gives each user an independent candidate configuration.

Quick reference

Configuration Basics

  • set adds or modifies a configuration statement; delete removes it; show displays the candidate configuration.

  • commit check validates the candidate for syntax and semantic errors without activating it; commit applies it.

  • commit and-quit applies the candidate and returns to operational mode in a single step.

  • commit confirmed activates the configuration and automatically rolls back unless a confirming commit is issued within the timeout.

  • rollback 1 loads the previous committed configuration into the candidate; rollback 0 discards uncommitted edits; rollback ? lists saved versions.

  • 'show | compare' displays candidate-versus-active differences; 'show configuration | display set' renders the configuration as set commands.

  • Configuration groups: define statements under set groups ..., then inherit them with set apply-groups .

  • load merge adds to the candidate, load replace replaces matching hierarchy only, and load override replaces the entire configuration.

  • annotate "text" attaches a comment to a configuration statement and is preserved in the saved configuration.

Quick reference

Operational Monitoring and Maintenance

  • show interfaces terse gives one line per interface with admin/link state and addresses; show interfaces extensive gives full detail.

  • monitor interface displays live traffic and error counters refreshed continuously until Ctrl-C is pressed.

  • show route, show route summary, show route detail and show route forwarding-table inspect RIB and FIB contents.

  • show log messages reads /var/log/messages; show log reads other files; append | last to see the newest entries.

  • show version, show system uptime, show chassis routing-engine, show chassis alarms and show system alarms report device health.

  • request system reboot restarts the device and request system power-off halts it; both accept 'in ' for scheduling.

  • request system snapshot copies the running root and /config partitions to the alternate partitions as a backup.

  • monitor traffic interface captures packets tcpdump-style; ping and traceroute test reachability sourced from the Routing Engine.

  • request support information collects a diagnostic bundle of logs, configuration and state for technical support.

Quick reference

Routing Fundamentals

  • Junos routing table names: inet.0 (IPv4 unicast), inet.3 (MPLS/IPv4 next hops), inet6.0 (IPv6 unicast), iso.0 (IS-IS).

  • Route selection order: longest prefix match, then lowest preference, then lowest metric, then configured tie-breakers.

  • Junos preference values (lower wins): connected 0, static 5, OSPF internal 10, RIP 100, OSPF external 150, BGP 170.

  • Only active routes are installed into the forwarding table (FIB) that the Packet Forwarding Engine uses to forward packets.

  • Static route example: set routing-options static route 10.1.0.0/16 next-hop 192.168.1.1; the next hop must be reachable or qualify-next-hop is required.

  • IGPs (OSPF, IS-IS, RIP) exchange routes within one administrative domain; EGPs (BGP) exchange routes between autonomous systems.

  • OSPF is link-state with areas and a backbone area 0; RIP is distance-vector with a 15-hop limit.

  • eBGP peers use different AS numbers and normally need a directly connected or multihop session; iBGP peers share the same AS.

  • show route protocol ospf, show ospf neighbor and show bgp summary verify protocol operation and adjacency state.

Quick reference

Routing Policy and Firewall Filters

  • A policy-statement is an ordered list of terms; each term has from (match) conditions and then (action) clauses.

  • Policy actions: accept, reject, next term, next policy, plus attribute modifications such as metric, local-preference and community.

  • If no term matches, a routing policy accepts the route by default; an explicit reject term is required to block unmatched routes.

  • Policies are attached as import or export, e.g. set protocols bgp group G export POLICY or set routing-options forwarding-table export POLICY.

  • A firewall filter is an ordered list of terms; a packet takes the action of the first term whose from conditions it matches.

  • Filter actions: accept, discard (silent drop), reject (drop plus ICMP unreachable or TCP reset), count, log, policer, next term.

  • A firewall filter ends with an implicit discard, so an explicit final accept term is required to pass remaining traffic.

  • Firewall filters are stateless and applied per interface and per direction under family inet filter input|output.

  • Protect the Routing Engine by applying a filter to the loopback: set interfaces lo0 unit 0 family inet filter input F.

JNCIA-Junos key terms

IP address

A numeric label assigned to a network interface so devices can send and receive packets on an IP network. It includes a network portion and a host portion.

Related: Subnet mask, Default gateway
Subnet mask

A 32-bit value used with an IPv4 address to show which bits identify the network and which bits identify the host. It helps devices decide local versus remote destinations.

Related: IP address, CIDR notation
CIDR notation

A compact way to write an IP address and its prefix length, such as 10.0.0.0/24. The number after the slash gives the count of leading network bits.

Related: Subnet mask, IP address
Default gateway

The IP address of a router on the local subnet that a host sends packets to when the destination is outside its own subnet. It provides the first hop off the local network.

Related: IP address, Routing table
ARP

Address Resolution Protocol. A Layer 2 protocol used on IPv4 networks to map a known IP address to the corresponding MAC address on the same broadcast domain.

Related: IP address
VLAN

A logical Layer 2 broadcast domain created within a switched network. Devices in different VLANs need a router or Layer 3 switch to communicate with each other.

Related: ARP
MTU

Maximum Transmission Unit. The largest payload size, in bytes, that an interface can carry in one frame or packet. Mismatched MTU values can cause fragmentation or dropped traffic.

Related: IP address
Junos OS

The network operating system that runs on Juniper devices. It separates control-plane functions, such as routing and management, from data-plane packet forwarding.

Related: Routing Engine, Packet Forwarding Engine
Routing Engine

The control-plane component of a Juniper device. It runs routing protocols, maintains routing tables, handles management access, and programs the forwarding table used by the Packet Forwarding Engine.

Related: Packet Forwarding Engine, Control plane
Packet Forwarding Engine

The data-plane component that forwards packets through a Juniper device. It uses the forwarding table supplied by the Routing Engine and performs high-speed lookups and filtering.

Related: Routing Engine, Forwarding table
Control plane

The part of a network device that runs routing protocols, builds routing tables, and manages the device. It does not carry the main user data traffic.

Related: Data plane, Routing Engine
Data plane

The part of a network device that actually forwards user packets from ingress to egress. It relies on forwarding information built by the control plane.

Related: Control plane, Packet Forwarding Engine
CLI

Command-line interface. The text-based Junos interface used for operational commands and configuration edits. It has separate operational mode and configuration mode.

Related: Operational mode, Configuration mode
Operational mode

The Junos CLI mode entered after login, used to run monitoring and troubleshooting commands. The prompt ends with a greater-than sign.

Related: CLI, Configuration mode
Configuration mode

The Junos CLI mode entered with the configure command, used to view and change the candidate configuration. The prompt ends with a hash sign.

Related: CLI, Operational mode, Candidate configuration
NETCONF

A network management protocol that uses XML over SSH to configure and monitor Junos devices. It is commonly used by automation and orchestration systems.

Related: CLI
Candidate configuration

A working copy of the Junos configuration that an administrator edits. Changes remain inactive until a commit command copies them into the active configuration.

Related: Commit, Rollback
Commit

The Junos command that validates the candidate configuration and, if valid, makes it the active configuration used by the device. It can also save a rollback copy.

Related: Candidate configuration, Rollback
Rollback

A Junos feature that restores a previously committed configuration. The rollback 0 command returns to the most recent active configuration, while higher numbers select older saved configurations.

Related: Commit, Candidate configuration
Configuration groups

Reusable configuration statements in Junos that can be applied to multiple parts of the configuration. They reduce duplication and help enforce consistent settings across the device.

Related: Candidate configuration, Commit
commit confirmed

A Junos commit option that activates changes temporarily and automatically rolls them back unless confirmed within a set time. It helps prevent losing management access after a bad change.

Related: Commit, Rollback
show interfaces

A Junos operational command that displays interface status, speed, counters, errors, and configuration details. It is commonly used to verify link health and traffic statistics.

Related: show route, monitor traffic
show route

A Junos operational command that displays entries in the routing table, including destinations, next hops, preferences, and protocols. It helps verify routing behavior and route selection.

Related: Routing table, Forwarding table
monitor traffic

A Junos operational command that captures and displays packet headers on an interface. It is useful for quick troubleshooting without performing a full packet capture.

Related: show interfaces, traceoptions
traceoptions

A Junos configuration feature that records detailed protocol or process activity to log files. It helps troubleshoot routing protocols and system behavior.

Related: monitor traffic
ping

A network utility that sends ICMP echo requests to a destination and reports replies and round-trip times. It tests basic IP reachability.

Related: show route
Routing table

A collection of known destinations and the next hops or interfaces used to reach them. Junos keeps separate tables for different protocols and uses preference to choose active routes.

Related: Forwarding table, Route preference
Forwarding table

The table the Packet Forwarding Engine uses to make fast packet-forwarding decisions. It contains the active routes selected from the routing table.

Related: Routing table, Packet Forwarding Engine
Static route

A manually configured route that tells the device where to send traffic for a destination. It does not change automatically when the network topology changes.

Related: Routing table, Next hop
OSPF

Open Shortest Path First. An interior gateway protocol that uses link-state advertisements and shortest-path calculations to route within a single autonomous system.

Related: Routing table, Route preference
BGP

Border Gateway Protocol. An exterior gateway protocol used to exchange routing information between autonomous systems and to apply path-selection policies.

Related: Route preference, Policy statement
Route preference

A Junos value that ranks routes from different sources when they describe the same destination. Lower preference values are preferred, and the winning route becomes active.

Related: Routing table, OSPF
Next hop

The IP address or interface a router uses to send a packet toward a destination. The forwarding table stores this information for each active route.

Related: Routing table, Forwarding table
Longest match

The routing rule that selects the most specific route for a destination, meaning the route with the longest matching prefix length. It is used when multiple routes match.

Related: Routing table, Next hop
Policy statement

A Junos routing policy construct made of terms that match routes and apply actions. Policies can accept, reject, or modify routes before they are installed or advertised.

Related: Term, Match condition
Term

A component of a Junos policy statement or firewall filter that contains match conditions and actions. Terms are evaluated in order until a match is found.

Related: Policy statement, Match condition, Firewall filter
Match condition

A rule inside a policy term or firewall filter that traffic or routes must satisfy. Examples include prefix lists, protocol, source address, and destination address.

Related: Term, Policy statement, Firewall filter
Firewall filter

A Junos stateless packet filter applied to an interface or other attachment point. It evaluates packets against terms and can accept, discard, or count matching traffic.

Related: Term, Match condition, Policer
Prefix list

A named list of IP prefixes used in routing policy match conditions. It simplifies matching multiple networks and can check prefix length ranges.

Related: Policy statement, Match condition
Policer

A Junos traffic-control component that limits bandwidth or burst size for matching traffic. It can mark, discard, or color packets that exceed configured rates.

Related: Firewall filter, Term

JNCIA-Junos study plan

8 weeks · About 7 hours per week

Week 1

Networking Fundamentals & Junos OS Fundamentals

  • Diagram a packet's path from client to server across a switched and routed topology, labeling the decision made at each OSI layer

  • Differentiate collision domains, broadcast domains, and subnet boundaries, and predict how adding a switch or router changes each

  • Contrast the Junos control plane and forwarding plane, naming which processes and tables live in each

  • Distinguish the roles of the Routing Engine and Packet Forwarding Engine when a route changes

  • Navigate the CLI without notes: operational vs configuration mode, command completion, context-sensitive help, and pipe filters

Your checkpoint

A closed-book 20-question self-quiz on domains 1-2 scored at 80% or higher, with every missed item rewritten as a correct one-line statement

Week 2

User Interfaces & Configuration Basics

  • Build a complete configuration from factory default covering hostname, interfaces, static routes, user accounts, NTP, and syslog

  • Execute the candidate-config workflow end to end: edit, show | compare, commit check, commit confirmed, and commit

  • Recover deliberately from an uncommitted and a committed mistake using rollback 0, rollback 1, and compare

  • Apply configuration groups, interface ranges, and annotations, then verify how inherited values appear in the active config

  • Load, save, and merge configuration files, and explain the difference between load merge, load replace, and load override

Your checkpoint

A saved device configuration plus a commit log of five changes, each with its show | compare output and a note on why the change was accepted or rolled back

Week 3

Routing Fundamentals

  • Rank candidate routes using longest-match, then preference, then metric, and justify the active route chosen for six given prefixes

  • Configure and verify static routes including qualified-next-hop, discard, reject, and a default route

  • Read show route output field by field and explain what each column and flag means

  • Distinguish interior from exterior gateway protocols and describe the operational role of OSPF areas and BGP peer types at a conceptual level

  • Differentiate a routing table from a forwarding table and describe when each is populated

Your checkpoint

A route-selection worksheet covering six candidate routes with the winning route and written justification for each, plus captured output from a working static-routing lab

Week 4

Routing Policy and Firewall Filters

  • Trace the order of policy evaluation for import and export, and state which direction each protocol applies policies in

  • Write match conditions and actions with correct term ordering, correct default action, and awareness of the implicit deny

  • Construct a policy that redistributes static routes into OSPF with a tag and a modified metric

  • Predict the outcome of overlapping terms on five sample routes before applying them

  • Verify policy behavior operationally using show commands and route detail output

Your checkpoint

A written trace of a four-term routing policy evaluated against five sample routes, correct on all five, with the working configuration and verification output attached

Week 5

Routing Policy and Firewall Filters

  • Build a stateless firewall filter whose terms match on source, destination, protocol, and port, and apply it to both an interface and the loopback

  • Explain and demonstrate the difference between a firewall filter and a policer, then apply a policer to a term

  • Predict counter increments for a three-term filter before sending traffic, then compare prediction to observed counters

  • Distinguish stateless filter behavior from stateful zone-based security concepts and identify which the Junos filter does not do

  • Place filters correctly for transit, local, and loopback traffic and explain why the loopback filter matters

Your checkpoint

A filter and policer configuration deployed on a lab device or emulator, with a table of predicted versus actual counter values for each term and a one-paragraph explanation of any mismatch

Week 6

Operational Monitoring and Maintenance

  • Monitor device health using interface statistics, chassis alarms, log messages, and traceoptions, and interpret each output

  • Perform recovery tasks: password recovery, rescue configuration, configuration snapshot, and return to factory default

  • Use file system commands to list, copy, rename, and delete files, and verify storage with the relevant show commands

  • Interpret syslog severity levels and message structure and map a message to its likely cause

  • Describe the software upgrade workflow and how to verify success afterward

Your checkpoint

A ten-entry troubleshooting runbook mapping a specific symptom to the exact command that diagnoses it and the expected healthy output, validated against a live device or emulator

Week 7

Routing Fundamentals & Routing Policy and Firewall Filters

  • Re-drill every item on the missed-question list from weeks 1-6 until each is answered correctly twice in a row

  • Build one integrated lab combining OSPF, a static route, an export policy, and an interface filter

  • Diagnose why traffic is dropped by determining whether the cause is route selection, policy rejection, or filter discard

  • Complete 40 timed practice questions on routing fundamentals and policy, then categorize every error by root cause

  • Explain aloud, without notes, how a policy and a filter interact on the same traffic flow

Your checkpoint

A complete integrated lab configuration plus a one-page decision flowchart for isolating route-selection, policy, and filter failures

Week 8

Networking Fundamentals & Junos OS Fundamentals & User Interfaces & Configuration Basics & Operational Monitoring and Maintenance & Routing Fundamentals & Routing Policy and Firewall Filters

  • Take two full-length timed practice exams under exam conditions and score each by domain

  • Rank domains by practice-exam accuracy and spend remaining time only on the two weakest

  • Re-verify the highest-risk commands and configuration syntax from memory on a blank device

  • Consolidate all missed items across eight weeks into a single final review sheet and clear it

Your checkpoint

Two completed timed practice exams with per-domain score breakdowns, both at 85% or higher overall and no domain below 70%

Milestones

Week 2: Configure a device from factory default and commit a working baseline config in under 20 minutes without reference material, including one intentional rollback recovery

Week 4: Score 80% or higher on a 30-question self-test covering domains 1, 2, 3, 4, 6, and routing-policy fundamentals

Week 6: Score 80% or higher on a 25-question self-test covering firewall filters and operational monitoring, and demonstrate a password or rescue-configuration recovery unaided

Week 8: Complete two timed full-length practice exams at 85% or higher overall, with no individual domain below 70%

JNCIA-Junos exam day

Your checklist

Valid government-issued photo ID

Bring the original, unexpired ID you registered with. The name on the ID must match your exam registration exactly. In some countries a second form of ID may be required - confirm the specific ID policy with your test provider before exam day.

Appointment confirmation / registration number

Have your confirmation email or appointment number accessible (printed or on paper if electronic devices are prohibited in the testing room). This speeds up check-in if there is a records mismatch.

Confirm your exam code and current version

The JNCIA-Junos exam code and blueprint have changed over time (for example, JN0-102 → JN0-104 → JN0-105). Verify on Juniper's official certification page which code and version is currently live and make sure your study material matches that blueprint.

Review the official exam objectives one last time

Download the objectives list from the vendor's certification page and tick off each topic. Focus your last review on any objective you cannot explain out loud in one sentence.

Practice the Junos CLI patterns you will be asked about

Be able to walk through: operational vs. configuration mode, the edit hierarchy, set/delete vs. curly-brace stanzas, commit and commit check, rollback and compare, candidate config concepts, and common show commands for interfaces, routes, and logs.

Know the exam format and timing

Confirm the number of questions and time limit for the current exam version on the vendor page and in your appointment confirmation. Format details can change between versions, so treat any number you read online (including in study guides) as unverified.

Online-proctored candidates: complete a system test beforehand

Run the proctoring vendor's system check on the same computer, camera, microphone, and network you will use on exam day. Do this at least 24-72 hours ahead so you have time to fix issues.

Prepare a compliant test environment (online proctoring)

A private, quiet, well-lit room, a clear desk, no other people present, and no secondary monitors or unauthorized devices. Exact room and desk rules vary - confirm the proctoring vendor's current requirements.

Plan arrival time or log-in time

Arrive or log in earlier than your appointment start. The exact early-arrival window and late-arrival policy differ by provider and location - confirm with the provider.

Handle personal items before check-in

Phones, smartwatches, notes, and bags generally must be stored or put away. Ask the proctor or test-center staff where items go so you are not surprised mid-check-in.

Know how and when you receive your result

Understand whether you get a provisional result on screen, a printed score report, or an emailed result, and where your certification record will appear. Confirm the delivery method with the provider.

Rest, water, and a restroom stop before you start

Unscheduled breaks during a proctored exam are usually restricted or not allowed. Use the time before check-in so you are not distracted during the clock.

Plan the day

72 hours before

Re-confirm your appointment date, time, time zone, location or online-proctoring link, and exam code. Run the system test if testing online. Re-read the official objectives and write a one-page cheat sheet from memory of the topics you are weakest on - then put the sheet away and only use it to check yourself.

72 hours before

Do one timed practice run under exam conditions (no notes, no pausing). Use it to calibrate pace, not to learn new topics. Review only the explanations for questions you missed, then stop.

24 hours before

Light review only: CLI mode transitions, commit/rollback behavior, and the handful of show commands you keep confusing. Do not start a new topic or a new practice exam this late. Pack your ID, confirm your travel plan or quiet room, and check that your equipment and internet are working.

24 hours before

Set out what you need and get a full night's sleep. Sleep is worth more than an extra hour of cramming at this point.

Morning of

Eat something normal, hydrate, and stop studying. Skimming notes right before check-in tends to increase anxiety and rarely changes the outcome. Leave buffer time for travel or for log-in and ID verification.

Morning of

If testing online, close all other applications, silence notifications, and clear your desk before starting the check-in process.

During the test

Read the full question stem and every answer option before choosing. Watch for qualifiers like 'which two', 'except', 'best', and 'next' - these are where most avoidable misses happen.

During the test

Pace yourself: estimate your per-question budget from the total question count and time limit, and check your position at roughly the one-quarter and one-half marks. If a question stalls you, pick your best answer, mark it for review if the interface allows, and move on.

During the test

Answer every question. If unanswered questions are scored as incorrect, leaving blanks is strictly worse than a reasoned guess - confirm whether unanswered items are penalized under the provider's scoring rules.

Last few minutes

Use remaining time to revisit marked questions rather than re-reading everything. Do not change answers on a hunch unless you can point to a specific word in the question that changes the meaning.

Rules to check

  • Bring valid, unexpired, government-issued photo ID with a name that matches your registration. If your ID name differs from your registration (for example, a shortened first name), resolve it with the provider before exam day - do not assume it will be accepted.

  • Do not bring notes, books, phones, smartwatches, or other unauthorized materials into the testing area. If the provider supplies a whiteboard, marker, or scratch paper, use only that and return or erase it as instructed.

  • Breaks during a timed certification exam are generally not permitted, and leaving the camera view or the testing room during an online-proctored session may end your exam. Confirm the exact break policy with the provider rather than relying on general assumptions.

  • You will typically be asked to accept a non-disclosure agreement before the exam begins. Do not reproduce, discuss, or share exam questions afterward - this is a conduct violation regardless of outcome.

  • Online-proctored candidates must follow the proctor's instructions for room scan, ID display, and desk clearance. Unauthorized people, secondary screens, or devices in view are common grounds for session termination; confirm the current rules with the proctoring vendor.

  • If you arrive late or your connection fails, the reschedule/refund outcome depends on the provider's policy and how far in advance you act. Contact the provider immediately rather than waiting - confirm the specifics of your appointment's terms.

  • Results are generally reported as pass/fail, and the passing standard (cut score) is typically not published by the vendor. Do not build a study plan around a target percentage you found online; confirm scoring details with Juniper's certification program.

  • If something goes wrong during the exam - a crash, a lost connection, a distracting environment - note the time and raise it with the proctor or provider right away. Post-exam appeals are much harder to support without a contemporaneous report.

JNCIA-Junos FAQ

How many JNCIA-Junos practice questions are available?

The practice set has 198 JNCIA-Junos questions. Each one includes the choices, the correct answer, and an explanation, and the set is free to read with no signup.

How many JNCIA-Junos flashcards are available?

The flashcard set has 32 JNCIA-Junos cards. Each card shows the term and its definition.

Which topics does the JNCIA-Junos study material cover?

The JNCIA-Junos study material has 7 sections, including Networking Fundamentals, Junos OS Fundamentals, and User Interfaces.

What format facts does the catalog list for the JNCIA-Junos exam?

The catalog lists these item types: multiple choice for the JNCIA-Junos exam.