Added in version 1.0
Manage ip netstream,rate,timeout, max_entry,vxlan udp-port,and interface enable and ip netstream aggregation destination-prefix enable,netstream statistics output message destination address and destination UDP port number configurationonComware 7 devices
parameter | required | default | choices | comments |
---|---|---|---|---|
netstream | yes | global netstream enable or disable | ||
rate | no | Configure output rate limit | ||
timeout | no | Active aging time of configuration flow | ||
max_enter | no | Active aging time of configuration flow | ||
vxlan_udp | no | Enable vxlan message statistics function | ||
sampler | no | Create a sampler. | ||
mode | no |
|
Sampler mode.if config sampler,this parameter is must be exit. | |
sampler_rate | no | Sampler rate. if config sampler,this parameter is must be exit. | ||
version | no | 9 |
|
Configure autonomous system options for netstream version. |
BGP | no | BGP next hop option. | ||
inactive | no | Configure Inactive aging time of flow.(10~600). | ||
source_intf | no | Configure the source interface of netstream statistical output message. | ||
aggregation | no |
|
Enter netstream aggregation view and enable it | |
name | no | Full name of the interface | ||
interface_enable | no |
|
manage interface netstream enable.To config this, name parameter must be exit. | |
interface_sampler | no | manage interface sampler. | ||
host | no | Configure the destination address of netstream statistical output message. | ||
udp | no | Configure the destination UDP port number of netstream statistical output message. | ||
vpn_name | no | Specify the VPN to which the destination address of netstream statistical output message belongs. | ||
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_netstream: netstream=enable rate=10 timeout=1 max_entry=2 vxlan_udp=8000 aggregation=prefix host=192.168.1.43 udp=29 state=present username={{ username }} password={{ password }} hostname={{ inventory_hostname }} # delete netstream config - comware_netstream: netstream=enable rate=10 timeout=1 max_entry=2 vxlan_udp=8000 aggregation=prefix host=192.168.1.43 udp=29 state=absent username={{ username }} password={{ password }} hostname={{ inventory_hostname }}
Note
Before configuring netstream stream image, you need to enable the global netstream function.The default state is not open global netstream function.If you want to config interface netstream enable,the name parametermust be exit.If you config netstream statistics output message,host and udp paramaters must be exit.