218
Step Command
Remarks
2.
Enter NetStream
aggregation mode view.
ip netstream aggregation
{
as
|
destination-prefix
|
prefix
|
prefix-port
|
protocol-port
|
source-prefix
|
tos-as
|
tos-bgp-nexthop
|
tos-destination-prefix
|
tos-prefix
|
tos-protocol-port
|
tos-source-prefix
}
N/A
3.
Specify a destination
host for NetStream
aggregation data
export.
ip netstream export host
ip-address
udp-port
[
vpn-instance
vpn-instance-name
]
By default, no destination host is
specified.
If you expect only NetStream
aggregation data, specify the
destination host only in the related
NetStream aggregation mode view.
4.
(Optional.) Specify the
source interface for
NetStream data packets
sent to NetStream
servers.
ip netstream export source interface
interface-type interface-number
By default, no source interface is
specified for NetStream data
packets. The packets take the primary
IP address of the output interface as
the source IP address.
Source interfaces in different
NetStream aggregation mode views
can be different.
If no source interface is configured in
NetStream aggregation mode view,
the source interface configured in
system view applies.
5.
Enable NetStream
aggregation.
enable
By default, NetStream aggregation is
disabled.
Displaying and maintaining NetStream
Execute
display
commands in any view and
reset
commands in user view.
Task Command
Display NetStream entry information in the cache
(in standalone mode).
display ip netstream cache
[
slot
slot-number
]
[
verbose
]
Display NetStream entry information in the cache
(in IRF mode).
display ip netstream cache
[
chassis
chassis-number
slot
slot-number
] [
verbose
]
Display information about the NetStream data
export.
display ip netstream export
Display the configuration and status of the
NetStream templates (in standalone mode).
display ip netstream template
[
slot
slot-number
]
Display the configuration and status of the
NetStream templates (in IRF mode).
display ip netstream template
[
chassis
chassis-number
slot
slot-number
]
Age out and export all NetStream data, and
clear the cache.
reset ip netstream statistics