Configuration Example - H3C S7500E Series Configuration Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

To do...
Configure a traffic policing
action
Exit behavior view
Create a policy and enter
policy view
Associate the class with the
traffic behavior in the QoS
policy
Exit policy view
To an interface
To online users
Apply the
To a VLAN
QoS
policy
Globally
To the control
plane
Only SC, SD and EB cards support policing traffic in the outbound direction.

Configuration Example

Configure traffic policing on GigabitEthernet 2/0/1 to limit the rate of received HTTP traffic to 512 kbps
and drop the exceeding traffic.
# Enter system view.
<Sysname> system-view
# Configure advanced ACL 3000 to match HTTP traffic.
[Sysname] acl number 3000
[Sysname-acl-adv-3000] rule permit tcp destination-port eq 80
Use the command...
car cir committed-information-rate [ cbs
committed-burst-size [ ebs
excess-burst-size ] ] [ pir
peak-information-rate ] [ green action ]
[ yellow action ] [ red action ]
quit
qos policy policy-name
classifier tcl-name behavior
behavior-name
quit
Applying the QoS policy to an interface
Applying the QoS policy to online users
Applying the QoS policy to a VLAN
Applying the QoS policy globally
Applying the QoS policy to the control
plane
5-6
Remarks
Required
On SC, SA, and EA LPUs,
the granularity of traffic
policing is 64 kbps.
On SD and EB LPUs, the
granularity of traffic policing
is 8 kbps.

Advertisement

Table of Contents
loading

Table of Contents