36
Step
Command
Remarks
1.
Enter system view.
system
-
view
N/A
2.
Configure a CAR
list.
qos carl
carl-index
{
precedence
precedence-value
|
mac
mac-address
|
mpls-exp
mpls-exp-value
|
dscp
dscp-list
|
{
destination-ip-address
|
source-ip-address
} {
subnet
ip-address
mask-length
|
range
start-ip-address
to
end-ip-address
} [
per-address
[
shared-bandwidth
] ] }
Configure rules on the CAR list.
3.
Enter interface
view or port group
view.
•
Enter
interface
view:
interface
interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
Use one of the commands.
Settings in interface view take
effect on the current interface.
Settings in port group view take
effect on all ports in the port
group.
4.
Configure a CAR
list based CAR
policy on the
interface or port
group.
qos car
{
inbound
|
outbound
}
carl
carl-index
cir
committed-information-rate
[
cbs
committed-burst-size
[
ebs
excess-burst-size
] ] [
green
action
] [
red
action
]
N/A
Configuring ACL-based traffic policing
Step
Command
1.
Enter system view.
system-view
2.
Configure an ACL.
See "Configuring ACLs."
3.
Enter interface view.
interface
interface-type interface-number
4.
Configure an ACL-based CAR policy on
the interface.
qos car
{
inbound
|
outbound
}
acl
[
ipv6
]
acl-number
cir
committed-information-rate
[
cbs
committed-burst-size
[
ebs
excess-burst-size
] ] [
pir
peak-information-rate
]
[
green
action
] [
red
action
]
Configuring traffic policing for all traffic
Step
Command
1.
Enter system view.
system-view
2.
Enter interface view or port group view.
•
Enter
interface
view:
interface
interface-type interface-number
•
Enter port group view:
port-group manual
port-group-name
3.
Configure a CAR action for all traffic on the
interface or port group.
qos car
{
inbound
|
outbound
}
any
cir
committed-information-rate
[
cbs
committed-burst-size
[
ebs
excess-burst-size
] ] [
green
action
] [
red
action
]
Configuring GTS
GTS for software forwarding does not support IPv6.