3com 5500-ei pwr Instruccion De Instalación

Descargar
Página de 1072
 
1-27 
Configuration procedure: 
<Sysname> system-view 
[Sysname] interface Ethernet1/0/1 
[Sysname-Ethernet1/0/1] wred 2 64 20 
Configuring Traffic Accounting 
Refer to section 
 for information about traffic accounting. 
Configuration prerequisites 
The ACL rules for traffic classification have been defined. Refer to the ACL module of 
this manual for information about defining ACL rules. 
The port that needs this configuration has been determined. 
Configuration procedure 
Follow these steps to configure traffic accounting: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Enter Ethernet port view 
interface interface-type 
interface-number 
— 
Configure traffic 
accounting 
traffic-statistic inbound 
acl-rule 
Required 
By default, traffic 
accounting is disabled.  
Clear the traffic statistics 
reset traffic-statistic 
inbound acl-rule 
Required 
 
Configuration example 
Ethernet 1/0/1 is connected to the 10.1.1.0/24 network segment. 
Perform traffic accounting on the packets sourced from the 10.1.1.0/24 network 
segment. 
Clear the traffic statistics. 
Configuration procedure: 
<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 Ethernet1/0/1 
[Sysname-Ethernet1/0/1] traffic-statistic inbound ip-group 2000 
[Sysname-Ethernet1/0/1] reset traffic-statistic inbound ip-group 2000