R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)

349
[Sysname] ipv6 netstream max-entry 5000
ipv6 netstream sampler
Use ipv6 netstream sampler to enable IPv6 NetStream sampling.
Use undo ipv6 netstream sampler to restore the default.
Syntax
ipv6 netstream sampler sampler-name { inbound | outbound }
undo ipv6 netstream sampler sampler-name { inbound | outbound }
Default
IPv6 NetStream sampling is disabled.
Views
Interface view
Predefined user roles
network-admin
Parameters
sampler sampler-name: Specifies a sampler by its name, a case-insensitive string of 1 to 31 characters.
inbound: Enables IPv6 NetStream sampling in the inbound direction.
outbound: Enables IPv6 NetStream sampling in the outbound direction.
Examples
# Enable IPv6 NetStream sampling in the inbound direction of GigabitEthernet 2/1/1 by referencing
sampler abc.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ipv6 netstream inbound
[Sysname-GigabitEthernet2/1/1] ipv6 netstream sampler abc inbound
ipv6 netstream timeout active
Use ipv6 netstream timeout active to set the aging timer for active flows.
Use undo ipv6 netstream timeout active to restore the default.
Syntax
ipv6 netstream timeout active minutes
undo ipv6 netstream timeout active
Default
The aging timer is 30 minutes for active flows.
Views
System view
Predefined user roles
network-admin