Skip to content

Latest commit

 

History

History
126 lines (101 loc) · 4.66 KB

comware_sflow_intf_module.rst

File metadata and controls

126 lines (101 loc) · 4.66 KB

comware_sflow_intf

Added in version 1.0

Manage sflow interface flow collector and sampling_rate on Comware 7 devices.

parameter required default choices comments
intf_name yes interface name.
rate no Configure sampling_rate(>8192)
collector no 1 sflow flow collector(1~4).
host no Configure the destination address of netstream statistical output message.
state no present
  • present
  • absent
Desired state for the interface configuration.
port no 830 NETCONF port number
hostname yes IP Address or hostname of the Comware v7 device that has NETCONF enabled
username yes Username used to login to the switch
password yes Password used to login to the switch
look_for_keys no False Whether searching for discoverable private key files in ~/.ssh/


# netstream config
  - comware_sflow_intf: intf_name=xxxx rate=xxxx collector=xx username={{ username }} password={{ password }} hostname={{ inventory_hostname }} username={{ username }} password={{ password }} hostname={{ inventory_hostname }}
# delete netstream config
  - comware_sflow_intf: intf_name=xxxx rate=xxxx collector=xx username={{ username }} password={{ password }} hostname={{ inventory_hostname }} state=absent username={{ username }} password={{ password }} hostname={{ inventory_hostname }}

Note

  1. Netconf net surport.