protocol (Rewrite Rules)

Syntax

protocol protocol-types;

Hierarchy Level

[edit class-of-service interfaces interface-name unit logical-unit-number rewrite-rules exp rewrite-name],[edit class-of-service interfaces interface-name unit logical-unit-number rewrite-rules dscp rewrite-name],[edit class-of-service interfaces interface-name unit logical-unit-number rewrite-rules inet-prec rewrite-name]

Release Information

Statement introduced before Junos OS Release 7.4.

Option for dscp and inet-prec introduced in Junos OS Release 8.4.

Description

Apply a rewrite rule to MPLS packets only, and write the CoS value to MPLS headers only; or apply a rewrite rule to MPLS and IPv4 packets, and write the CoS value to MPLS and IPv4 headers.

Options

protocol-types can be one of the following:

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Related Topics