[Prev][Next][Report an Error]

Defining Rewrite Rules

Figure 40 shows the initial Quick Configuration page for defining rewrite rules, and Table 124 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.

Figure 40: Rewrite Rules Quick Configuration Page

Rewrite Rules Quick Configuration
Page

Table 124: Rewrite Rules Quick Configuration Page Summary

Field

Function

Your Action

Rewrite Rules Summary

DSCP

Allows you to redefine DSCP IPv4 code point values of outgoing packets.

To redefine a DSCP code point value, click DSCP.

DSCP IPv6

Allows you to redefine DSCP IPv6 code point values.

To redefine a DSCP IPv6 code point value, click DSCP IPv6.

MPLS EXP

Allows you to redefine MPLS experimental (EXP) bits.

To redefine MPLS EXP bits, click MPLS EXP.

IPv4 Precedence

Allows you to redefine IPv4 precedence code point values.

To redefine an IPv4 precedence code point value, 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.
    • medium-low—Rewrite rule applies to packets with a medium-low loss priority.
    • medium-high–Rewrite rule applies to packets with a medium-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.


[Prev][Next][Report an Error]