beautypg.com

Configuring netstream aggregation data export – H3C Technologies H3C SR8800 User Manual

Page 158

background image

146

Configuring NetStream aggregation data export

NetStream aggregation can be implemented by software or hardware. Generally, the term of NetStream

aggregation refers to the implementation by software, unless otherwise noted.
The NetStream hardware aggregation directly merges the statistics of data flows at the hardware layer
according to the aggregation criteria of a specific aggregation mode, and stores the NetStream

hardware aggregation data in the cache. When the timer for the hardware aggregation entry expires,

the data is exported. This greatly reduces the resource consumption by NetStream aggregation.
Without hardware aggregation configured, the NetStream data aggregation is implemented by

software.
To configure NetStream aggregation data export:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the

NetStream
hardware

aggregation.

ip netstream aggregation advanced

Optional.
By default, NetStream hardware

aggregation is disabled.

3.

Set a NetStream

aggregation mode
and enter its view.

ip netstream aggregation { as |
destination-prefix | prefix | prefix-port

| protocol-port | source-prefix | tos-as |
tos-destination-prefix | tos-prefix |

tos-protocol-port | tos-source-prefix |

tos-bgp-nexthop }

N/A

4.

Configure the
destination address

for the NetStream

aggregation data
export.

ip netstream export host ip-address
udp-port
[ vpn-instance

vpn-instance-name ]

By default, no destination address is
configured in NetStream aggregation
view. Its default destination address is

that configured in system view.
If you expect to export only NetStream
aggregation data, configure the

destination address in related
aggregation view only.

5.

Configure the
source interface for

NetStream

aggregation data
export.

ip netstream export source interface
interface-type interface-number

Optional.
By default, the interface connecting to
the NetStream server is used as the

source interface.

Source interfaces in different

aggregation views can be different.

If no source interface is configured

in aggregation view, the source
interface configured in system view

is used.

H3C recommends that you connect

the network management interface

to the NetStream server.

6.

Enable the current
NetStream

aggregation

configuration.

enable

By default, the current NetStream
aggregation configuration is disabled.