Disabling sflow on specific interfaces – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 520

488
Network OS NETCONF Operations Guide
53-1003231-02
Interface-specific administrative tasks for sFlow
31
<tengigabitethernet>
<name>1/0/16</name>
<sflow xmlns="urn:brocade.com:mgmt:brocade-sflow">
<enable/>
<polling-interval>35</polling-interval>
<sample-rate>8192</sample-rate>
</sflow>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2501" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Disabling 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.
1. Issue the <edit-config> RPC to configure the <interface> node in the
urn:brocade.com:mgmt:brocade-interface namespace.
2. Under the <interface> node, specify the <hundredgigabitethernet>, <fortygigabitethernet>,
<tengigabitethernet>, or <gigabitethernet> node element.
3. Under the <hundredgigabitethernet>, <fortygigabitethernet>, <tengigabitethernet>, or
<gigabitethernet> node, include the <name> leaf element and specify the interface on which
you want to disable sFlow. Specify the interface in the [rbridge-id/]slot/port format.
4. Under the <hundredgigabitethernet>, <fortygigabitethernet>, <tengigabitethernet>, or
<gigabitethernet> node, include the <sflow> node element located in the
urn:brocade.com:mgmt:brocade-sflow namespace.
5. Under the <sflow> node, include the empty <enable> element and specify the delete
operation in the element tag to disable sFlow on the interface.
The following example disables sFlow on 10-gigabit Ethernet port 1/0/16.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2502" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>1/0/16</name>
<sflow xmlns="urn:brocade.com:mgmt:brocade-sflow">
<enable xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
</sflow>
</tengigabitethernet>