R2511-HP MSR Router Series ACL and QoS Command Reference(V5)

79
If both the per-address keyword and the shared-bandwidth keyword are specified, the CIR
specifies the total shared bandwidth for the network segment, and will be dynamically and evenly
allocated to the traffic by IP address.
For example, apply a CAR list to an interface with 10 Mbps of total bandwidth to perform per-address
rate limiting for the network segment 192.168.0.1 to 192.168.0.100. If the shared-bandwidth keyword is
specified for the CAR list, you can set the CIR to 10 Mbps at maximum. If the shared-bandwidth keyword
is specified for the CAR list, you can set the CIR to 100 kbps at maximum.
Examples
# Configure precedence 7 for CAR list 1.
<Sysname> system-view
[Sysname] qos carl 1 precedence 7
# Apply CAR list 1 to the outbound direction of Ethernet 1/1. CAR list 1 limits the rate of each PC on the
subnet 1.1.1.0/24 to 100 kbps, and traffic of IP addresses in the subnet does not share the remaining
bandwidth.
<Sysname> system-view
[Sysname] qos carl 1 source-ip-address subnet 1.1.1.0 24 per-address
[Sysname] interface ethernet1/1
[Sysname-Ethernet1/1] qos car outbound carl 1 cir 100 cbs 6250 ebs 0 green pass red discard
# Apply CAR list 1 to the outbound direction of Ethernet 2/1. CAR list 2 limits the rate of each PC on the
network segment 1.1.2.100 through 1.1.2.199 to 5 Mbps, and traffic of IP addresses in the subnet share
the remaining bandwidth.
<Sysname> system-view
[Sysname] qos carl 2 source-ip-address range 1.1.2.100 to 1.1.2.199 per-address
shared-bandwidth
[Sysname] interface ethernet1/1
[Sysname-Ethernet1/1] qos car outbound carl 2 cir 5000 cbs 3125 ebs 31250 green pass red
discard
GTS commands
display qos gts interface
Use display qos gts interface to view generic traffic shaping (GTS) configuration information and
operational statistics on a specified interface or all the interfaces.
Syntax
display qos gts interface [ interface-type interface-number ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number.