•
If you want to collect data for specific flows, use the ACL permit statements to identify the flows.
NetStream collects data only for these flows.
•
If you do not want to collect data for specific flows, use the ACL deny statements to identify the
flows. NetStream does not collect data for these flows.
Examples
# Use ACL 2003 for outbound NetStream filtering on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] ip netstream outbound
[Sysname-GigabitEthernet1/0/1] ip netstream outbound filter acl 2003
ip netstream aggregation
Use ip netstream aggregation to set a NetStream aggregation mode and to enter NetStream
aggregation mode view.
Use undo ip netstream aggregation to cancel a NetStream aggregation mode and remove the
configuration for the NetStream aggregation mode.
Syntax
ip netstream aggregation { destination-prefix | prefix | prefix-port | protocol-port |
source-prefix | tos-destination-prefix | tos-prefix | tos-protocol-port | tos-source-prefix }
undo ip netstream aggregation { destination-prefix | prefix | prefix-port | protocol-port |
source-prefix | tos-destination-prefix | tos-prefix | tos-protocol-port | tos-source-prefix }
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
destination-prefix: Specifies the destination-prefix aggregation by destination AS number,
destination address mask length, destination prefix, and outbound interface index.
prefix: Specifies the source and destination prefix aggregation by the following criteria:
•
Source AS number.
•
Destination AS number.
•
Source address mask length.
•
Destination address mask length.
•
Source prefix.
•
Destination prefix.
•
Inbound interface index.
•
Outbound interface index.
prefix-port: Specifies the prefix-port aggregation by the following criteria:
•
Source prefix.
•
Destination prefix.
•
Source address mask length.
•
Destination address mask length.
323