398
Views
Interface view
Predefined user roles
network-admin
Parameters
inbound: Filters incoming traffic.
outbound: Filters outgoing traffic.
acl acl-number: Specifies an ACL by its number.
• For a basic or an advanced ACL, the value range is 2000 to 3999.
• For an Ethernet frame header ACL, the value range is 4000 to 4999.
Usage guidelines
IPv6 NetStream filtering uses an ACL to identify intended packets.
• If you want to collect data for specific flows, use the ACL permit statements to identify the flows. IPv6
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.
IPv6 NetStream does not collect data for these flows.
Examples
# Use ACL 2003 for outbound IPv6 NetStream filtering on GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] ipv6 netstream outbound
[Sysname-GigabitEthernet2/0/1] ipv6 netstream outbound filter acl 2003
ipv6 netstream { inbound | outbound } sampler
Use ipv6 netstream sampler to enable IPv6 NetStream sampling.
Use undo ipv6 netstream sampler to restore the default.
Syntax
ipv6 netstream { inbound | outbound } sampler sampler-name
undo ipv6 netstream { inbound | outbound } sampler
Default
IPv6 NetStream sampling is disabled.
Views
Interface view
Predefined user roles
network-admin
Parameters
inbound: Enables IPv6 NetStream sampling in the inbound direction.
outbound: Enables IPv6 NetStream sampling in the outbound direction.