@cmhungry wrote:
a can JunOS remark DSCP/COS on specific vlan?
in the documentation i found
root# show firewall
family ethernet-switching {
filter rewrite-filter {
term voice {
from {
dscp ef; # any condition could be specified here
}
then {
forwarding-class voice;
loss-priority low;
count voice-hits;
}
}
}
}
root# show interfaces ge-0/0/0
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members 1;
}
filter {
output rewrite-filter;
}
}
but when i'ь trying to apply filter on a specific vlan on output
ex4200 not commited config
Although you are applying your filter on outbound, it is really just reclassifying the traffic. Firewall filters themselves don't do any rewrite operations.
Typical approaches utilize a firewall filter on inbound for classifying the traffic (called a Multifield Classifier) and then utilizing a rewrite-rule on the outbound interface to rewrite the DSCP bits based on the associated forwarding-class of the traffic (which was associated through the use of the MF classifier).