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

Configuring nesting, Configuration procedure

Page 73 highlights

Configuring nesting Nesting adds a VLAN tag to the matching packets, to allow the VLAN-tagged packets to pass through the corresponding VLAN. For example, you can add an outer VLAN tag to packets from a customer network to a service provider network. This allows the packets to pass through the service provider network by carrying a VLAN tag assigned by the service provider. Configuration procedure To configure nesting: 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. 6. Configure a VLAN tag adding action. 7. Return to system view. 8. Create a QoS policy and enter QoS policy view. 9. Associate the traffic class with the traffic behavior in the QoS policy. 10. Return to system view. 11. Apply the QoS policy. Command system-view traffic classifier classifier-name [ operator { and | or } ] if-match match-criteria quit traffic behavior behavior-name nest top-most vlan vlan-id quit qos policy policy-name classifier classifier-name behavior behavior-name quit • Applying the QoS policy to an interface • Applying the QoS policy to a VLAN • Applying the QoS policy globally Remarks N/A By default, no traffic class exists. By default, no match criteria are configured for a traffic class. For more information about the match criteria, see the if-match command in ACL and QoS Command Reference. N/A By default, no traffic behavior exists. By default, no VLAN tag adding action is configured for a traffic behavior. N/A By default, no QoS policy exists. By default, no class-behavior association is configured for a QoS policy. N/A Choose one of the application destinations as needed. By default, a QoS policy is not applied. 67

  • 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

67
Configuring nesting
Nesting adds a VLAN tag to the matching packets, to allow the VLAN-tagged packets to pass through
the corresponding VLAN. For example, you can add an outer VLAN tag to packets from a customer
network to a service provider network. This allows the packets to pass through the service provider
network by carrying a VLAN tag assigned by the service provider.
Configuration procedure
To configure nesting:
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
exists.
3.
Configure match criteria.
if-match
match-criteria
By default, no match criteria
are configured for a traffic
class.
For more information about
the match criteria, see the
if-match
command in
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 exists.
6.
Configure a VLAN tag
adding action.
nest top-most vlan
vlan-id
By default, no VLAN tag
adding action is configured
for a traffic behavior.
7.
Return to system view.
quit
N/A
8.
Create a QoS policy and
enter QoS policy view.
qos policy
policy-name
By default, no QoS policy
exists.
9.
Associate the traffic class
with the traffic behavior in
the QoS policy.
classifier
classifier-name
behavior
behavior-name
By default, no
class-behavior association
is configured for a QoS
policy.
10.
Return to system view.
quit
N/A
11.
Apply the QoS policy.
Applying the QoS policy to an interface
Applying the QoS policy to a VLAN
Applying the QoS policy globally
Choose one of the
application destinations as
needed.
By default, a QoS policy is
not applied.