Ethernet Switching
Highlighted
Ethernet Switching

EX4600 dscp marking

[ Edited ]
‎03-18-2017 09:56 PM

I need to set the dscp values on incoming packets from the hosts based on the ip address and pass it onto the upstream router (Cisco router) where the port is trusted. Iam using firewall filter with source address matching and setting the dscp values accordingly. but when i capture packets at the ingress of upstream router all the packets are still with dscp of 0. Can any one let me know what am i missing here.

 

Here is the configuration i have

family inet {
    filter dscp-filter {
        term traffic {
            from {
                source-address {
                    10.10.89.192/28;
                }
            }
            then dscp af12;
        }
    }
}

interfaces {
    irb {
       unit 312 {
        family inet {
            filter {
                input dscp-filter;
                }
            address 10.10.89.195/27
            }
        }
    }

    ge-0/0/0 {
        unit 0 {
            vlan-id 388
             family inet {
                address 10.10.59.78/30
            }
        }

    }

 

 

1 REPLY 1
Highlighted
Ethernet Switching
Solution
Accepted by topic author veluvijay@gmail.com
‎03-21-2017 08:19 AM

Re: EX4600 dscp marking

‎03-19-2017 08:55 PM

REWRITE-RULES

Configuration:

set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE import default
set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE forwarding-class VOICE-EF-CLASS loss-priority low code-point ef
set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE forwarding-class assured-forwarding loss-priority low code-point af32
set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE forwarding-class assured-forwarding loss-priority high code-point af32
set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE forwarding-class network-control loss-priority low code-point cs7
set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE forwarding-class network-control loss-priority high code-point cs6
set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE forwarding-class best-effort loss-priority low code-point be

set class-of-service interfaces ge-* unit 0 rewrite-rules dscp VOICE-DSCP-REWRITE

 

Also please check this document

 

https://kb.juniper.net/InfoCenter/index?page=content&id=KB26735

 

Thanks

Partha 

Feedback