Local Qos Id Marking Configuration Example - HP 6125G Configuration Manual

Acl and qos configuration guide
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

# Create a behavior named behavior_dbserver, and configure the action of setting the local precedence
value to 4.
[Device] traffic behavior behavior_dbserver
[Device-behavior-behavior_dbserver] remark local-precedence 4
[Device-behavior-behavior_dbserver] quit
# Create a behavior named behavior_mserver, and configure the action of setting the local precedence
value to 3.
[Device] traffic behavior behavior_mserver
[Device-behavior-behavior_mserver] remark local-precedence 3
[Device-behavior-behavior_mserver] quit
# Create a behavior named behavior_fserver, and configure the action of setting the local precedence
value to 2.
[Device] traffic behavior behavior_fserver
[Device-behavior-behavior_fserver] remark local-precedence 2
[Device-behavior-behavior_fserver] quit
# Create a policy named policy_server, and associate classes with behaviors in the policy.
[Device] qos policy policy_server
[Device-qospolicy-policy_server] classifier classifier_dbserver behavior
behavior_dbserver
[Device-qospolicy-policy_server] classifier classifier_mserver behavior
behavior_mserver
[Device-qospolicy-policy_server] classifier classifier_fserver behavior
behavior_fserver
[Device-qospolicy-policy_server] quit
# Apply the policy named policy_server to the incoming traffic of GigabitEthernet 1/0/1.
[Device] interface gigabitethernet 1/0/1
[Device-GigabitEthernet1/0/1] qos apply policy policy_server inbound
[Device-GigabitEthernet1/0/1] quit

Local QoS ID marking configuration example

Local QoS ID marking is mainly used for re-classifying packets of multiple classes to perform a uniform
set of actions on them as a re-classified class.
Consider the case of limiting the total rate of packets with source MAC address 0001-0001-0001 and
packets with source IP address 1.1.1.1 to 128 kbps. Without QoS local ID marking, you can only assign
fixed bandwidth to the two classes by associating each of them with a rate-limit traffic behavior. With
QoS local ID marking, however, traffic limit applies to the two classes as a whole, allowing the switch to
dynamically assign the bandwidth to the two classes depending on their traffic size.
To configure local QoS ID marking to limit the total rate of the two classes, you need to mark packets of
the two classes with the same local QoS ID; create a class to match the QoS local ID, and associate this
class with the traffic policing action.
# Create ACL 2000 to match packets with source IP address 1.1.1.1.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 1.1.1.1 0
[Sysname-acl-basic-2000] quit
57

Advertisement

Table of Contents
loading

This manual is also suitable for:

3600 v2 series6125 blade switch series

Table of Contents