381
Parameters
rate: Specifies the maximum number of packets to be exported per second. The value range is 1 to
1000.
Examples
# Allow a maximum of 10 packets to be exported per second.
<Sysname> system-view
[Sysname] ip netstream export rate 10
ip netstream export source
Use ip netstream export source to specify the source interface for data packets sent to NetStream
servers. The IP address of the interface is used as the source IP of the data packets.
Use undo ip netstream export source to restore the default.
Syntax
ip netstream export source interface interface-type interface-number
undo ip netstream export source
Default
The packets take the primary IP address of the output interface as the source IP address.
Views
System view
NetStream aggregation mode view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies a source interface by its type and number.
Usage guidelines
You can configure different source interfaces in different NetStream aggregation mode views.
If no source interface is configured in NetStream aggregation mode view, the source interface in
system view applies.
Examples
# In system view, specify GigabitEthernet 1/0/1 as the source interface for NetStream traditional data
packets.
<Sysname> system-view
[Sysname] ip netstream export source interface gigabitethernet 1/0/1
# In AS aggregation mode view, specify GigabitEthernet 1/0/2 as the source interface for NetStream
aggregation data packets.
<Sysname> system-view
[Sysname] ip netstream aggregation as
[Sysname-ns-aggregation-as] ip netstream export source interface gigabitethernet 1/0/2
Related commands
ip netstream aggregation