Are all traffic statistics collected in local forwarding mode

6

In local forwarding mode, data is directly sent from the AP to the network. If the traffic accounting point is deployed on a gateway, all the traffic statistics are collected. If the traffic accounting point is deployed on an AC, some traffic may not be collected.

Other related questions:
Traffic statistics collection on S series switch
On S series switches (except S1700 switches), the statistic enable command in the traffic behavior view can be used to enable traffic statistics collection in the traffic behavior. To view the statistics about packets matching a traffic policy, enable the traffic statistics collection function. After the traffic statistics collection function is enabled, you can run the display traffic policy statistics command to view packet statistics. For the example for configuring traffic statistics, see "Example for Configuring Traffic Statistics" in Typical QoS Configuration.

Unit of traffic statistics collection on an S series switch
For the S series modular switches: SA cards of the S series support packet-based traffic statistics only, and all other cards support both packet-based traffic statistics and byte-based traffic statistics. For the S series fixed switches: - The S2700SI, S2710SI, S2700EI, S3700SI, S3700EI, S3700HI, S5700EI, S5710EI, S5720EI, S5700HI, S5710HI, S5720HI, S6700EI, S6720EI, and S6720S-EI support both packet-based traffic statistics and byte-based traffic statistics. - The S1720GFR, S1720GW-E, S1720GWR-E, S2720EI, S2750EI, S5700S-LI, S5700LI, S5710-C-LI, S5710-X-LI, S5700SI, S5720LI, S5720S-LI, S5720S-SI, S5720SI, and S600-E support packet-based traffic statistics but not byte-based traffic statistics. After traffic statistics mode by-bytes is configured in the system view and traffic statistics is configured in a traffic policy, the switches support byte-based traffic statistics. After the traffic statistics mode by-bytes command is configured in the system view and traffic statistics is configured in a traffic policy, the S1720GFR, S1720GW-E, S1720GWR-E, S2720EI, S2750EI, S5700LI, S5700S-LI, S5710-X-LI, S5720LI, S5720S-LI, S5720SI, S5720S-SI, and S600-E running V200R009 or a later version support byte-based traffic statistics.

How to check ping packet loss on S series switches
For S series switches (except the S1700), you can run the ping command to check ping packet loss directly. For example: [HUAWEI] ping -c 100 192.168.2.21 PING 192.168.2.21: 56 data bytes, press CTRL_C to break Reply from 192.168.2.21: bytes=56 Sequence=1 ttl=124 time=1 ms ... --- 192.168.2.21 ping statistics --- 100 packet(s) transmitted //Total number of sent packets 91 packet(s) received //Total number of received packets 9.00% packet loss //Packet loss ratio round-trip min/avg/max = 1/1/19 ms You can also perform the following steps to configure traffic statistics collection to check ping packet loss: Configure traffic statistics collection for packets received by a switch. 1. Configure an ACL rule. [HUAWEI] acl number 3000 [HUAWEI-acl-adv-3000] rule permit icmp source 192.168.2.21 0 destination 192.168.2.20 0 [HUAWEI-acl-adv-3000] quit 2. Configure a traffic classifier. [HUAWEI] traffic classifier 3000 [HUAWEI-classifier-3000] if-match acl 3000 [HUAWEI-classifier-3000] quit3. Configure a traffic behavior. [HUAWEI] traffic behavior 3000 [HUAWEI-behavior-3000] statistic enable [HUAWEI-behavior-3000] quit 4. Configure a traffic policy. [HUAWEI] traffic policy 3000 [HUAWEI-trafficpolicy-3000] classifier 3000 behavior 3000 [HUAWEI-trafficpolicy-3000] quit 5. Apply the traffic policy to an interface. [HUAWEI] interface gigabitethernet 0/0/2 [HUAWEI-GigabitEthernet0/0/2] traffic-policy 3000 inbound [HUAWEI-GigabitEthernet0/0/2] quit 6. Check traffic statistics of packets received by the switch. [HUAWEI] display traffic policy statistics interface gigabitethernet 0/0/2 inbound verbose rule-base //The output is omitted. For more information about ping packet loss, see "Ping Failure Troubleshooting" or "S Series Switches packet Loss Troubleshooting" in "Maintenance Topics" in the Huawei S Series Campus Switches Maintenance Guide.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top