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.

Chapter 15: Traffic Forwarding and Monitoring <strong>Configuration</strong><br />

You can capture only specific types of packets by using a firewall filter in conjunction<br />

with packet capture. To configure packet capture for specific packets using firewall filters,<br />

include the following statements at the [edit firewall] hierarchy level:<br />

[edit firewall]<br />

filter filter-name {<br />

term term-name {<br />

from {<br />

match-conditions;<br />

}<br />

then {<br />

sample;<br />

accept;<br />

}<br />

}<br />

}<br />

NOTE: Configure packet capture with appropriate firewall filters to control<br />

the number of packets captured. Performance of the router may be impacted<br />

if packet capture is used without configuring any firewall filters.<br />

NOTE: Packet capture does not support multilink encapsulations (such as<br />

MLPPP).<br />

You must disable packet capture to modify encapsulation. To modify the encapsulation<br />

on a packet capture-enabled interface, perform the following tasks:<br />

1. Disable packet capture by including the disable statement at the [edit<br />

forwarding-options packet-capture] hierarchy level.<br />

2. Remove the packet capture file for the interface from the /var/tmp/ directory.<br />

3. Change the encapsulation.<br />

4. Enable packet capture.<br />

For packets captured on T1, T3, E1, E3, SE, and ISDN interfaces in the egress direction,<br />

the size of packets captured can be one byte less than the configured value of<br />

maximum-capture-size because of the PLP byte.<br />

To capture packets on an ISDN interface, configure packet capture on the dialer interface.<br />

To capture packets on the PPPoE interface, configure packet capture on the PPPoE<br />

interface.<br />

Packet capture is not supported with MLPPP encapsulation. However, the CLI does not<br />

prevent you from enabling packet capture on an interface with MLPPP encapsulation. If<br />

packet capture is enabled in the input direction on an interface with MLPPP encapsulation,<br />

input packets on that interface are captured on the output interfaces.<br />

By default, there is no tracing operation support for packet capture.<br />

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

381

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

Saved successfully!

Ooh no, something went wrong!