Hi,
if you use your own forwarding classes then just replece the names. ge-0/0/0 is egress interface in this example. If it is a EX switch then you would need Junos 9.5 for this configuration.
lab@M7i-loanunit-mpergament# show class-of-service
interfaces {
ge-0/0/0 {
unit 0 {
rewrite-rules {
inet-precedence ipprec0;
}
}
}
}
rewrite-rules {
inet-precedence ipprec0 {
forwarding-class assured-forwarding {
loss-priority low code-point 000;
loss-priority high code-point 000;
}
inet-precedence ipprec0 {
forwarding-class best-effort {
loss-priority low code-point 000;
loss-priority high code-point 000;
}
inet-precedence ipprec0 {
forwarding-class expedited-forwarding {
loss-priority low code-point 000;
loss-priority high code-point 000;
}
inet-precedence ipprec0 {
forwarding-class network-control {
loss-priority low code-point 000;
loss-priority high code-point 000;
}
}
P.S. If it works for you then please mark it as worked solution + Kudo would be good.
Regards
Michael Pergament