425
sampler sampler-name: Specifies a sampler by its name, a case-insensitive string of 1 to 31
characters.
Examples
# Use sampler abc for inbound NetStream sampling on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] ip netstream inbound
[Sysname-GigabitEthernet1/0/1] ip netstream inbound sampler abc
ip netstream aggregation
Use ip netstream aggregation to specify a NetStream aggregation mode and enter its view.
Use undo ip netstream aggregation to remove the configuration for a NetStream aggregation
mode.
Syntax
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 }
undo 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 }
Default
No NetStream aggregation mode is specified.
Views
System view
Predefined user roles
network-admin
Parameters
as: Specifies the AS aggregation by source AS number, destination AS number, inbound interface
index, and outbound interface index.
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.