Disabling flow-based sflow on specific interfaces – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 524

492
Network OS NETCONF Operations Guide
53-1003231-02
Flow-based sFlow
31
<target>
<running></running>
</target>
<config>
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>1/0/1</name>
<service-policy xmlns="urn:brocade.com:mgmt:brocade-policer">
<in>new_policy-map</in>
</service-policy>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="16" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Disabling flow-based sFlow on specific interfaces
NOTE
Disabling sFlow on the interface port does not completely shut down the network communication on
the interface port.
To disable sFlow on a specific interface, perform the following steps in interface configuration
mode.
1. Issue the <edit-config> RPC to configure the <interface> node in the
urn:brocade.com:mgmt:brocade-interface namespace.
2. Under the <sflow> node, include the empty <enable> element and specify the delete
operation in the element tag to disable sFlow on the interface.
switch# show sflow interface tengigabitethernet 0/12
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="13">
<edit-config>
<target>
<running></running>
</target>
<config>
<sflow xmlns="urn:brocade.com:mgmt:brocade-sflow">
<enable xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
</sflow>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2502" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>