Flow-based sflow, Configuring flow-based sflow – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 521

Network OS NETCONF Operations Guide
489
53-1003231-02
Flow-based sFlow
31
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2502" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Flow-based sFlow
Refer to the Network OS Administrator’s Guide for related conceptual and overview information
about flow-based sFlow.
Configuring flow-based sFlow
Flow-based sFlow is used to analyze a specific type of traffic (flow based on access control lists, or
ACLs). This involves configuring an sFlow policy map and binding it to an interface.
NOTE
The "deny ACL" rule is not supported for flow-based sflow. Only the permit action is supported.
Perform the following steps, beginning in global configuration mode.
1. Create an sFlow profile.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="9">
<edit-config>
<target>
<running></running>
</target>
<config>
<sflow-profile xmlns="urn:brocade.com:mgmt:brocade-sflow">
<profile-name>new_sflow_profile</profile-name>
<profile-sampling-rate>512</profile-sampling-rate>
</sflow-profile>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="9" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
2. Create a standard MAC ACL.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="10">
<edit-config>
<target>
<running></running>
</target>
<config>
<mac xmlns="urn:brocade.com:mgmt:brocade-mac-access-list">
<access-list>
<standard>
<name>new_acl</name>
</standard>