HP 6125G HP 6125G & 6125G/XG Blade Switches ACL and QoS Configuration - Page 26

Defining a traffic behavior

Page 26 highlights

Option Description dscp dscp-list Matches DSCP values. The dscp-list argument is a list of up to eight DSCP values. A DSCP value can be a number from 0 to 63 or any keyword in Table 8. destination-mac mac-address Matches a destination MAC address. customer-dot1p 8021p-list Matches the 802.1p priority of the customer network. The 8021p-list argument is a list of up to eight 802.1p priority values. An 802.1p priority ranges from 0 to 7. service-dot1p 8021p-list Matches the 802.1p priority of the service provider network. The 8021p-list argument is a list of up to eight 802.1p priority values. An 802.1p priority ranges from 0 to 7. ip-precedence ip-precedence-list Matches IP precedence. The ip-precedence-list argument is a list of up to eight IP precedence values. An IP precedence ranges from 0 to 7. protocol protocol-name Matches a protocol. The protocol-name argument can be IP or IPv6. qos-local-id local-id-value Matches a local QoS ID, which ranges from 1 to 4095. The local QoS IDs supported on the HP 6125 switches are from 1 to 3999. source-mac mac-address Matches a source MAC address. customer-vlan-id { vlan-id-list | vlan-id1 to vlan-id2 } Matches the VLAN IDs of customer networks. The vlan-id-list argument is a list of up to eight VLAN IDs. The vlan-id1 to vlan-id2 specifies a VLAN ID range, where the vlan-id1 must be smaller than the vlan-id2. A VLAN ID ranges from 1 to 4094. service-vlan-id { vlan-id-list | vlan-id1 to vlan-id2 } Matches the VLAN IDs of ISP networks. The vlan-id-list is a list of up to eight VLAN IDs. The vlan-id1 to vlan-id2 specifies a VLAN ID range, where the vlan-id1 must be smaller than the vlan-id2. A VLAN ID ranges from 1 to 4094. Defining a traffic behavior A traffic behavior is a set of QoS actions (such as traffic filtering, shaping, policing, and priority marking) to take on a class of traffic. To define a traffic behavior, first create it and then configure QoS actions, such as priority marking and traffic redirecting, in traffic behavior view. To define a traffic behavior: Step Command Remarks 1. Enter system view. system-view N/A 2. Create a traffic behavior and enter traffic behavior view. traffic behavior behavior-name N/A 3. Configure actions in the traffic behavior. See the subsequent chapters, depending on the purpose of the traffic behavior: traffic policing, traffic filtering, traffic redirecting, priority marking, traffic accounting, and so on. 20

  • 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

20
Option
Description
dscp
dscp-list
Matches DSCP values.
The
dscp-list
argument is a list of up to eight DSCP values. A DSCP value can
be a number from 0 to 63 or any keyword in
Table 8
.
destination-mac
mac-address
Matches a destination MAC address.
customer-dot1p
8021p-list
Matches the 802.1p priority of the customer network.
The
8021p-list
argument is a list of up to eight 802.1p priority values. An
802.1p priority ranges from 0 to 7.
service-dot1p
8021p-list
Matches the 802.1p priority of the service provider network.
The
8021p-list
argument is a list of up to eight 802.1p priority values. An
802.1p priority ranges from 0 to 7.
ip-precedence
ip-precedence-list
Matches IP precedence.
The
ip-precedence-list
argument is a list of up to eight IP precedence values. An
IP precedence ranges from 0 to 7.
protocol
protocol-name
Matches a protocol.
The
protocol-name
argument can be IP or IPv6.
qos-local-id
local-id-value
Matches a local QoS ID, which ranges from 1 to 4095.
The local QoS IDs supported on the HP 6125 switches are from 1 to 3999.
source-mac
mac-address
Matches a source MAC address.
customer-vlan-id
{
vlan-id-list
|
vlan-id1
to
vlan-id2
}
Matches the VLAN IDs of customer networks.
The
vlan-id-list
argument is a list of up to eight VLAN IDs. The
vlan-id1
to
vlan-id2
specifies a VLAN ID range, where the
vlan-id1
must be smaller than
the
vlan-id2
. A VLAN ID ranges from 1 to 4094.
service-vlan-id
{
vlan-id-list
|
vlan-id1
to
vlan-id2
}
Matches the VLAN IDs of ISP networks.
The
vlan-id-list
is a list of up to eight VLAN IDs. The
vlan-id1
to
vlan-id2
specifies a VLAN ID range, where the
vlan-id1
must be smaller than the
vlan-id2
. A VLAN ID ranges from 1 to 4094.
Defining a traffic behavior
A traffic behavior is a set of QoS actions (such as traffic filtering, shaping, policing, and priority marking)
to take on a class of traffic. To define a traffic behavior, first create it and then configure QoS actions,
such as priority marking and traffic redirecting, in traffic behavior view.
To define a traffic behavior:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a traffic behavior and
enter traffic behavior view.
traffic behavior
behavior-name
N/A
3.
Configure actions in the traffic
behavior.
See the subsequent chapters, depending on the purpose of the traffic
behavior: traffic policing, traffic filtering, traffic redirecting, priority
marking, traffic accounting, and so on.