Class of service (CoS) can be used to classify DLSw packets, which are sent to a logical tunnel interface that loops the packets into the Packet Forwarding Engine. The Packet Forwarding Engine classifies and queues the packets based on the configured type-of-service (ToS) value.
To configure CoS for DLSw, include the dlsw-cos statement at the [edit protocols dlsw] hierarchy level:
-
dlsw-cos {
-
destination-interface interface-name;
-
type-of-service number;
- }
To enable traffic through a specified destination interface, specify the destination-interface statement. To configure the ToS value, specify the type-of-service statement.
To configure the Differentiated Services code point (DSCP) for DLSw, include the dscp statement at the [edit class-of-service interfaces interface-name unit unit-number classifiers] hierarchy level:
- dscp {
- default;
- }
For information on configuring class-of-service properties, see the JUNOS Class of Service Configuration Guide.