You don't have the complete configuration there for BA.
You need also to define the classifier. In your configuration, you should apply the classifier to ge-0/0/2.
A more complete configuration would be this:
[edit]
lab@vastar-re0# show class-of-service
classifiers {
inet-precedence default {
forwarding-class assured-forwarding {
loss-priority low code-points [ 001 010 ];
}
}
}
interfaces {
ge-0/0/2 {
unit 0 {
classifiers {
inet-precedence default;
}
}
}
}
[edit]
lab@vastar-re0#
This means that if a packet is coming from interface ge-0/0/2 and has the precedence 001 or 010, the it will be assigned to class assured-forwarding.
=====
If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.