Configuring ipv4 netstream data export, Configuring ipv4 netstream traditional data export – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 162

Advertising
background image

147

Follow these steps to configure NetStream sampling:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable sampling

ip netstream sample enable

Required
By default, sampling is enabled.

Create a sampler

sampler sampler-name mode { fixed |
random } packet-interval rate

Required
The rate argument specifies the
sampling rate, which equals the 2

to the power of rate.
The rate must be the same as that

on the device where the SecBlade
NetStream card resides.

Enter interface view

interface interface-type interface-number

Configure NetStream to
reference a sampler.

ip netstream sampler sampler-name
{ inbound | outbound }

Required
Disable by default.

NOTE:

A sampler must be created by using the sampler command before being referenced by NetStream.

A sampler that is referenced by NetStream cannot be deleted.

Configuring IPv4 NetStream data export

To allow the NDE to export collected statistics to the NetStream server, configure the source interface out

of which the data is sent and the destination address to which the data is sent.

Configuring IPv4 NetStream traditional data export

Follow these steps to configure IPv4 NetStream traditional data export:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter interface view

interface interface-type
interface-number

Enable IPv4 NetStream

ip netstream { inbound |
outbound }

Required
Disabled by default.
The outbound keyword does not take effect

on SecBlade NetStream cards.

Exit to system view

quit

Configure the destination
address for the IPv4

NetStream traditional data
export

ip netstream export host
ip-address udp-port

Required
By default, no destination address is
configured, in which case, the NetStream

traditional data is not exported.

Advertising