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

Page 48

Advertising
background image

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

Figure 11

, 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.

Advertising