Configuring gts – H3C Technologies H3C S10500 Series Switches User Manual
Page 46
38
To do…
Use the command…
Remarks
Create a behavior and enter
behavior view
traffic behavior behavior-name —
Configure a traffic policing
action
car cir committed-information-rate [ cbs
committed-burst-size [ ebs
excess-burst-size ] ] [ pir
peak-information-rate ] [ green action ]
[ yellow action ] [ red action ]
Required
•
On LSU1TGS16SC card,
the granularity of traffic
policing is 64 kbps.
•
On SE, EA, and EB cards,
the granularity of traffic
policing is 8 kbps.
Return to system view
quit
—
Create a policy and enter
policy view
qos policy policy-name
—
Associate the class with the
traffic behavior in the QoS
policy
classifier tcl-name behavior behavior-name —
Return to system view
quit
—
To an interface
Applying the QoS policy to an interface
—
To online users
Applying the QoS policy to online users
—
To a VLAN
Applying the QoS policy to a VLAN
—
Globally
Applying the QoS policy globally
—
Apply the
QoS
policy
To the control
plane
Applying the QoS policy to the control
—
NOTE:
In a traffic behavior, do not configure traffic policing with any priority marking action (including local
precedence, 802.1p priority, DSCP value, and IP precedence marking actions) in the same traffic
behavior. Otherwise, you will fail to apply the QoS policy successfully.
Configuring GTS
The Switch Series supports queue-based GTS, which shapes traffic of a specific queue.
Follow these steps to configure GTS:
To do…
Use the command…
Remarks
Enter system view
system-view —
Enter interface
view
interface interface-type
interface-number
Enter
interface
view or
port group
view
Enter port group
view
port-group manual
port-group-name
Use either command.
Settings in interface view take effect on the
current interface. Settings in port group view
take effect on all ports in the port group.