we have 2 datacenters with a layer 2 leased line in between, HP comware switches 5700 are used as core switches and the layer 2 connection (bridge aggregation) is patched directly on the comware switches.
As the layer 2 leased line has limited bandwidth, I want to prioritize some traffic (e.g. HA heartbeats from the firewalls, which are in a dedicated vlan).
My idea is to use layer 2 802.1p, create a traffic classifier, qos policy and apply this to the interfaces (where the layer 2 leased line is patched) on the switches (both sides).
In this way, in case there would be congestion on the leased line, all traffic from specific vlans would be prioritized (802.1p priority 7).
I have found some examples, but these are always assigned to a vlan (prioritizes the vlan on the switch), but I want to mark all traffic from a specific vlan and give this the highest priority by assigning this policy .
I'm struggling how to implement this...
Can anyone help me or give me an idea how I could start with this?
Any help is much appreciated!
First, you shall not use QoS level 7 (should be reserved to internal, switching mechanisms)
Mostly you need QoS5 or 6
Do you want to prioritize a vlan in the uplink only but not elsewhere on the network ?
Do you want to "keep" the priority information between the 2 datacenters ?
the backplane of this switch should be more then sufficient so I don't think I need to configure QOS om the complete switch.
If I can prioritize the vlan in the uplink only (where the layer 2 throughput is less then elsewhere), that would already be great.
About QOS 7, thanks for the heads up, I'll use queue 5 or 6.
Do you have an idea how I could set this up in a easy way?
From what you explain, you can keep the vlan prioritized on the whole switch, on both sides, with no problem. QoS mechanisms are triggered when there is congestion on an interface, thus if there is no congestion, the QoS make no difference. Hence, it will play its role only on the inter-sites link.
You shall keep it simple :
traffic classifier ALL
traffic behavior cos5
remark dot1p 5
qos policy Prio5
classifier ALL behavior cos5
qos vlan-policy Prio5 vlan 9 outbound
(assuming you want to prioritize vlan 9)
that will set 802.1q prio 5 to all frames outbound from vlan 9 (leaving the switch)
I guess last command works roughly the same applying inbound (all frame entering the switch from vlan 9 will be set CoS 5, thus prioritized when leaving the switch thereafter.
Original Message:Sent: Sep 11, 2023 07:40 AMFrom: frmeunierSubject: Comware - qos - dot1p
------------------------------Frederic MEUNIEROriginal Message:Sent: Sep 08, 2023 03:32 AMFrom: gijsSubject: Comware - qos - dot1p
I'll try this out and I'll keep you posted.
Thanks for your help, much appreciated!
traffic classifier ALL if-match anytraffic behavior cos5 remark dot1p 5 qos policy Prio5 classifier ALL behavior cos5 qos vlan-policy Prio5 vlan 9 outbound
------------------------------Frederic MEUNIEROriginal Message:Sent: Sep 11, 2023 07:49 AMFrom: gijsSubject: Comware - qos - dot1p
above configuration is working fine. Thanks for your help!
Happy to help !
(1 kudo for me ?)
© Copyright 2023 Hewlett Packard Enterprise Development LPAll Rights Reserved.