< Home

ipv6 netstream

Function

The ipv6 netstream command enables IPv6 flow statistics collection on the inbound and outbound interfaces.

The undo ipv6 netstream command restores the default setting.

By default, statistics collection for IPv6 flows is disabled on the inbound and outbound interfaces.

Format

ipv6 netstream { inbound | outbound }

undo ipv6 netstream { inbound | outbound }

Parameters

Parameter

Description

Value

inbound

Enables IPv6 flow statistics collection on the inbound interface.

-

outbound

Enables IPv6 flow statistics collection on the outbound interface.

-

Views

GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To export IPv6 flow statistics, you must run the ipv6 netstream command to enable IPv6 flow statistics collection on the inbound interface.

Precautions

  • When the IPv4 and IPv6 flow statistics collection function is enabled on the interface, statistics about unicast and multicast packets are collected.
  • After the statistics collection function is enabled for IPv4 and IPv6 flows, the statistics are independent of each other.
  • Currently, flow statistics collection can be enabled only on main interfaces. If statistics collection is enabled on an interface but you do not set a sampling ratio using the ipv6 netstream sampler command, the interface uses the sampling ratio of 1:1000. If you have set the sampling ratio, the interface uses this sampling ratio.

Example

# Enable statistics collection for the incoming IPv6 flows on GE0/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] ipv6 netstream inbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >