Manufacturer: HP
Model(s): 6600
Version(s):
URL: https://support.hpe.com/hpesc/public/docDisplay?docId=c03128261
Notes:
NetStream exports data in UDP datagrams in one of the following formats:
- Version 5—Exports original statistics collected based on the 7-tuple elements. The packet format is fixed and cannot be extended flexibly.
- Version 8—Supports NetStream aggregation data export. The packet formats are fixed and cannot be extended flexibly.
- Version 9—The most flexible format. Users can define templates that have different statistics fields. The template feature supports different statistics, such as BGP next hop and MPLS information.
Configuration steps
- Enable NetStream in the inbound direction of GigabitEthernet 2/0/0.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] ip address 11.110.2.1 255.255.0.0
[RouterA-GigabitEthernet2/0/0] ip netstream inbound
[RouterA-GigabitEthernet2/0/0] quit
- Enable NetStream in the outbound direction of GigabitEthernet 2/0/1.
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ip address 12.110.2.1 255.255.0.0
[RouterA-GigabitEthernet2/0/1] ip netstream outbound
[RouterA-GigabitEthernet2/0/1] quit
- Configure the destination address and the destination UDP port number for the NetStream traditional data export. The host is the Scrutinizer collector IP address.
[RouterA] ip netstream export host 12.110.2.2 2055
- Configure Flow Aging
Because the default aging time for active and inactive flows is higher than we recommend (1800 and 30 seconds respectively), we need to set them manually. To do this issue the following commands.
<RouterA> system-view
[RouterA] ip netstream aging
[RouterA] ip netstream timeout active 60
[RouterA] ip netstream timeout inactive 15
[RouterA] quit