Configuration prerequisites

z

z

The ACL rules used for traffic classification are defined. Refer to the ACL module of this manual for information about defining ACL rules.

The rate limit for traffic policing, and the actions for the packets exceeding the rate limit are determined.

Configuration procedure

You can configure traffic policing for all the packets matching specific ACL rules, or for the packets that match specific ACL rules and are of a VLAN, of a port group, or pass a port.

Follow these steps to configure traffic policing for all the packets matching specific ACL rules:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Configure traffic

traffic-limit inbound acl-ruletarget-rate

Required

[ conform con-action] [ exceed

By default, traffic policing is

policing

exceed-action] [ meter-statistic ]

disabled.

 

 

 

 

Clear the traffic

reset traffic-limit inbound acl-rule

Optional

policing statistics

 

 

 

 

 

Follow these steps to configure traffic policing for packets that are of a VLAN and match specific ACL rules:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Configure traffic

traffic-limit vlan vlan-idinbound acl-rule

Required

target-rate [ conform con-action ] [ exceed

By default, traffic policing is

policing

exceed-action] [ meter-statistic ]

disabled.

 

 

 

 

Clear the traffic

reset traffic-limit vlan vlan-idinbound

Optional

policing statistics

acl-rule

 

 

 

 

Follow these steps to configure traffic policing for packets that are of a port group and match specific ACL rules:

 

To do…

 

Use the command…

 

Remarks

 

Enter system view

 

system-view

 

 

 

 

 

 

 

 

Enter port group view

 

port-group group-id

 

 

 

 

 

 

 

 

Configure traffic

 

traffic-limit inbound acl-ruletarget-rate

 

Required

 

 

[ conform con-action] [ exceed

 

By default, traffic policing is

 

policing

 

 

 

 

exceed-action] [ meter-statistic ]

 

disabled.

 

 

 

 

 

 

 

 

 

 

 

Clear the traffic

 

reset traffic-limit inbound acl-rule

Optional

 

policing statistics

 

 

 

 

 

 

 

 

 

 

 

 

Follow these steps to configure traffic policing for packets passing a port and matching specific ACL rules:

1-21

Page 382
Image 382
3Com WX3000 Traffic-limit inbound acl-rule target-rate, Conform con-action exceed, Exceed-action meter-statistic