.. _sflow_setting: sflow setting ============= Configure sFlow setting Specification --------------------- ===================================== ====================================================== **Parameter** **Value** ===================================== ====================================================== **Type** *Configuration Resource* **Element Name** setting **Element URI** /axapi/v3/sflow/setting **Element Attributes** setting_attributes **Partition Visibility** shared **Schema** :download:`setting schema ` ===================================== ====================================================== **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/sflow/setting .. raw:: html :ref:`1921_setting_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/sflow/setting .. raw:: html :ref:`1921_setting_attributes` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/sflow/setting .. raw:: html :ref:`1921_setting_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/sflow/setting .. raw:: html :ref:`1921_setting_attributes` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/sflow/setting .. raw:: html :ref:`1921_setting_attributes` .. raw:: html
.. _1921_setting_attributes: setting attributes ------------------ **counter-polling-interval** **Description** sFlow counter polling interval, default is 10 **Type:** number **Range:** 1-200 **Default:** 10 **local-collection** **Description** Enable local sflow collection **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **max-header** **Description** Configure maximum number of bytes that should be copied from a sampled packet (default: 128) (The maximum number of bytes (Default: 128)) **Type:** number **Range:** 14-512 **Default:** 128 **packet-sampling-rate** **Description** sFlow packet sampling rate, default is 1000 **Type:** number **Range:** 10-1000000 **Default:** 1000 **source-ip-use-mgmt** **Description** Use management interface's IP address for source IP of sFlow packets **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters