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

Defining a criterion to match control plane protocols, being 0050-ba27-bed2.

Page 43 highlights

• To delete a criterion that matches VLAN IDs, the specified VLAN IDs in the command must be identical with those defined in the criterion (the sequence can be different). Defining a criterion to match control plane protocols • • • • • Examples This criterion cannot coexist with other criteria in a traffic class. Otherwise, the relevant QoS policy cannot be applied correctly. You can configure multiple control plane protocol match criteria for a traffic class. You can configure multiple control plane protocols in one command line. If the same control plane protocol is specified multiple times, the system considers them as one control plane protocol. If a packet matches one of the defined control plane protocols, it matches the if-match clause. To delete a criterion that matches control plane protocols, the specified control plane protocols in the command must be identical with those defined in the criterion (the sequence can be different). To view the system-defined control plane protocol types, use the display qos policy control-plane pre-defined command. # Define a match criterion for traffic class class1 to match the packets with their destination MAC addresses being 0050-ba27-bed3. system-view [Sysname] traffic classifier class1 [Sysname-classifier-class1] if-match destination-mac 0050-ba27-bed3 # Define a match criterion for traffic class class2 to match the packets with their source MAC addresses being 0050-ba27-bed2. system-view [Sysname] traffic classifier class2 [Sysname-classifier-class2] if-match source-mac 0050-ba27-bed2 # Define a match criterion for traffic class class1 to match the packets with their customer network 802.1p priority values being 3. system-view [Sysname] traffic classifier class1 [Sysname-classifier-class1] if-match customer-dot1p 3 # Define a match criterion for traffic class class1 to match the packets with their service provider network 802.1p priority values being 5. system-view [Sysname] traffic classifier class1 [Sysname-classifier-class1] if-match service-dot1p 5 # Define a match criterion for traffic class class1 to match the advanced ACL 3101. system-view [Sysname] traffic classifier class1 [Sysname-classifier-class1] if-match acl 3101 # Define a match criterion for traffic class class1 to match the ACL named flow. system-view [Sysname] traffic classifier class1 [Sysname-classifier-class1] if-match acl name flow # Define a match criterion for traffic class class1 to match the advanced IPv6 ACL 3101. system-view 38

  • 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

38
To delete a criterion that matches VLAN IDs, the specified VLAN IDs in the command must be
identical with those defined in the criterion (the sequence can be different).
Defining a criterion to match control plane protocols
This criterion cannot coexist with other criteria in a traffic class. Otherwise, the relevant QoS policy
cannot be applied correctly.
You can configure multiple control plane protocol match criteria for a traffic class.
You can configure multiple control plane protocols in one command line. If the same control plane
protocol is specified multiple times, the system considers them as one control plane protocol. If a
packet matches one of the defined control plane protocols, it matches the
if-match
clause.
To delete a criterion that matches control plane protocols, the specified control plane protocols in
the command must be identical with those defined in the criterion (the sequence can be different).
To view the system-defined control plane protocol types, use the
display qos policy control-plane
pre-defined
command.
Examples
# Define a match criterion for traffic class
class1
to match the packets with their destination MAC
addresses being 0050-ba27-bed3.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match destination-mac 0050-ba27-bed3
# Define a match criterion for traffic class
class2
to match the packets with their source MAC addresses
being 0050-ba27-bed2.
<Sysname> system-view
[Sysname] traffic classifier class2
[Sysname-classifier-class2] if-match source-mac 0050-ba27-bed2
# Define a match criterion for traffic class
class1
to match the packets with their customer network 802.1p
priority values being 3.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match customer-dot1p 3
# Define a match criterion for traffic class
class1
to match the packets with their service provider network
802.1p priority values being 5.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match service-dot1p 5
# Define a match criterion for traffic class
class1
to match the advanced ACL 3101.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match acl 3101
# Define a match criterion for traffic class
class1
to match the ACL named
flow
.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match acl name flow
# Define a match criterion for traffic class
class1
to match the advanced IPv6 ACL 3101.
<Sysname> system-view