HP 6125G HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 78

qos lr

Page 78 highlights

qos lr Syntax qos lr { inbound | outbound } cir committed-information-rate [ cbs committed-burst-size ] View undo qos lr { inbound | outbound } Interface view Default level 2: System level Parameters inbound: Limits the rate of incoming packets on the interface. outbound: Limits the rate of outgoing packets on the interface. cir committed-information-rate: Specifies the committed information rate (CIR) in kbps, which specifies the average traffic rate. The CIR must be a multiple of 8 and ranges from 8 to 1000000 for a GE port and 8 to 10000000 for a 10-GE port. cbs committed-burst-size: Specifies the committed burst size (CBS) in bytes. • If you do not specify the cbs keyword, the CBS is 62.5 × committed-information-rate by default and must be a multiple of 512. If 62.5 × committed-information-rate is not a multiple of 512, the closest higher multiple of 512 applies. The CBS cannot exceed 16000000. • If you specify the cbs keyword, the CBS ranges from 512 to 16000000 and must be a multiple of 512. Description Use qos lr to limit the rate of incoming packets or outgoing packets on the port. Use undo qos lr to remove the rate limit. Examples # Limit the rate of outgoing packets on GigabitEthernet 1/0/1, with CIR 640 kbps. system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] qos lr outbound cir 640 73

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104

73
qos lr
Syntax
qos lr
{
inbound
|
outbound
}
cir
committed-information-rate
[
cbs
committed-burst-size
]
undo qos lr
{
inbound
|
outbound
}
View
Interface view
Default level
2: System level
Parameters
inbound
: Limits the rate of incoming packets on the interface.
outbound
: Limits the rate of outgoing packets on the interface.
cir
committed-information-rate
: Specifies the committed information rate (CIR) in kbps, which specifies the
average traffic rate. The CIR must be a multiple of 8 and ranges from 8 to 1000000 for a GE port and
8 to 10000000 for a 10-GE port.
cbs
committed-burst-size
: Specifies the committed burst size (CBS) in bytes.
If you do not specify the
cbs
keyword, the CBS is 62.5 ×
committed-information-rate
by default and
must be a multiple of 512. If 62.5 ×
committed-information-rate
is not a multiple of 512, the closest
higher multiple of 512 applies. The CBS cannot exceed 16000000.
If you specify the
cbs
keyword, the CBS ranges from 512 to 16000000 and must be a multiple of
512.
Description
Use
qos lr
to limit the rate of incoming packets or outgoing packets on the port.
Use
undo qos lr
to remove the rate limit.
Examples
# Limit the rate of outgoing packets on GigabitEthernet 1/0/1, with CIR 640 kbps.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos lr outbound cir 640