3com 8807 Guida Di Riferimento

Pagina di 1099
VLAN-ACL Configuration Commands
285
Use the command to perform flow limit on the packets matching the specified 
ACL (only available to the rules whose action is permit in the ACL).
When the parameter is set, it is required that cir<=pir,cbs<=ebs. It is 
recommended to set the values of cbs and ebs 100-150 times of the value of cir.
The setting of tc-index is subject to the following limitations:
remark-cos and remark-policed-service cannot be set at the same time for 
the same data flow, neither can remark-drop-priority and 
remark-policed-service.
You need to configure the "DSCP+Conform-level Ð† Service parameter" 
mapping table before configuring the remark-policed-service action; you 
need to configure the "Local-precedence + Conform-level І 802.1p priority" 
mapping table before configuring the remark-cos action. Refer to the qos 
control-level, dscp, local-precedence
 command for the descriptions of the 
two mapping tables.
Example
# Perform flow limit on packets received on the ports in VLAN 2 if they match the 
permit rule in ACL3000. Set the CIR to 2000 kbps, the CBS to 2000 bytes and the 
EBS to 2500 bytes. Drop packets when this threshold is exceeded.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] vlan 2
 
[3Com-vlan2] traffic-limit inbound ip-group 3000 200 2000 2500 
 
conform remark-policed-service exceed drop 
traffic-priority
Syntax
traffic-priority inbound ip-group { acl-number | acl-name } [ rule rule [ 
system-index index ] ] { auto | remark-policed-service { trust-dscp | dscp 
dscp-value | untrusted dscp dscp-value cos cos-value local-precedence 
local-precedence drop-priority drop-level } }
undo traffic-priority inbound ip-group { acl-number | acl-name } [ rule rule ]
View
VLAN view
Parameter
inbound: Sets priority for packets received on the port.
ip-group { acl-number | acl-name }: Activates the ACL identified by the 
acl-number or acl-name argument. The ACL here can be a basic ACL or an 
advanced ACL. acl-number: Sequence number of the ACL, ranging from 2000 to 
3999. acl-name: Name of the ACL, a string beginning with character a-z or A-Z. 
Note that this argument cannot contain spaces.
rule rule: Specifies the rule identified by the rule argument of the ACL. The rule 
argument ranges from 0 to 127. Without this keyword, this command applies to 
all rules of the ACL.