HP 6125XLG R2306-HP 6125XLG Blade Switch ACL and QoS Configuration Guide - Page 66

Configuring color-based priority marking

Page 66 highlights

Configuring color-based priority marking This section describes how to configure color-based priority marking. Configuring priority marking based on colors obtained through traffic policing After traffic policing evaluates and colors packets, the device can mark traffic with various priority values (including DSCP values, 802.1p priority values, and local precedence values) by color. Configure priority marking by using either of the following methods: • Configuring the priority marking actions by color in the traffic policing action • Configuring the priority marking actions by color in the behavior where the traffic policing action is configured You can use the two methods at the same time to mark multiple priority values for packets in the same color. However, do not use the two methods to mark different values of the same priority type for packets. Otherwise, the QoS policy configured with the behavior cannot be applied correctly. In a traffic behavior, an aggregate CAR action cannot be configured together with a priority marking action. Otherwise, the QoS policy configured with the behavior cannot be applied correctly. The device implements both common CAR and aggregate CAR by using a QoS policy. For more information about configuring classes and behaviors in a QoS policy, see "Configuring traffic policing, GTS, and rate limit" and "Configuring aggregate CAR." Configuring priority marking based on colors obtained through mapping drop precedence When packets are colored based on drop precedence values, you can create priority marking actions for packets in different colors in a traffic behavior and mark DSCP values, 802.1p priority values, and local precedence values for packets. Configuration procedure To configure priority marking: Step 1. Enter system view. 2. Create a traffic class and enter traffic class view. 3. Configure match criteria. 4. Return to system view. 5. Create a traffic behavior and enter traffic behavior view. Command Remarks system-view N/A traffic classifier classifier-name [ operator { and By default, no traffic class | or } ] is configured. if-match match-criteria By default, no match criterion is configured. For more information about the if-match command, see ACL and QoS Command Reference. quit N/A traffic behavior behavior-name By default, no traffic behavior is configured. 60

  • 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

60
Configuring color-based priority marking
This section describes how to configure color-based priority marking.
Configuring priority marking based on colors obtained through traffic policing
After traffic policing evaluates and colors packets, the device can mark traffic with various priority values
(including DSCP values, 802.1p priority values, and local precedence values) by color. Configure
priority marking by using either of the following methods:
Configuring the priority marking actions by color in the traffic policing action
Configuring the priority marking actions by color in the behavior where the traffic policing action is
configured
You can use the two methods at the same time to mark multiple priority values for packets in the same
color. However, do not use the two methods to mark different values of the same priority type for packets.
Otherwise, the QoS policy configured with the behavior cannot be applied correctly.
In a traffic behavior, an aggregate CAR action cannot be configured together with a priority marking
action. Otherwise, the QoS policy configured with the behavior cannot be applied correctly.
The device implements both common CAR and aggregate CAR by using a QoS policy. For more
information about configuring classes and behaviors in a QoS policy, see "
Configuring traffic policing,
GTS, and rate limit
" and "
Configuring aggregate CAR
."
Configuring priority marking based on colors obtained through mapping drop precedence
When packets are colored based on drop precedence values, you can create priority marking actions
for packets in different colors in a traffic behavior and mark DSCP values, 802.1p priority values, and
local precedence values for packets.
Configuration procedure
To configure priority marking:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a traffic class and
enter traffic class view.
traffic classifier
classifier-name
[
operator
{
and
|
or
} ]
By default, no traffic class
is configured.
3.
Configure match criteria.
if-match
match-criteria
By default, no match
criterion is configured.
For more information
about the
if-match
command, see
ACL and
QoS Command
Reference
.
4.
Return to system view.
quit
N/A
5.
Create a traffic behavior
and enter traffic behavior
view.
traffic behavior
behavior-name
By default, no traffic
behavior is configured.