[an error occurred while processing this directive] [an error occurred while processing this directive]

Defining CoS Rewrite Rules (J-Web Procedure)

To define rewrite rules, select Configure > Class of Service > Rewrite Rules in the J-Web interface. Table 1 describes the related fields. Use the rewrite rules to alter the CoS values in outgoing packets to meet the requirements of the targeted peer. A rewrite rule examines the forwarding class and loss priority of a packet and sets its bits to a corresponding value specified in the rule.

Table 1: Rewrite Rules Configuration Page Summary

Field

Function

Your Action

Rewrite Rules Summary

DSCP

Redefines DSCP code point values of outgoing packets.

Click DSCP.

IPv4 Precedence

Redefines IPv4 precedence code point values.

Click IPv4 Precedence.

Rewrite Rule Name

Displays names of defined rewrite rules.

Allows you to edit a specific rule.

To edit a rule, click its name.

Forwarding Class

Displays forwarding classes associated with a specific rewrite rule.

None.

Loss Priority

Displays loss priority values associated with a specific rewrite rule.

None.

Rewrite Outgoing Code Point To

Displays the CoS values and aliases that a specific rewrite rule has set for a specific forwarding class and loss priority.

None.

Add

Opens a page that allows you to define a new rewrite rule.

To add a rewrite rule, click Add.

Delete

Removes specified rewrite rules.

To remove a rule, select the check box next to it and click Delete.

Add a Rewrite Rule/Edit Rewrite Rule

Rewrite Rule Name

Specifies a rewrite rule name.

To name a rule, type the name—for example, rewrite-dscps.

Code Point Mapping

Rewrites outgoing CoS values of a packet based on the forwarding class and loss priority.

Allows you to remove a code point mapping entry.

To configure the CoS value assignment, follow these steps:

  1. From the Forwarding Class list, select a class.
  2. Select a priority from the following:
    • low—Rewrite rule applies to packets with a low loss priority.
    • high—Rewrite rule applies to packets with a high loss priority.
  3. For Rewritten Code Point, either select a predefined CoS value and alias or type a new CoS value and alias.

    For information about predefined CoS values and aliases, see the JUNOS Class of Service Configuration Guide.

  4. Click Add.

To remove a code point mapping entry, select it and click Delete.


Published: 2009-07-22

[an error occurred while processing this directive]