3Com Switch 4200G Configuration Guide
Configuring TP 229
Configuring TP Refer to T for the introduction to TP.
Configuration
Prerequisites
■ ACL rules used for traffic identifying are defined. Refer to the ACL module in the
book for defining ACL rules
■ The limit rate for TP, the actions for the packets within the specified traffic and the
actions for the packets beyond the specified traffic have been specified.
■ Whether statistics is performed on TP is determined
■ The ports that needs this configuration is specified
Configuration Procedure
of TP
acl-rule: Issued ACL rules which can be the combination of various ACL rules. The way
of combination is described in
Table 196.
Displaying the Statistics
of TP
Table 195 Configuring TP
Operation Command Description
Enter system view system-view -
Enter Ethernet port view interface interface-type
interface-number
-
Use ACL rules in traffic
identifying, perform traffic
policing for the packets
matching with the ACL
rules and set traffic policing
parameters.
traffic-limit inbound
acl-rule target-rate
-
Display the parameter
configurations of traffic
policing
display qos-interface
{ interface-type
interface-num | unit-id }
traffic-limit
Optional
You can execute the display command
in any view
Display all the QoS settings
of the port
display qos-interface
{ interface-type
interface-num | unit-id } all
Table 196 The ways of issuing combined ACLs
The way of combination The form of acl-rule
Issue all the rules in an IP ACL separately ip-group acl-number
Issue a rule in an IP ACL separately ip-group acl-number rule rule
Issue all the rules in a Link ACL separately link-group acl-number
Issue a rule in a Link ACL separately link-group acl-number rule rule
Issue a rule in an IP ACL and a rule in a Link
ACL at the same time
ip-group acl-number rule rule link-group
acl-number rule rule
Table 197 Clearing the statistics of TP
Operation Command Description
Enter system view system-view -
Enter Ethernet port view interface interface-type
interface-number
-
Clear the statistics of the TP
matching with the
specified ACL rules
reset traffic-limit
inbound acl-rule
Required
The clearing function is effective only
when the TP statistics function is
configured