HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference
210
Parameters
origin-as: Exports statistics of the source AS originating the route for the source address and the
destination AS for the destination address.
peer-as: Exports statistics of the peer ASs for the source and destination address.
bgp-nexthop: Exports statistics of BGP next hops.
Usage guidelines
A NetStream entry for a flow 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.
The version 5 and version 9 formats are mutually exclusive on a device.
If the version 5 format is configured to export NetStream data, the NetStream aggregation data export
uses the version 8 format.
If the version 9 format is configured to export NetStream data, the NetStream aggregation data export
uses the version 9 format.
If you execute this command multiple times, the most recent configuration takes effect.
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 filter
Use ip netstream filter to enable NetStream filtering on an interface.
Use undo ip netstream filter to disable the function.
Syntax
ip netstream filter acl acl-number { inbound | outbound }
undo ip netstream filter acl acl-number { inbound | outbound }
Default
NetStream filtering is disabled. NetStream collects the statistics of all IPv4 packets passing through the
interface.
Views
Interface view
Predefined user roles
network-admin
Parameters
acl acl-number: Specifies an ACL number. For a basic ACL, the value range is 2000 to 2999. For an
advanced ACL, the value range is 3000 to 3999.
inbound: Filters incoming traffic.
outbound: Filters outgoing traffic.