R3303-HP HSR6800 Routers ACL and QoS Configuration Guide
42
Task Command
Remarks
Display interface GTS
configuration information.
display qos gts interface [ interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any
view.
Display interface rate limit
configuration information.
display qos lr interface [ interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any
view.
Traffic policing and GTS configuration examples
Traffic policing and GTS configuration example
Network requirements
As shown in Figure 13:
• Server, Host A, and Host B can access the Internet through Router A and Router B.
• Server, Host A, and GigabitEthernet 1/0/1 of Router A are in the same network segment.
• Host B and GigabitEthernet 1/0/2 of Router A are in the same network segment.
Perform traffic control for packets received on GigabitEthernet 1/0/1 of Router A from Server and Host
A, respectively, as follows:
• Limit the rate of packets from Server to 54 kbps. When the traffic rate is below 54 kbps, the traffic
is forwarded. When the traffic rate exceeds 54 kbps, the excess packets are marked with IP
precedence 0 and then forwarded.
• Limit the rate of packets from Host A to 8 kbps. When the traffic rate is below 8 kbps, the traffic is
forwarded. When the traffic rate exceeds 8 kbps, the excess packets are dropped.
Traffic control for packets forwarded by GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 of Router B
is as follows:
• Limit the receiving rate on GigabitEthernet 1/0/1 of Router B to 500 kbps, and the excess packets
are dropped.
• Limit the sending rate on GigabitEthernet 1/0/2 of Router B to 1000 kbps, and the excess packets
are dropped.