Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
I followed the following guide to configure DSCP remarking on EX4200. I want to make all traffic going-out
interface ge-0/1/1.0 to be DSCP remarked as AF31. However, it doesn't work.
I use port mirror to monitor the out-going traffic. I cannot see DSCP was remarked.
Please help. Thanks.
set class-of-service forwarding-classes class office-DSCP-forwarding queue-num 5set class-of-service rewrite-rules dscp office-DSCP-forwarding forwarding-class office-DSCP-forwarding loss-priority low code-point 011010set firewall family ethernet-switching filter office-rewrite-filter term 1 from source-address 10.11.72.132set firewall family ethernet-switching filter office-rewrite-filter term 1 from source-address 10.11.72.133set firewall family ethernet-switching filter office-rewrite-filter term 1 then forwarding-class office-DSCP-forwardingset firewall family ethernet-switching filter office-rewrite-filter term 1 then loss-priority lowset firewall family ethernet-switching filter office-rewrite-filter term 1 then count office-hitsset interfaces ge-0/1/1 unit 0 family ethernet-switching filter output office-rewrite-filter
Where do you do your port mirroring ?
As remarking is the last outgoing step you can only see the result behind the outgoing interface, not on the same EX, you need to do port mirroring on the next hop.
(In the KB they connect a PC with wireshark on the outgoing port)
I removed the mirroring port and connect a machine to the port and capture the packet in destination machine. I still cannot set the DSCP in the packet.
Is there any wrong in the setting? Thanks.
I just found I missed a setting.
set class-of-service interfaces ge-0/1/1 unit 0 rewrite-rules dscp office-DSCP-forwarding
So KB is also wrong.