beautypg.com

Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 518

background image

486

Network OS NETCONF Operations Guide

53-1003231-02

Configuring the sFlow protocol globally

31

To configure sFlow globally, perform the following steps.

1. Issue an RPC to configure the node in the

urn:brocade.com:mgmt:brocade-sflow namespace.

2. Under the node, include the following elements.

a. Include the empty leaf element to enable the sFlow protocol globally.

b. In the element, set the maximum number of seconds between

successive samples of counters to be sent to the collector.

The valid range is 1 through 165535. The default value is 20.

c. In the element, set the number of packets to be skipped before the next

sample is taken.

The valid range is 2 through 16777215. The default value is 32768.

d. Include the node element.

3. Under the node, include the following elements.

a. In the leaf element, specify the IP address of the collector.

b. Optional: In the element, specify the UDP port number on the

collector.

The default value is 6343.

The following example enables sFlow globally, designates 102.10.128.176 as the sFlow
collector, sets the polling interval to 35, and the sample rate to 4096.

192.10.138.176

35

4096