Assume that the statistics on ping packets from 10.1.1.0/24 need to be collected on the interface Ethernet0/0/1 or GigabitEthernet0/0/1. The configuration is as follows:
# Configuration the acl rule.
[HUAWEI]
acl number 3333 [HUAWEI-acl-adv-3333]
rule 5 permit icmp source 10.1.1.0 0.0.0.255 [HUAWEI-acl-adv-3333]
quit # Configuration the traffic classifier.
[HUAWEI]
traffic classifier test [HUAWEI-classifier-test]
if-match acl 3333 [HUAWEI-classifier-test]
quit
# Configuration the traffic behavior:
[HUAWEI] <strong>traffic behavior test</strong> [HUAWEI-behavior-test] <strong>statistic enable</strong> [HUAWEI-behavior-test] <strong>quit</strong>
# Configuration the traffic policy.
[HUAWEI]
traffic policy test [HUAWEI-trafficpolicy-test]
classifier test behavior test [HUAWEI-trafficpolicy-test]
quit
# Apply the traffic policy:
- # Apply the traffic policy test to the S2700 or S3700.
[HUAWEI] <strong>interface ethernet0/0/1</strong>
[HUAWEI-Ethernet0/0/1] <strong>traffic-policy test inbound</strong>
- # Apply the traffic policy test to the S5700.
[HUAWEI] <strong>interface gigabitethernet0/0/1</strong>
[HUAWEI-GigabitEthernet0/0/1] <strong>traffic-policy test inbound</strong>
After the configuration, run the
display traffic policy statistics interface interface-type interface-number command to view the traffic statistics. To re-collect traffic statistics, run the
reset traffic policy statistics interface interface-type interface-number command to clear existing traffic statistics first.
NOTE:
- The S2700 or S3700 can collect statistics only on incoming packets.
- The S5700 can collect statistics on incoming and outgoing packets, but cannot collect statistics on packets sent from its own CPU.
S5700 Switch Thunder link com
Me too I don't undertand how to use the statistical functions of this calculator. for example, if I want to calculate the standard deviation of a series data, I first begin by switching mode to "Stat", then I choose 2 for Quad. There's now the words "Stat 2" written at left on the screen, and "0" written at right. After, what do I have to do to calculate the standard diviation ?
And do I have to enter my data in the calculator befor to switch it to the Stat Mode ?
I'm totally confused...
If you can answer yourself or refer me to a website with full clear explanation, I would be very thankful to you.
PS. I'm not an anglophone, so be understanding...
×