16.03.2014 Views

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Junos 10.4 <strong>Policy</strong> <strong>Framework</strong> <strong>Configuration</strong> <strong>Guide</strong><br />

match these packets using the interface-group match statement, as described in<br />

“Configuring IPv4 Match Conditions” on page 197. The interface-group match statement<br />

is supported only by the IPv4, IPv6, circuit cross-connects (CCC), and VPLS protocol<br />

families.<br />

To define an interface to be part of an interface group, include the group statement at<br />

the [edit interfaces interface-name unit logical-unit-number family family-name filter]<br />

hierarchy level:<br />

[edit interfaces interface-name unit logical-unit-number family filter]<br />

group group-number;<br />

input filter-name;<br />

output filter-name;<br />

In the group statement, specify the interface group number to be associated with the<br />

filter.<br />

In the input statement, list the name of one firewall filter to be evaluated when packets<br />

are received on the interface.<br />

In the output statement, list the name of one firewall filter to be evaluated when packets<br />

are transmitted on the interface.<br />

NOTE: The Junos OS also supports defining interface sets to which to you<br />

can apply a firewall filter. An interface set lets you define a group a set of<br />

logical interfaces and apply hierarchical schedulers for class of services (CoS)<br />

to the interface set. For more information about the interface-set<br />

interface-set-name firewall filter match condition, see “Configuring IPv4 Match<br />

Conditions” on page 197. The interface-set match condition is supported by<br />

the IPv4, IPv6, and protocol-independent protocol families and on MX Series<br />

routers only. For more information about configuring hierarchical schedulers<br />

for CoS, see the Junos Class of Service <strong>Configuration</strong> <strong>Guide</strong>.<br />

Example: Defining Interface Groups<br />

Create a filter that contains an interface group:<br />

[edit firewall]<br />

family inet {<br />

filter if-group {<br />

term group1 {<br />

from {<br />

interface-group 1;<br />

address {<br />

192.168.80.114/32;<br />

}<br />

protocol tcp;<br />

port finger;<br />

}<br />

then {<br />

count if-group-counter1;<br />

log;<br />

238<br />

Copyright © 2010, <strong>Juniper</strong> <strong>Networks</strong>, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!