345
Parameters
rate
: Specifies the maximum rate for exporting IPv6 NetStream data, in the range of 1 to 1000
(maximum number of packets per second).
Examples
# Allow a maximum of 10 packets to be exported per second.
<Sysname> system-view
[Sysname] ipv6 netstream export rate 10
ipv6 netstream export source
Use
ipv6 netstream export source
to specify the source interface for data packets sent to
NetStream servers. The IPv6 address of the interface is used as the source IPv6 address of the data
packets.
Use
undo ipv6 netstream export source
to remove the configuration.
Syntax
ipv6 netstream export source interface
interface-type interface-number
undo ipv6 netstream export source
Default
No source interface is specified for IPv6 NetStream data packets. The packets take the primary IPv6
address of the output interface as the source IPv6 address.
Views
System view, IPv6 NetStream aggregation mode view
Parameters
interface-type interface-number
: Specifies a source interface by its type and number for the IPv6
NetStream data export.
Usage guidelines
You can configure different source interfaces in different IPv6 NetStream aggregation mode views.
If no source interface is configured in IPv6 NetStream aggregation mode view, the source interface in
system view applies.
As a best practice, connect the management Ethernet interface to a NetStream server, and configure
the interface as the source interface.
Examples
# In system view, specify GigabitEthernet 1/0/1 as the source interface for IPv6 NetStream traditional
data packets.
<Sysname> system-view
[Sysname] ipv6 netstream export source interface gigabitethernet 1/0/1
# In destination-prefix aggregation mode view, specify GigabitEthernet 1/0/2 as the source interface
for IPv6 NetStream aggregation data packets.
<Sysname> system-view
[Sysname] ipv6 netstream aggregation destination-prefix
[Sysname-ns6-aggregation-dstpre] ipv6 netstream export source interface gigabitethernet
1/0/2
Related commands
ipv6 netstream aggregation