433
Usage guidelines
A NetStream entry records the source IP address and destination IP address, and two AS numbers
for each IP address. You can choose to configure which AS numbers are to be exported as the
source AS and destination AS.
You can choose to record BGP next hop data only when you configure the version 9 format.
You can configure only one version format on the device. If you execute the
ip netstream export
version
5
and
ip netstream export version 9
commands multiple times, the most recent
configuration takes effect.
If the version 5 format is configured, the NetStream aggregation data export uses the version 8
format.
If the version 9 format is configured, the NetStream aggregation data export uses the version 9
format.
Examples
# Configure the device to export NetStream data in the version 5 format and to specify the
NetStream data to include the source AS and destination AS.
<Sysname> system-view
[Sysname] ip netstream export version 5 origin-as
ip netstream max-entry
Use
ip netstream max-entry
to set the upper limit for NetStream entries.
Use
undo ip netstream max-entry
to restore the default.
Syntax
ip netstream max-entry
max-entries
undo ip netstream max-entry
Default
The upper limit for NetStream entries is 10000.
Views
System view
Predefined user roles
network-admin
Parameters
max-entries
: Specifies the upper limit for NetStream entries that the cache can accommodate. The
value range is 1000 to 100000.
Usage guidelines
(Distributed devices in standalone mode.) The
max-entries
argument takes effect on each card.