EasyManua.ls Logo

3Com 4200G 24-Port - Page 380

3Com 4200G 24-Port
730 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1-23
To do… Use the command… Remarks
Enter system view
system-view
Enter port group view
port-group group-id
Collect statistics about ACL
matching packets
traffic-statistic inbound acl-rule
Required
By default, traffic
accounting is disabled.
Clear statistics about ACL
matching packets
reset traffic-statistic inbound
acl-rule
Optional
4) Configuring traffic accounting for a port
Follow these steps to collect/clear statistics about incoming ACL matching packets on a port:
To do… Use the command… Remarks
Enter system view
system-view
Enter Ethernet port view
interface interface-type
interface-number
Collect statistics about
incoming ACL matching
packets
traffic-statistic inbound acl-rule
Required
Clear statistics about
incoming ACL matching
packets
reset traffic-statistic inbound acl-rule
Optional
User-defined traffic classification rules configured for traffic accounting in the global scope or for a
VLAN take precedence over the default rules used for processing protocol packets. The device will
collect traffic statistics preferentially, which may affect device management implemented through Telnet
and so on.
Configuration examples
# Collect and then clear the statistics about the incoming packets sourced from network segment
10.1.1.0/24 (assume that GigabitEthernet 1/0/1 is connected to network segment 10.1.1.0/24 and
carries VLAN 2).
1) Method I
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] interface GigabitEthernet1/0/1
[Sysname-GigabitEthernet1/0/1] traffic-statistic inbound ip-group 2000
[Sysname-GigabitEthernet1/0/1] reset traffic-statistic inbound ip-group 2000
2) Method II

Table of Contents

Other manuals for 3Com 4200G 24-Port

Related product manuals