Defining a Custom Frame Relay Loss Priority Map
You can apply a classifier to the same interface on which you configure a Frame Relay loss priority value. The Frame Relay loss priority map is applied first, followed by the classifier. The classifier can change the loss priority to a higher value only (for example, from low to high). If the classifier specifies a loss priority with a lower value than the current loss priority of a particular packet, the classifier does not change the loss priority of that packet.
To define a custom Frame Relay loss priority map:
- At the [edit class-of-service loss-priority-maps] hierarchy level in configuration mode, specify the loss priority
map for the Frame Relay DE bit.[edit class-of-service loss-priority-maps]user@host# set frame-relay-de name loss-priority level code-points [ alias | bits ];
For example:
[edit class-of-service loss-priority-maps]user@host# set frame-relay-de fr_rw loss-priority low code-points 0;user@host# set frame-relay-de fr_rw loss-priority high code-points 0;user@host# set frame-relay-de fr_rw loss-priority medium-low code-points 1;user@host# set frame-relay-de fr_rw loss-priority medium-high code-points 1;Note: The loss priority map does not take effect until you apply it to a logical interface.
- Apply a rule to a logical interface.[edit class-of-service interfaces interface-name unit logical-unit-number loss-priority-maps]user@host# set frame-relay-de name;
For example:
[edit class-of-service interfaces so-1/0/0 unit 0 loss-priority-maps]user@host# set frame-relay-de fr_rw; - Verify the configuration in operational mode.
user@host> show class-of-service loss-priority-map
Loss-priority-map: frame-relay-de-fr_rw, Code point type: frame-relay-de, Index: 38 Code point Loss priority 0 low 0 high 1 medium-low 1 medium-high