Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 523

Network OS NETCONF Operations Guide
491
53-1003231-02
Flow-based sFlow
31
<po-name>new_policy_map</po-name>
</policy-map>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="13" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="14">
<edit-config>
<target>
<running></running>
</target>
<config>
<policy-map xmlns="urn:brocade.com:mgmt:brocade-policer">
<po-name>new_policy_map</po-name>
<class>
<cl-name>new_class_map</cl-name>
</class>
</policy-map>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="14" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
5. Add an sFlow profile name by using the map command.
This example assigns the profile name “new_sflow_profile.”
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="15">
<edit-config>
<target>
<running></running>
</target>
<config>
<policy-map xmlns="urn:brocade.com:mgmt:brocade-policer">
<po-name>new_policy_map</po-name>
<class>
<cl-name>new_class_map</cl-name>
<map>
<sflow>new_sflow_profile</sflow>
</map>
</class>
</policy-map>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="15" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
6. Bind the policy map to an interface.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="16">
<edit-config>