No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

QoS Remark DSCP to EF only for specific source or destination

Publication Date:  2018-05-23 Views:  168 Downloads:  0
Issue Description

Customer requested to Remark the packets for a specific destination network and keep trust  DSCP for the other packets.

Solution

Tested in the lab following configuration:

I used an Traffic Policy to remark, with an ACL to match traffic for a specific source or destination and apply the traffic policy on the outbound direction of the interface.

The test confirmed that when i used an IP as a source that match the ACL the packets will be Remark as DSCP EF (Expedited Forwarding) and when i use a different IP that doesn't match the ACL the packets will be only DSCP Default.

[Switch] acl 3000
[Switch-acl-adv-3000] rule permit ip source 11.11.11.2 0
[Switch-acl-adv-3000] quit

[Switch] traffic classifier c1 operator and
[Switch-classifier-c1] if-match acl 3000
[Switch-classifier-c1] quit

<HUAWEI> system-view
[HUAWEI] traffic behavior b1
[HUAWEI-behavior-b1] remark dscp ef

[Switch] traffic policy p1
[Switch-trafficpolicy-p1] classifier c1 behavior b1

[Switch] interface gigabitethernet 0/0/10
trust dscp
[Switch-GigabitEthernet0/0/10] traffic-policy p1 outbound

Remark done when ACL match the source

DSCP Defalt keeped when ACL doesn't match the packets:

 

END