449
Use
undo
ipv6 netstream filter
to disable IPv6 NetStream filtering.
Syntax
ipv6 netstream
{
inbound
|
outbound
}
filter acl ipv6-acl-number
undo ipv6 netstream
{
inbound
|
outbound
}
filter
Default
IPv6 NetStream filtering is disabled. IPv6 NetStream collects statistics about all IPv6 packets
passing through an interface.
Views
Interface view
Predefined user roles
network-admin
Parameters
inbound
: Filters incoming traffic.
outbound
: Filters outgoing traffic.
acl ipv6-acl-number
: Specifies an IPv6 ACL by its number. For an IPv6 basic ACL, the value range is
2000 to 2999. For an IPv6 advanced ACL, the value range is 3000 to 3999.
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 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] ipv6 netstream outbound
[Sysname-GigabitEthernet1/0/1] ipv6 netstream outbound filter acl 2003
ipv6 netstream sampler
Use
ipv6 netstream sampler
to enable IPv6 NetStream sampling.
Use
undo ipv6 netstream sampler
to disable IPv6 NetStream sampling.
Syntax
ipv6 netstream
[
inbound
|
outbound
]
sampler sampler-name
undo ipv6 netstream
[
inbound
|
outbound
]
sampler