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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Associating a Port-Mirroring Instance on M120 Routers<br />

To associate a port-mirroring instance with a FEB on an M120 router, include the<br />

port-mirror-instance port-mirroring-instance-name statement at the [edit chassis feb<br />

slot-number] hierarchy level:<br />

[edit chassis]<br />

feb slot-number {<br />

port-mirror-instance port-mirroring-instance-name;<br />

}<br />

For slot-number, specify the slot number of the FEB you want to associate with the<br />

port-mirroring instance. For port-mirroring-instance-name, specify the name of a<br />

port-mirroring instance you configured at the [edit forwarding-options port-mirroring]<br />

hierarchy level. For information about configuring FEB redundancy on an M120 router,<br />

see the Junos High Availability <strong>Configuration</strong> <strong>Guide</strong>. For information about configuring<br />

FPC-to-FEB connectivity on an M120 router, see the Junos System Basics <strong>Configuration</strong><br />

<strong>Guide</strong>.<br />

Configuring MX Series Ethernet Services Routers and M120 Routers to Mirror<br />

Traffic Only Once<br />

On MX Series and M120 routers only, you can configure port mirroring so that the router<br />

mirrors traffic only once. If you configure port mirroring on both ingress and egress<br />

interfaces, the same packet could be mirrored twice. To mirror packets only once and<br />

prevent the router from sending duplicate sampled packets to the same mirroring<br />

destination, include the mirror-once statement at the [edit forwarding-options<br />

port-mirroring] hierarchy level:<br />

[edit forwarding-options port-mirroring]<br />

mirror-once;<br />

NOTE: The mirror-once statement is supported only in the global<br />

port-mirroring instance.<br />

Configuring Packet Capture<br />

Packet capture allows you to monitor and analyze offline IP version 4 (IPv4) packets<br />

flowing through a router. Packet capture monitors packet fragments also. Packet capture<br />

can be enabled on any interface and can analyze ingress traffic, egress traffic, or both.<br />

NOTE: Packet capture is supported for the J Series Services Routers only.<br />

Packet capture is not supported on tunnel interfaces. You cannot configure<br />

packet capture and sampling at the same time.<br />

To configure packet capture, include the packet-capture statement at the [edit<br />

forwarding-options] hierarchy level:<br />

[edit forwarding-options]<br />

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

379

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

Saved successfully!

Ooh no, something went wrong!