Traffic policing and gts configuration example, Network requirements – H3C Technologies H3C S6300 Series Switches User Manual
Page 48

38
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface
view.
interface interface-type interface-number N/A
3.
Configure the rate limit
for the interface.
qos lr { inbound | outbound } cir
committed-information-rate [ cbs
committed-burst-size ]
By default, rate limit is not
configured on an interface.
Displaying and maintaining traffic policing, GTS,
and rate limit
Execute display commands in any view.
Task Command
Display QoS and ACL resource usage.
display qos-acl resource [ slot slot-number ]
Display traffic behavior configuration.
display traffic behavior user-defined [ behavior-name ]
Display GTS configuration and statistics on
an interface.
display qos gts interface [ interface-type interface-number ]
Display rate limit configuration and statistics
on an interface.
display qos lr interface [ interface-type interface-number ]
Traffic policing and GTS configuration example
Network requirements
As shown in
, perform traffic control on Ten-GigabitEthernet 1/0/1 of Device A for traffic
received from Server and Host A, respectively, to meet the following requirements:
•
Limit the rate of traffic from Server to 102400 kbps: Transmit the conforming traffic normally, mark
the excess traffic with DSCP value 0, and then transmit the traffic.
•
Limit the rate of traffic from Host A to 25600 kbps: Transmit the conforming traffic normally, and
drop the excess traffic.
Perform traffic control on Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 of Device B to
satisfy the following requirements:
•
Limit the total incoming traffic rate of Ten-GigabitEthernet 1/0/1 to 204800 kbps and drop the
excess traffic.
•
Limit the outgoing HTTP traffic (traffic accessing the Internet) rate of Ten-GigabitEthernet 1/0/2 to
102400 kbps and drop the excess traffic.
- H3C S5820V2 Series Switches H3C S5830 Series Switches H3C S5830V2 Series Switches H3C S3600V2 Series Switches H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S5560 Series Switches H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S9800 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches