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

Create QoS policy, the behavior.

Page 70 highlights

[Sysname] traffic classifier 1 [Sysname-classifier-1] if-match service-vlan-id 10 [Sysname-classifier-1] quit [Sysname] traffic behavior 1 [Sysname-behavior-1] car name aggcar-1 [Sysname-behavior-1] quit # Create class 2 to match traffic of VLAN 100; create behavior 2, and reference the aggregate CAR in the behavior. [Sysname] traffic classifier 2 [Sysname-classifier-2] if-match service-vlan-id 100 [Sysname-classifier-2] quit [Sysname] traffic behavior 2 [Sysname-behavior-2] car name aggcar-1 [Sysname-behavior-2] quit # Create QoS policy car, associate class 1 with behavior 1, and associate class 2 with behavior 2. [Sysname] qos policy car [Sysname-qospolicy-car] classifier 1 behavior 1 [Sysname-qospolicy-car] classifier 2 behavior 2 [Sysname-qospolicy-car] quit # Apply the QoS policy to the incoming traffic of GigabitEthernet 1/0/1. [Sysname] interface GigabitEthernet 1/0/1 [Sysname-GigabitEthernet1/0/1]qos apply policy car inbound 64

  • 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

64
[Sysname] traffic classifier 1
[Sysname-classifier-1] if-match service-vlan-id 10
[Sysname-classifier-1] quit
[Sysname] traffic behavior 1
[Sysname-behavior-1] car name aggcar-1
[Sysname-behavior-1] quit
# Create class 2 to match traffic of VLAN 100; create behavior 2, and reference the aggregate CAR in
the behavior.
[Sysname] traffic classifier 2
[Sysname-classifier-2] if-match service-vlan-id 100
[Sysname-classifier-2] quit
[Sysname] traffic behavior 2
[Sysname-behavior-2] car name aggcar-1
[Sysname-behavior-2] quit
# Create QoS policy
car
, associate class 1 with behavior 1, and associate class 2 with behavior 2.
[Sysname] qos policy car
[Sysname-qospolicy-car] classifier 1 behavior 1
[Sysname-qospolicy-car] classifier 2 behavior 2
[Sysname-qospolicy-car] quit
# Apply the QoS policy to the incoming traffic of GigabitEthernet 1/0/1.
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1]qos apply policy car inbound