The display ip netstream statistics interface command displays the statistics about the sampled flow on an interface.
Usage Scenario
When maintaining the network, you can check whether the traffic volume of sampled packets on an interface is the same as the volume of traffic restored by the NMS to find the cause of incorrect NetStream sampling. If they are different, incorrect sampling may be caused by an intermediate link fault or a server fault; otherwise, incorrect sampling may be caused by a device fault.
Prerequisites
The ip netstream statistics enable command or ipv6 netstream statistics enablecommand is run to enable the statistics function of sampled packets.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ip netstream statistics interface GigabitEthernet0/1/0 Netstream statistic information of <GigabitEthernet0/1/0>: Inbound : IPV4 :1000 Bytes, 10 Packets IPV6 :1000 Bytes, 10 Packets MPLS :0 Bytes, 0 Packets Total :2000 Bytes, 20 Packets Outbound : IPV4 :1000 Bytes, 10 Packets IPV6 :1000 Bytes, 10 Packets MPLS :0 Bytes, 0 Packets Total :2000 Bytes, 20 Packets
Item | Description |
---|---|
Inbound | Numbers of the incoming sampled packets and packet bytes. |
IPV4 | Numbers of sampled IPv4 packets and packet bytes. |
IPV6 | Numbers of sampled IPv6 packets and packet bytes. |
MPLS | Numbers of sampled MPLS packets and packet bytes. |
Total | Total numbers of sampled IPv4 and IPv6 packets and packet bytes. |
Outbound | Numbers of the outgoing sampled packets and packet bytes. |