Juniper JN0-360 Exam: Valid Actions for Layer 2 Firewall Filters

Valid Actions for Layer 2 Firewall Filters

Prev Question Next Question

Question

What are two valid actions that can be applied to a frame by a Layer 2 firewall filter?

(Choose two)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

BD

You can specify the following filter actions:

* accept

* count counter-name

* discard

* dscp code-point (family inet only)

* forwarding-class class-name

* ipsec-sa ipsec-sa (family inet only)

* load-balance group-name (family inet only)

* log (family inet and inet6 only)

* logical-system logical-system-name (family inet and inet6 only)

* loss-priority (high | medium-high | medium-low | low)

* next term

* next-hop-group group-name (family inet only)

* policer policer-name

* port-mirror (family bridge, ccc, inet, inet6, and vpls only)

* prefix-action action-name (family inet only)

* reject <message-type> (family inet and inet6 only)

* routing-instance routing-instance-name (family inet and inet6 only)

* sample (family inet, inet6, and mpls only)

* service-accounting (service filters and family inet or inet6 only)

* service-filter-hit (service filters and family inet or inet6 only)

* syslog (family inet and inet6 only)

* three-color-policer policer-name

* topology topology-name (family inet and inet6 only)

* traffic-class code-point (family inet6) only

A Layer 2 firewall filter operates at the data-link layer of the OSI model and filters traffic based on MAC addresses. When a frame enters a switch port, it is compared to the rules defined in the Layer 2 firewall filter, and if the criteria are met, an action is taken. The two valid actions that can be applied to a frame by a Layer 2 firewall filter are:

  1. Log - This action logs information about the frame that matched the filter criteria. This can be helpful for troubleshooting purposes or for monitoring network activity. The logged information may include the source and destination MAC addresses, VLAN ID, and other details about the frame.

  2. Count - This action increments a counter every time a frame matches the filter criteria. This can be useful for keeping track of the number of frames that are being dropped or passed by the filter. The count action does not actually drop or pass the frame; it only increments the counter.

Loss-priority and sample are not valid actions that can be applied to a frame by a Layer 2 firewall filter. Loss-priority is a quality of service (QoS) parameter that is used to prioritize traffic, and sample is a method for collecting traffic data for analysis. These actions are not relevant to a Layer 2 firewall filter.