454
[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 restore the default.
Syntax
ipv6 netstream export source interface
interface-type interface-number
undo ipv6 netstream export source
Default
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 AS 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 as
[Sysname-ns6-aggregation-as] ipv6 netstream export source interface gigabitethernet 1/0/2
Related commands
ipv6 netstream aggregation