[Prev][Next][Report an Error]

Defining Rewrite Rules

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. For more information about rewrite rules, see the .

To define rewrite rules using the J-Web configuration editor:

  1. Select Configure>Class of Service>Rewrite Rules.

    The Configure Rewrite Rule summary page appears.

  2. Fill in the options as shown in Table 160.
  3. Click one of the following buttons:

Table 160: Rewrite Rules Configuration Options

Field

Function

Action

Configure Rewrite Rule Summary

Rewrite rule name

Displays names of defined rewrite rules.

None.

Rewrite rule type

Displays the rewrite rule type. The following types are supported for J6350 and the SRX Series devices:

  • dscp—Defines the differentiated services code point rewrite rule.
  • dscp-ipv6—Defines the differentiated services code point rewrite rule IPv6.
  • exp—Defines the MPLS EXP rewrite rule (not supported for SRX3400, SRX3600, SRX5600, and SRX5800).
  • frame-relay-de—Defines the Frame Relay discard eligible bit rewrite rule (not supported for SRX3400, SRX3600, SRX5600, and SRX5800).
  • ieee-802.1—Defines the IEEE-802.1 rewrite rule.
  • inet-precedence—Defines the IPv4 precedence rewrite rule.

None.

Code Point Details

Incoming code point

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

None.

Forwarding class name

Displays forwarding classes associated with a specific rewrite rule.

None.

Loss priority

Displays loss priority values associated with a specific rewrite rule.

None.

Add

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

To add a rewrite rule, click Add.

Edit

Opens a page that allows you to edit a selected rewrite rule.

To edit a rewrite rule, select a rewrite rule in the summary page and click Edit.

Delete

Removes selected rewrite rules.

To remove a rule, select the rewrite rule and click Delete.

Add Rewrite Rule/Edit Rewrite Rule

Rewrite rule name

Specifies a rewrite rule name.

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

Rewrite rule type

Specifies a rewrite rule type.

Select a rewrite rule type from the drop-down list—for example, dscp, ieee-802.1, or inet-precedence.

Add

Opens a page that allows you to rewrite outgoing CoS values of a packet based on the forwarding class and loss priority.

To assign a code point, forwarding class, and loss priority to the rewrite rule, click Add.

Add Code Point Mapping

Code point

Specifies the CoS value in bits and the alias of a classifier.

To specify a CoS value and alias, select one from the drop-down list.

Forwarding class

Assigns the forwarding class to the rewrite rule.

To assign a forwarding class, select one from the drop-down list:

  • expedited-forwarding—Provides low loss, low delay, low jitter, assured bandwidth, and end-to-end service. Packets can be forwarded out of sequence or dropped.
  • best-effort—Provides no special CoS handling of packets. Typically, RED drop profile is aggressive and no loss priority is defined.
  • assured-forwarding—Provides high assurance for packets within the specified service profile. Excess packets are dropped.
  • network-control—Packets can be delayed but not dropped.

Loss priority

Assigns a loss priority to the specified rewrite rule.

To assign a loss priority, select one:

  • high—Packet has a high loss priority.
  • low—Packet has a low loss priority.

[Prev][Next][Report an Error]