Hello,
I defined a classifier (TestClassifier) to be applied to the interface xe-0/0/30, but it seems that it has not been taking to account by the switch:
set class-of-service classifiers ieee-802.1 TestClassifier forwarding-class best-effort loss-priority low code-points 000
set class-of-service classifiers ieee-802.1 TestClassifier forwarding-class best-effort loss-priority low code-points 001
set class-of-service classifiers ieee-802.1 TestClassifier forwarding-class best-effort loss-priority low code-points 010
set class-of-service classifiers ieee-802.1 TestClassifier forwarding-class best-effort loss-priority low code-points 011
set class-of-service classifiers ieee-802.1 TestClassifier forwarding-class best-effort loss-priority low code-points 100
set class-of-service classifiers ieee-802.1 TestClassifier forwarding-class best-effort loss-priority low code-points 101
set class-of-service classifiers ieee-802.1 TestClassifier forwarding-class best-effort loss-priority low code-points 110
set class-of-service classifiers ieee-802.1 TestClassifier forwarding-class best-effort loss-priority low code-points 111
set class-of-service interfaces xe-0/0/30 unit 0 classifiers ieee-802.1 TestClassifier
show class-of-service interface xe-0/0/30Physical interface: xe-0/0/30, Index: 662
Maximum usable queues: 12, Queues in use: 5
Scheduler map: <default>, Index: 2
Congestion-notification: Disabled
Logical interface: xe-0/0/30.1000, Index: 566
Object Name Type Index
Classifier ieee8021p-untrust untrust 16
Logical interface: xe-0/0/30.1005, Index: 567
Object Name Type Index
Classifier ieee8021p-untrust untrust 16
Logical interface: xe-0/0/30.1011, Index: 623
Object Name Type Index
Classifier ieee8021p-untrust untrust 16
It seems it's the default classifier that is used.
How can I force the switch to use the Classifier I just defined?
Thank you!
Original Message:
Sent: 02-08-2021 09:28
From: Unknown User
Subject: Rewrite and CoS (802.1p) setting on qfx5100
Hello,
I have to implement CoS (802.1p) on a "qfx5100-48s-6q" switch.
Here is the deal: all the traffic coming on an ingress interface (xe-0/0/30.1011) in my network has to be setted with the 802.1p tag "2" or "4" when it goes out of my network through the egress interface (ae.1011).
If the traffic is not correctly tagged, it will be dropped by the operator's network.
I try to use "rewrite-rules" but it doesn't seem to work.
set class-of-service classifiers ieee-802.1 TestClass forwarding-class best-effort loss-priority low code-points 010
set class-of-service classifiers ieee-802.1 TestClass forwarding-class network-control loss-priority low code-points 110
set class-of-service interfaces ae31 unit 1011 rewrite-rules ieee-802.1 TestRw
set class-of-service rewrite-rules ieee-802.1 TestRw import default
set class-of-service rewrite-rules ieee-802.1 TestRw forwarding-class best-effort loss-priority high code-point 010
set class-of-service rewrite-rules ieee-802.1 TestRw forwarding-class best-effort loss-priority medium-high code-point 010
set class-of-service rewrite-rules ieee-802.1 TestRw forwarding-class best-effort loss-priority low code-point 010
set class-of-service rewrite-rules ieee-802.1 TestRw forwarding-class network-control loss-priority high code-point 010
set class-of-service rewrite-rules ieee-802.1 TestRw forwarding-class network-control loss-priority medium-high code-point 010
set class-of-service rewrite-rules ieee-802.1 TestRw forwarding-class network-control loss-priority low code-point 010
Can someone please explain me how to implement this mechanism on this device?
How can I map the ingress trafic ? and when it is mapped, how can I tag this traffic as it is supposed to be tagged?
Thank you in advance for your help!