HP MSR2000/3000/4000 Router Series ACL and QoS Command Reference

75
Examples
# Apply CAR list 1 to the outbound direction of Ethernet 1/1. CAR list 1 limits the rate of each host 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 ethernet 1/1
[Sysname-Ethernet1/1] qos car outbound carl 1 cir 100 cbs 6250 ebs 0 green pass red discard
# Apply CAR list 2 to the outbound direction of Ethernet 1/1. CAR list 2 limits the rate of each host in the
IP address range of 1.1.2.100 to 1.1.2.199 to 5 Mbps, and traffic of IP addresses in the subnet shares 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 ethernet 1/1
[Sysname-Ethernet1/1] qos car outbound carl 2 cir 5000 cbs 3125 ebs 31250 green pass red
discard
Related commands
display qos carl
qos car
GTS commands
display qos gts interface
Use display qos gts interface to view generic traffic shaping (GTS) configuration and statistics on a
specified interface or all the interfaces.
Syntax
display qos gts interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type interface-number: Specifies an interface by its type and number. If no interface is specified,
this command displays the GTS configuration and statistics on all the interfaces.
Examples
# Display the GTS configuration and statistics on all the interfaces.
<Sysname> display qos gts interface GigabitEthernet2/0/2
Interface: GigabitEthernet2/0/2
Rule: If-match any
CIR 100000 (kbps), CBS 100000 (Bytes), EBS 10000000 (Bytes)