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 |
|
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
- Netconf net surport.