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 />

Configuring Active Flow Monitoring Using Version 9<br />

In Junos OS Release 8.3 and later, you can collect a record of sampled flows using the<br />

version 9 format as defined in RFC 3954, Cisco Systems NetFlow Services Export Version<br />

9. Version 9 uses templates to collect an set of sampled flows and send the record to<br />

a specified host.<br />

You configure the version 9 template used to collect a record of sampled flows at the<br />

[edit services monitoring] hierarchy level. For more information, see the Junos OS Services<br />

Interfaces <strong>Configuration</strong> <strong>Guide</strong> and the Junos OS Feature <strong>Guide</strong>.<br />

To enable the collection of traffic flows using the version 9 format, include the version9<br />

statement at the [edit forwarding-options sampling family family-name output flow-server<br />

hostname] hierarchy level:<br />

[edit forwarding-options sampling family family-name output flow-server hostname]<br />

version9 {<br />

template template-name;<br />

}<br />

template-name is the name of the version 9 template configured at the [edit services<br />

monitoring] hierarchy level.<br />

You configure traffic sampling at the [edit forwarding-options sampling input] hierarchy<br />

level. In Junos OS Release 8.3 and later, you can configure sampling for MPLS traffic as<br />

well as IPv4 traffic. You can define a version 9 flow record template suitable for IPv4<br />

traffic, MPLS traffic, or a combination of the two. In Junos OS Release 9.5 and later, you<br />

can sample packets from both the inet and mpls protocol families at the same time. In<br />

Junos Release 10.4 and later, you can configure sampling for peer AS billing traffic for<br />

the inet and ipv6 protocols only. For more information about how to configure traffic<br />

sampling, see “Configuring Traffic Sampling” on page 347.<br />

The following restrictions apply to configuration of the version 9 format:<br />

• You can configure only one host to collect traffic flows using the version 9 format.<br />

Configure the host at the [edit forwarding-options sampling family family-name output<br />

flow-server hostname] hierarchy level.<br />

• You cannot specify both the version 9 format and cflowd versions 5 and 8 formats in<br />

the same configuration. For more information about how to configure flow monitoring<br />

using cflowd version 8, see “Configuring Flow Aggregation (cflowd)” on page 351.<br />

• Any values for flow-active-timeout and flow-inactive-timeout that you configure at the<br />

[edit forwarding-options sampling output] hierarchy level are overridden by the values<br />

configured in the version 9 template.<br />

• Version 9 does not support Routing Engine-based sampling. You cannot configure<br />

version 9 to send traffic sampling result to a file in the /var/tmp directory.<br />

354<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!