Step
3.
Configure
policy for all traffic on
the interface.
Configuring traffic policing for a user profile
NOTE:
The CAR policy configured for a user profile takes effect only when a user comes online through
PPPoE authentication.
When a user profile is configured, you can perform traffic policing based on users. When any user of
the user profile logs in, the authentication server automatically applies the CAR parameters
configured for the user profile to the user. When the user logs off, the system automatically removes
the CAR configuration without manual intervention.
To configure traffic policing for a user profile:
Step
1.
Enter system view.
2.
Enter user profile view.
3.
Configure
policy for the user
profile.
Configuring GTS
You can configure GTS by using either the MQC approach or non-MQC approach.
Configuring GTS by using the MQC approach
Step
1.
Enter system view.
2.
Create a traffic class
and enter traffic class
view.
Command
qos car { inbound | outbound } any cir
committed-information-rate
committed-burst-size
excess-burst-size ] ] [ green action | red
action | yellow action ] *
a
CAR
qos car { inbound | outbound } any cir
committed-information-rate
committed-burst-size
peak-information-rate
excess-burst-size ] [ green action | red
action | yellow action ] *
Command
system-view
user-profile profile-name
qos car { inbound | outbound }
any cir committed-information-rate
[ cbs committed-burst-size [ ebs
excess-burst-size ] ]
a
CAR
qos car { inbound | outbound }
any cir committed-information-rate
[ cbs committed-burst-size ] pir
peak-information-rate
excess-burst-size ]
Command
system-view
traffic classifier classifier-name [ operator
{ and | or } ]
[
cbs
[
ebs
[
cbs
pir
]
[
ebs
Remarks
N/A
The configuration made in user profile
view takes effect when the users are
online.
By default, no CAR policy is configured
for a user profile.
The conforming traffic is permitted to
pass through, and the excess traffic is
dropped.
[
ebs
51
Remarks
By default, no CAR policy is
configured on an interface.
Remarks
N/A
By default, no traffic classes
exist.