HP 6125XLG R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 47

display traffic behavior

Page 47 highlights

the product is not an integral multiple of 512, it is rounded up to the nearest integral multiple of 512 that is greater than the product. A default value greater than 256000000 is converted to 256000000. ebs excess-burst-size: Specifies the excess burst size (EBS) in bytes. The value range for the excess-burst-size argument is an integral multiple of 512 between 0 and 256000000, and the default value is 512. pir peak-information-rate: Specifies the peak information rate (PIR) in kbps. The value range for the peak-information-rate argument is an integral multiple of 8 between 8 and 160000000. green action: Specifies the action to take on packets that conform to CIR. The default setting is pass. red action: Specifies the action to take on the packet that conforms to neither CIR nor PIR. The default setting is discard. yellow action: Action to take on packets that conform to PIR but not to CIR. The default setting is pass. action: Sets the action to take on the packet: • discard: Drops the packet. • pass: Permits the packet to pass through. • remark-dot1p-pass new-cos: Sets the 802.1p priority value of the 802.1p packet to new-cos and permits the packet to pass through. The new-cos argument is in the range of 0 to 7. • remark-dscp-pass new-dscp: Sets the DSCP value of the packet to new-dscp and permits the packet to pass through. The new-dscp argument is in the range of 0 to 63. • remark-lp-pass new-local-precedence: Sets the local precedence value of the packet to new-local-precedence and permits the packet to pass through. The new-local-precedence argument is in the range of 0 to 7. Usage guidelines A QoS policy that references the traffic behavior can be applied in either the inbound direction or outbound direction of an interface. If you configure the car command multiple times in the same traffic behavior, the most recent configuration takes effect. Examples # Configure a CAR action in traffic behavior database: • Set the CIR to 200 kbps, CBS to 51200 bytes, and EBS to 0. • Transmit the conforming packets, and mark the excess packets with DSCP value 0 and transmit them. system-view [Sysname] traffic behavior database [Sysname-behavior-database] car cir 200 cbs 51200 ebs 0 green pass red remark-dscp-pass 0 display traffic behavior Use display traffic behavior to display traffic behavior information. Syntax display traffic behavior user-defined [ behavior-name ] 42

  • 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
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114

42
the product is not an integral multiple of 512, it is rounded up to the nearest integral multiple of 512 that
is greater than the product. A default value greater than 256000000 is converted to 256000000.
ebs
excess-burst-size
: Specifies the excess burst size (EBS) in bytes. The value range for the
excess-burst-size
argument is an integral multiple of 512 between 0 and 256000000, and the default
value is 512.
pir
peak-information-rate
: Specifies the peak information rate (PIR) in kbps. The value range for the
peak-information-rate
argument is an integral multiple of 8 between 8 and 160000000.
green
action
: Specifies the action to take on packets that conform to CIR. The default setting is
pass
.
red
action
: Specifies the action to take on the packet that conforms to neither CIR nor PIR. The default
setting is
discard
.
yellow
action
: Action to take on packets that conform to PIR but not to CIR. The default setting is
pass
.
action
: Sets the action to take on the packet:
discard
: Drops the packet.
pass
: Permits the packet to pass through.
remark-dot1p-pass
new-cos
: Sets the 802.1p priority value of the 802.1p packet to
new-cos
and
permits the packet to pass through. The
new-cos
argument is in the range of 0 to 7.
remark-dscp-pass
new-dscp
: Sets the DSCP value of the packet to
new-dscp
and permits the packet
to pass through. The
new-dscp
argument is in the range of 0 to 63.
remark-lp-pass
new-local-precedence
: Sets the local precedence value of the packet to
new-local-precedence
and permits the packet to pass through. The
new-local-precedence
argument
is in the range of 0 to 7.
Usage guidelines
A QoS policy that references the traffic behavior can be applied in either the inbound direction or
outbound direction of an interface.
If you configure the
car
command multiple times in the same traffic behavior, the most recent
configuration takes effect.
Examples
# Configure a CAR action in traffic behavior
database
:
Set the CIR to 200 kbps, CBS to 51200 bytes, and EBS to 0.
Transmit the conforming packets, and mark the excess packets with DSCP value 0 and transmit
them.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] car cir 200 cbs 51200 ebs 0 green pass red remark-dscp-pass
0
display traffic behavior
Use
display traffic behavior
to display traffic behavior information.
Syntax
display traffic behavior
user-defined
[
behavior-name
]