Bitzu

JN0-106 ยท Firewall filters

Where and how is a firewall filter applied, and how do you check it?

Input and output filters on logical interfaces, filtering loopback traffic to protect the Routing Engine, and verifying with show firewall.

Key points

  • A filter is defined under [edit firewall family ...] and then applied to a logical interface (unit) as an input filter (packets entering) or output filter (packets leaving).
  • Applying it to the loopback interface lo0 filters traffic destined for the Routing Engine, which protects the control plane.
  • Verify with 'show firewall' (for example 'show firewall filter name') to see counters and policers.

Source: https://www.juniper.net/documentation/us/en/software/junos/routing-policy/topics/concept/firewall-filter-stateless-evaluate-packets.html

Practice questions

Single choice

Which interface should carry a filter that restricts traffic reaching the Routing Engine itself?

  1. fxp0 only
  2. lo0
  3. Any interface's output direction
  4. em0
Show answer

Answer: B. lo0

The loopback interface lo0 represents the router's own address; a filter there is checked for traffic destined for the Routing Engine. A transit interface filter only covers that interface.

Select all that apply

Which statements about applying filters are correct?

  1. A filter can be applied in the input or the output direction
  2. The same filter applied to two interfaces keeps separate counters for each
  3. Defining a filter under the firewall hierarchy automatically filters all traffic
  4. A filter on lo0 can protect the Routing Engine from unwanted traffic
  5. Filters are applied to the chassis, not to logical interfaces
Show answer

Answer: A. A filter can be applied in the input or the output direction, B. The same filter applied to two interfaces keeps separate counters for each, D. A filter on lo0 can protect the Routing Engine from unwanted traffic

Filters are applied per logical interface and direction, and one filter on several interfaces yields separate instances with separate counters. They are not applied to physical ports globally.

True or false

True or false: once a filter is defined under [edit firewall], it starts filtering traffic even if it is not applied to any interface.

Show answer

Answer: False

False. A defined but unapplied filter has no effect; it must be attached to an interface unit as input or output.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More JN0-106 topics in this module