Configure the lt-0/0/0 interface:
- [edit]
- interfaces lt-0/0/0 {
-
- unit 0 {
- encapsulation frame-relay;
- dlci 100;
- peer-unit 1;
- family inet;
- }
-
- unit 1 {
- encapsulation frame-relay;
- dlci 100;
- peer-unit 0;
- family inet;
- }
- }
Enable the DLSw protocol:
- [edit protocols]
- dlsw {
- local-peer 1.1.1.1;
- remote-peer 1.1.1.2;
-
- dlsw-cos {
- type-of-service 192;
- destination-interface lt-0/0/0.0;
- }
- }
Configure the CoS parameters on the lt-0/0/0 interface:
- [edit class-of-service]
- classifiers {
-
- inet-precedence ipPREC {
-
- forwarding-class best-effort {
- loss-priority low code-points 000;
- loss-priority high code-points 001;
- }
-
- forwarding-class expedited-forwarding {
- loss-priority low code-points 010;
- loss-priority high code-points 011;
- }
-
- forwarding-class assured-forwarding {
- loss-priority low code-points 100;
- loss-priority high code-points 101;
- }
-
- forwarding-class network-control {
- loss-priority low code-points 110;
- loss-priority high code-points 111;
- }
- }
- }
- interfaces {
-
- lt-0/0/0 {
-
- unit 1 {
-
- classifiers {
- dscp default;
- }
- }
- }
- }