Operation Manual – QoS
H3C S3610&S5510 Series Ethernet Switches
Chapter 7 Aggregation CAR Configuration
7-2
7.3 Applying Aggregation CAR
7.3.1 Applying Aggregation CAR to a Port or a Port Group
I. Configuration Prerequisites
z
Aggregation CAR-related parameters are determined.
z
The port or port group to which aggregation CAR is to be applied is determined.
z
ACL rules used for packet matching are determined. Refer to the ACL module in
this manual for detailed configuration.
II. Configuration Procedure
Follow these steps to apply aggregation CAR to a port or port group:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter
port
view
interface interface-type
interface-number
Enter
port
view or
port
group
view
Enter
port
group
view
port-group
{
manual
port-group-name |
aggregation
agg-id
}
Perform either of the two
operations.
The configuration
performed in port view
applies to the current port
only. Configuration
performed in port group
view applies to all the ports
in the port group.
Apply aggregation
CAR
qos car inbound acl
[
ipv6
]
acl-number
name
global-car-name
Required
III. Configuration Example
Apply aggregation CAR to Ethernet 1/0/1 and Ethernet 1/0/2 to set the maximum rate of
incoming traffic matching IPv4 ACL 2001 on the two ports to 1000 kbps and drop the
packets exceeding the specification.
Configuration procedure:
# Enter system view.
<Sysname> system-view
# Configure aggregation CAR
aggcar-1
.
[Sysname] qos car aggcar-1 aggregative cir 1000
# Apply the aggregation CAR
aggcar-1
to the inbound direction of Ethernet 1/0/1 and
Ethernet 1/0/2.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] qos car inbound acl 2001 name aggcar-1