🤖 Ai回答: The command `ip netstream inbound` is used in Huawei network devices (such as routers and switches) to enable NetStream sampling on inbound traffic for a specific interface.
🔍 Explanation:
NetStream is Huawei's implementation of flow-based traffic monitoring, similar to Cisco's NetFlow.
It collects statistics about IP traffic flows passing through an interface.
The `inbound` keyword means the device will sample and export flow records for traffic entering the interface.
📌 Syntax:
bash
[Huawei-GigabitEthernet0/0/1] ip netstream inbound
This command is applied in interface configuration mode.
💡 Purpose:
Monitor incoming traffic patterns.
Support network analysis, accounting, security detection, and capacity planning.
Flow data can be exported to a NetStream Collector for further analysis.
🔄 Related Commands:
`ip netstream outbound` – enables NetStream for outbound traffic.
`ip netstream sampler <name` – applies a sampling policy.
`ip netstream export host <ip <port` – configures the collector destination.
`display ip netstream statistics` – shows NetStream statistics.
⚠️ Notes:
NetStream must be globally enabled before using it on interfaces.
Sampling rate and other parameters may need configuration depending on your monitoring goals.
High-volume traffic with NetStream enabled can impact CPU/memory—use sampling if needed.
Let me know if you'd like a full configuration example or help interpreting NetStream data!