Chapter 6 of 6 · Juniper JNCIA-SEC JN0-232

Monitoring and Troubleshooting

Policy checks, match-policies, session table, NAT and log validation, and flow traceoptions.

  • 3topics
  • 18 minfast track

Topics in this chapter

Take them in order, or jump to the one you need.

  1. 1Troubleshooting Security PoliciesLearn to troubleshoot SRX security policies for JNCIA-SEC: policy order, shadowing, show security match-policies, hit counts and…6 min
  2. 2Validating BehaviorsLearn to validate SRX behavior for JNCIA-SEC: reading the session table, session filters, NAT rule hits, screens, zones, traffic…6 min
  3. 3Monitoring the Packet Flow ProcessLearn to monitor SRX packet flow for JNCIA-SEC: first path and fast path stages, flow traceoptions, packet filters…6 min

About this chapter

What this chapter covers

Monitoring and Troubleshooting covers how you find out what an SRX is really doing with traffic. It brings together everything from the earlier chapters: zones, policies, NAT and Content Security, seen through the operational commands that show them working or failing.

Questions are mostly single-answer and multiple-answer. Many show the output of a show command, such as a session entry or a policy listing, and ask why traffic is dropped or which command would find the cause.

It has 3 outline topics, and three pages cover them.

How the topics fit together

Troubleshooting follows the packet. First check whether a policy should permit the traffic, then confirm what the device actually did, and finally trace the packet through the flow when the first two steps do not explain it.

Problem reportedPolicy checkmatch policies and hit countsValidatesessions, NAT, logsTraceflow traceoptions
StepMain tools
Troubleshoot security policiesshow security policies, show security match-policies, hit counts, policy logging
Validate behaviorsshow security flow session, NAT rule hits, zone and route checks, traffic logs
Monitor the packet flowsecurity flow traceoptions with a packet filter, show log
Exam tip

Work from the cheapest command to the most expensive. show security match-policies costs nothing; flow traceoptions write a lot of data and should be the last step, filtered tightly and removed afterwards.

How to use these pages

Each topic page has the same shape, so you can skim for what you need.

  • What it is: the idea in plain words.
  • How it works: the mechanism, with commands and tables.
  • Common mistakes: the classic traps.
  • What to remember for the exam: the facts to memorize.
  • Check yourself: three questions to test your understanding.

For each sample output, find the line that answers the question before reading the explanation.

Ready for more practice?

The full Juniper JNCIA-SEC JN0-232 question bank has 658 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by Juniper. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.