No.
Data
1
ACL rule
2
(Optional) CIR and CBS
1.5.2 Configuring Traffic Policing for the Traffic That Matches an
ACL Rule
Context
You can configure traffic policing actions and set CAR parameters such as the CIR and CBS to
limit the traffic of packets, and configure actions taken for packets with different colors.
Procedure
l
Configuring traffic policing globally
1.
Run:
system-view
The system view is displayed.
2.
Run:
traffic-limit
[
vlan
vlan-id
]
inbound
{
acl
{ [
ipv6
] {
bas-acl
|
adv-
acl
|
name
acl-name
} |
l2-acl
|
user-acl
} } [
rule
rule-id
]
cir
cir-
value
[
pir
pir-value
] [
cbs
cbs-value
pbs
pbs-value
] [ [
green
{
drop
|
pass
[
remark-8021p
8021p-value
|
remark-dscp
dscp-value
] } ] [
yellow
{
drop
|
pass
[
remark-8021p
8021p-value
|
remark-dscp
dscp-value
] } ]
[
red
{
drop
|
pass
[
remark-8021p
8021p-value
|
remark-dscp
dscp-
value
] } ] ]
Traffic policing is performed for incoming packets based on the ACL rule.
Or, run:
traffic-limit
[
vlan
vlan-id
]
outbound
{
acl
{ [
ipv6
] {
bas-acl
|
adv-
acl
|
name
acl-name
} |
l2-acl
} } [
rule
rule-id
]
cir
cir-value
[
pir
pir-value
] [
cbs
cbs-value
pbs
pbs-value
] [ [
green
{
drop
|
pass
[
remark-8021p
8021p-value
|
remark-dscp
dscp-value
] } ] [
yellow
{
drop
|
pass
[
remark-8021p
8021p-value
|
remark-dscp
dscp-value
] } ] [
red
{
drop
|
pass
[
remark-8021p
8021p-value
|
remark-dscp
dscp-value
] } ] ]
Traffic policing is performed for outgoing packets based on the ACL rule.
S3700HI Ethernet Switches
Configuration Guide - QoS
1 Class-based QoS Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
28