The ip netstream command enables NetStream IPv4 to collect statistics about incoming or outgoing data flows on an interface.
The undo ip netstream command disables NetStream IPv4 from collecting statistics about incoming or outgoing data flows on an interface.
The ipv6 netstream command enables NetStream IPv6 to collect statistics about incoming or outgoing data flows on an interface.
The undo ipv6 netstream command disables NetStream IPv6 from collecting statistics about incoming or outgoing data flows on an interface.
By default, NetStream is disabled from collecting statistics about incoming or outgoing data flows on an interface.
Parameter | Description | Value |
---|---|---|
inbound |
Enables NetStream to collect statistics about incoming data flows on an interface. |
- |
outbound |
Enables NetStream to collect statistics about outgoing data flows on an interface. |
- |
ipv6 |
Displays the IPv6 netstream feature. |
- |
ip |
Displays the IPv4 netstream feature. |
- |
100GE Layer 2 sub-interface view, 100GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk interface view, FlexE sub-interface view, FlexE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view, VLANIF interface view, Sub-interface view
Usage Scenario
When a specified interface needs to monitor or analyze features of incoming or outgoing data flows, and statistics collected by NetStream are output in original flows or aggregated flows, the command can be used to enable NetStream to collect statistics about incoming or outgoing data flows on the interface.
Configuration Impact
After NetStream is enabled to collect statistics about incoming or outgoing data flows, statistics about unicast and multicast packets are collected.
Precautions
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] ip netstream inbound [*HUAWEI-GigabitEthernet0/1/0] ip netstream outbound
<HUAWEI> system-view [~HUAWEI] interface virtual-ethernet 0/1/0.1 [~HUAWEI-Virtual-Ethernet0/1/0.1] ip netstream inbound [*HUAWEI-Virtual-Ethernet0/1/0.1] ip netstream outbound
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] ipv6 netstream inbound [*HUAWEI-GigabitEthernet0/1/0] ipv6 netstream outbound