You can configure fixed classification on a logical interface by specifying a forwarding class to be applied to all packets received by the logical interface, regardless of the packet contents.
To assign a forwarding class configuration to the input logical interface, include the forwarding-class statement at the [edit class-of-service interfaces interface-name unit logical-unit-number] hierarchy level:
- [edit class-of-service interfaces interface-name unit logical-unit-number]
-
forwarding-class class-name;
You can include interface wildcards for interface-name and logical-unit-number.
In the following example, all packets coming into the router from the ge-3/0/0.0 interface are assigned to the assured-forwarding forwarding class:
- [edit class-of-service]
- interfaces {
-
- ge-3/0/0 {
-
- unit 0 {
- forwarding-class assured-forwarding;
- }
- }
- }