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

Network diagram, associate class 1 with behavior 1

Page 81 highlights

Figure 21 Network diagram Configuration procedure # Configure an aggregate CAR according to the rate limit requirements. system-view [Device] qos car aggcar-1 aggregative cir 2560 cbs 20000 red discard # Create class 1 to match traffic of VLAN 10. Create behavior 1 and reference the aggregate CAR in the behavior. [Device] traffic classifier 1 [Device-classifier-1] if-match customer-vlan-id 10 [Device-classifier-1] quit [Device] traffic behavior 1 [Device-behavior-1] car name aggcar-1 [Device-behavior-1] quit # Create class 2 to match traffic of VLAN 100. Create behavior 2 and reference the aggregate CAR in the behavior. [Device] traffic classifier 2 [Device-classifier-2] if-match customer-vlan-id 100 [Device-classifier-2] quit [Device] traffic behavior 2 [Device-behavior-2] car name aggcar-1 [Device-behavior-2] quit # Create QoS policy car, associate class 1 with behavior 1, and associate class 2 with behavior 2. [Device] qos policy car [Device-qospolicy-car] classifier 1 behavior 1 [Device-qospolicy-car] classifier 2 behavior 2 [Device-qospolicy-car] quit # Apply the QoS policy to the incoming traffic of Ten-GigabitEthernet 1/1/5. 75

  • 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

75
Figure 21
Network diagram
Configuration procedure
# Configure an aggregate CAR according to the rate limit requirements.
<Device> system-view
[Device] qos car aggcar-1 aggregative cir 2560 cbs 20000 red discard
# Create class 1 to match traffic of VLAN 10. Create behavior 1 and reference the aggregate CAR in the
behavior.
[Device] traffic classifier 1
[Device-classifier-1] if-match customer-vlan-id 10
[Device-classifier-1] quit
[Device] traffic behavior 1
[Device-behavior-1] car name aggcar-1
[Device-behavior-1] quit
# Create class 2 to match traffic of VLAN 100. Create behavior 2 and reference the aggregate CAR in
the behavior.
[Device] traffic classifier 2
[Device-classifier-2] if-match customer-vlan-id 100
[Device-classifier-2] quit
[Device] traffic behavior 2
[Device-behavior-2] car name aggcar-1
[Device-behavior-2] quit
# Create QoS policy
car
, associate class 1 with behavior 1, and associate class 2 with behavior 2.
[Device] qos policy car
[Device-qospolicy-car] classifier 1 behavior 1
[Device-qospolicy-car] classifier 2 behavior 2
[Device-qospolicy-car] quit
# Apply the QoS policy to the incoming traffic of Ten-GigabitEthernet 1/1/5.