Command Manual – QoS/ACL
Quidway S8500 Series Routing Switches
Chapter 2 QoS Commands
Huawei Technologies Proprietary
2-33
Example
# Clear traffic statistics of the ACL 4000.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway]interface e thernet3/1/1
[Quidway-Ethernet3/1/1] reset traffic-statistic inbound link-group 4000
2.1.32 traffic-limit
Syntax
I. Command format which only applies IP group ACL
In Ethernet port view:
traffic-limit
inbound
ip-group
{
acl-number
|
acl-name
} [
rule rule
[
system-index
index
] ] [
tc-index index
]
cir cbs ebs
[
pir
]
[
conform
{ {
remark-cos
|
remark-drop-priority
}* |
remark-policed-service
} ] [
exceed
{
forward
|
drop
} ]
undo traffic-limit inbound
ip-group
{
acl-number
|
acl-name
} [
rule rule
]
In VLAN view:
traffic-limit
inbound
ip-group
{
acl-number
|
acl-name
} [
rule rule
[
system-index
index
] ]
traffic-index index
]
[
conform
{ {
remark-cos
|
remark-policed-service
} ]
[
exceed
{
forward
|
drop
} ]
slot
slotid
undo traffic-limit inbound
ip-group
{
acl-number
|
acl-name
} [
rule rule
]
slot
slotid
II. Command format which applies IP group and link group ACL at the same
time
In Ethernet port view:
traffic-limit
inbound
ip-group
{
acl-number
|
acl-name
} {
rule rule link-group
{
acl-number
|
acl-name
} [
rule rule
[
system-index
index
]
] |
link-group
{
acl-number
|
acl-name
}
rule rule
} [
tc-index index
]
cir cbs ebs
[
pir
]
[
conform
{ {
remark-cos
|
remark-drop-priority
}* |
remark-policed-service
} ] [
exceed
{
forward
|
drop
} ]
undo traffic-limit inbound
ip-group
{
acl-number
|
acl-name
} {
rule rule link-group
{
acl-number
|
acl-name
} [
rule rule
] |
link-group
{
acl-number
|
acl-name
}
rule rule
}
III. Command format which only applies link group ACL
In Ethernet port view:
traffic-limit
inbound
link-group
{
acl-number
|
acl-name
} [
rule rule
[
system-index
index
]
] [
tc-index index
]
cir cbs ebs
[
pir
]
[
conform
{ {
remark-cos
|
remark-drop-priority
}* |
remark-policed-service
} ] [
exceed
{
forward
|
drop
} ]
undo traffic-limit inbound
link-group
{
acl-number
|
acl-name
} [
rule rule
]