Remark policy forwarding class commands

de-mark

Syntax

[no] de-mark [force de-value]

Context

config>qos>remark-policy>fc

Platforms

Supported on all 7210 SAS as described in this document, except those operating in access-uplink mode

Description

This command explicitly defines the marking of the DEI bit for fc fc-name according to the in and out of profile status of the packet (fc-name may be used to identify the dot1p-value).

If no de-value is present, the default values are used for the marking of the DE bit, as defined in the IEEE 802.1ad-2005 standard. For example 0 for in-profile packets, 1 for out-of-profile ones.

In the PBB case, for a Backbone SAP (B-SAP) and for packets originated from a local I-VPLS, the command dictates the marking of the DEI bit for both the BVID and ITAG.

If this command is not used, the DEI bit should be preserved if an ingress TAG exist or set to zero otherwise.

If the de-value is specifically mentioned in the command line, this value is to be used for all the packets of this forwarding class regardless of their in/out of profile status.

Parameters

de-value

Specifies the DEI value to use for this forwarding class.

Values

0 or 1

dot1p

Syntax

[no] dot1p dot1p-value

Context

config>qos>remark>fc

Platforms

Supported on all 7210 SAS as described in this document, except those operating in access-uplink mode

Description

This command explicitly defines the egress IEEE 802.1P (dot1p) bits marking for fc-name. When the marking is set, all packets of fc-name that have either an IEEE 802.1Q or IEEE 802.1P encapsulation use the explicitly defined dot1p-value. If the egress packets for fc-name are not IEEE 802.1Q or IEEE 802.1P encapsulated, the dot1p command has no effect.

DEI marking must be enabled using the de-mark command along with this command for the command to take effect. When de-mark command is configured along with this command, then the DEI bit is marked in the packet to indicate the profile of the packet. The DEI bit is marked to 0 to indicate in-profile/green packet and 1 to indicate out-of-profile/yellow packet. If the force de-value parameter is specified then the DEI bit is set to specified value for all packets.

If the no form of this command is executed then software uses the dot1p-in-profile and dot1p-out-profile if configured; otherwise, the software uses the default values.

Default

no dot1p

Parameters

dot1p-value

Specifies the 802.1p value to set for in-profile frames in this forwarding class.

Values

0 to 7

dot1p-in-profile

Syntax

dot1p-in-profile dot1p-priority

no dot1p-in-profile

Context

config>qos>remark>fc

Platforms

Supported on all 7210 SAS as described in this document, except those operating in access-uplink mode

Description

This command allows to mark on an egress the in and out of profile status through a certain dot1p combination, similarly with the DEI options. It may be used when the internal in and out of profile status needs to be communicated to an adjacent network/customer device that does not support the DEI bit.

This command explicitly defines the egress IEEE 802.1P (dot1p) bits marking for fc-name. When the marking is set, all packets with in-profile status (or green color) of fc-name that have either an IEEE 802.1Q or IEEE 802.1P encapsulation use the explicitly defined dot1p-value. If the egress packets for fc-name are not IEEE 802.1Q or IEEE 802.1P encapsulated, the dot1p command has no effect.

If DEI marking is enabled using the de-mark command and the command dot1p dot1p-value is used to configure the dot1p value, then this command has no effect. In other words, enabling DEI marking has precedence over this command and the system ignores this command.

When this command is used, the DEI Bit is left unchanged by the egress processing if a tag exists. If a new tag is added, the related DEI bit is set to 0.

When the dot1p dot1p-value command is used and de-mark is enabled, the dot1p-value is used for the entire forwarding class. This command is mutually exclusive to the use of the dot1p command.

The no form of this command sets the IEEE 802.1P or IEEE 802.1Q priority bits to 0.

Default

0

Parameters

dot1p-priority

Specifies the 802.1p value to set for in-profile frames in this forwarding class.

Values

0 to 7

dot1p-out-profile

Syntax

dot1p-out-profile dot1p-priority

no dot1p-out-profile

Context

config>qos>remark>fc

Platforms

Supported on all 7210 SAS as described in this document, except those operating in access-uplink mode

Description

This command allows to mark on an egress the in and out of profile status via a certain dot1p combination, similarly with the DEI options. It may be used when the internal in and out of profile status needs to be communicated to an adjacent network/customer device that does not support the DEI bit.

This command explicitly defines the egress IEEE 802.1P (dot1p) bits marking for fc-name. When the marking is set, all packets with out-of-profile status (or yellow color) of fc-name that have either an IEEE 802.1Q or IEEE 802.1P encapsulation use the explicitly defined dot1p-value. If the egress packets for fc-name are not IEEE 802.1Q or IEEE 802.1P encapsulated, the dot1p command has no effect.

If DEI marking is enabled using the de-mark command and the dot1p-value is configured, then this command has no effect. In other words, enabling DEI marking has precedence over this command and the system ignores this command.

When this command is used the DEI Bit is left unchanged by the egress processing if a tag exists. If a new tag is added, the related DEI bit is set to 0.

When the command dot1p dot1p-value is used and de-mark is enabled, it means that the dot1p-value is used for the entire forwarding class. These two variants of the command are mutually exclusive. In other words, this command is mutually exclusive to use of the dot1p dot1p-value command .

The no form of this command sets the IEEE 802.1P or IEEE 802.1Q priority bits to 0.

Default

0

Parameters

dot1p-priority

Specifies the 802.1p value to set for in-profile frames in this forwarding class.

Values

0 to 7

dot1p-inner

Syntax

[no] dot1p-inner [in-profile dot1p-value] [out-profile dot1p-value]

Context

config>qos>remark>fc

Platforms

Supported on all 7210 SAS as described in this document, except those operating in access-uplink mode

Description

This command allows to mark on an egress the in and out profile status through a certain dot1p combination. It may be used when the internal in and out of profile status needs to be communicated to an adjacent network/customer device that does not support the DEI bit.

This command explicitly defines the egress IEEE 802.1P (dot1p) bits marking for fc-name. When the marking is set, all packets with in-profile status (or green color) of fc-name that egress out of QinQ SAP only (for example, SAPs configured with two VLAN tags explicitly defined, such as SAP 1/1/5:10.100) use the explicitly defined in-profile and out-profile dot1p-value.

This command has no effect for egress packets sent out of all other non-QinQ SAPs, such as dot1q SAP and null SAP. Additionally, if the egress packets for fc-name are not IEEE 802.1Q or IEEE 802.1P encapsulated, this command has no effect. In other words, this command takes effect, only when the node adds 2 tags to the packet on the egress.

This variant of the command is mutually exclusive to the use of dot1p-inner command. In other words, user has a choice to use either this command or the dot1p-inner command but not both together.

If the no form of this command is executed, default remarking values are used for marking the inner VLAN.

Default

no dot1p-inner

Parameters

in-profile dot1p-value

Specifies the dot1p value to use for in-profile packets.

Values

0 to 7

out-profile dot1p-value

Specifies the dot1p bits to use for the out-profile packets.

Values

0 to 7

dscp-in-profile

Syntax

dscp-in-profile dscp-name

no dscp-in-profile

Context

config>qos>remark>fc

Platforms

Supported on all 7210 SAS as described in this document, except those operating in access-uplink mode

Description

This command specifies the in-profile DSCP name for the forwarding class. When marking is set, the corresponding DSCP value is used to mark all IP packets with in-profile status, on the egress of this forwarding class queue.

When multiple DSCP names are associated with the forwarding class in the policy, the last name entered will overwrite the previous value.

The no form of this command reverts to the factory default in-profile dscp-name value for policy ID 1.

Parameters

dscp-name

Specifies the system- or user-defined, case-sensitive DSCP name.

Values

be, cp1, cp2, cp3, cp4, cp5, cp6, cp7, cs1, cp9, af11, cp11, af12, cp13, af13, cp15, cs2, cp17, af21, cp19, af22, cp21, af23, cp23, cs3, cp25, af31, cp27, af32, cp29, af33, cp31, cs4, cp33, af41, cp35, af42, cp37, af43, cp39, cs5, cp41, cp42, cp43, cp44, cp45, ef, cp47, nc1, cp49, cp50, cp51, cp52, cp53, cp54, cp55, nc2, cp57, cp58, cp59, cp60, cp61, cp62, cp63

dscp-out-profile

Syntax

dscp-out-profile dscp-name

no dscp-out-profile

Context

config>qos>remark>fc

Platforms

Supported on all 7210 SAS as described in this document, except those operating in access-uplink mode

Description

This command specifies the out-of-profile DSCP name for the forwarding class. When marking is set, the corresponding DSCP value is used to mark all IP packets with out-of-profile status, on the egress of this forwarding class queue.

When multiple DSCP names are associated with the forwarding class in the policy, the last name entered will overwrite the previous value.

The no form of this command reverts to the factory default out-of-profile dscp-name value for policy ID 1.

Parameters

dscp-name

Specifies the system- or user-defined, case-sensitive dscp-name.

Values

be, cp1, cp2, cp3, cp4, cp5, cp6, cp7, cs1, cp9, af11, cp11, af12, cp13, af13, cp15, cs2, cp17, af21, cp19, af22, cp21, af23, cp23, cs3, cp25, af31, cp27, af32, cp29, af33, cp31, cs4, cp33, af41, cp35, af42, cp37, af43, cp39, cs5, cp41, cp42, cp43, cp44, cp45, ef, cp47, nc1, cp49, cp50, cp51, cp52, cp53, cp54, cp55, nc2, cp57, cp58, cp59, cp60, cp61, cp62, cp63

lsp-exp-in-profile

Syntax

lsp-exp-in-profile lsp-exp-value

no lsp-exp-in-profile

Context

config>qos>remark>fc

Platforms

Supported on all 7210 SAS as described in this document, except those operating in access-uplink mode

Description

This command specifies the in-profile LSP EXP value for the forwarding class. The EXP value will be used for all LSP labeled packets requiring marking the egress on this forwarding class queue that are in-profile.

When multiple EXP values are associated with the forwarding class at network egress, the last name entered will overwrite the previous value.

The no form of this command reverts to the default value.

Default

Policy ID 2 —

Factory setting

Policy ID 3 to 65535 —

Policy-id setting

Parameters

lsp-exp-value

Specifies the 3-bit LSP EXP bit value, expressed as a decimal integer.

Values

0 to 7

lsp-exp-out-profile

Syntax

lsp-exp-out-profile lsp-exp-value

no lsp-exp-out-profile

Context

config>qos>remark>fc

Platforms

Supported on all 7210 SAS as described in this document, except those operating in access-uplink mode

Description

This command specifies the out-of-profile LSP EXP value for the forwarding class. The EXP value will be used for all LSP labeled packets requiring marking the egress on this forwarding class queue that are out-of-profile.

When multiple EXP values are associated with the forwarding class at network egress, the last name entered will overwrite the previous value.

The no form of this command reverts to the default value.

Default

Policy ID2 —

Factory setting

Policy ID 3 to 65535 —

Policy-id setting

Parameters

mpls-exp-value

Specifies the 3-bit MPLS EXP bit value, expressed as a decimal integer.

Values

0 to 7

lsp-exp-in-profile

Syntax

lsp-exp-in-profile lsp-exp-value

no lsp-exp-in-profile

Context

config>qos>remark>fc

Platforms

Supported on all 7210 SAS as described in this document, except those operating in access-uplink mode

Description

This command specifies the in-profile LSP EXP value for the forwarding class. This value is used for all in-profile LSP labeled packets which require marking the egress on the forwarding class queue.

When multiple LSP EXP values are associated with the forwarding class at network egress, the last name entered overwrites the previous value.

The no form of this command reverts to the factory default in-profile EXP value.

Parameters

lsp-exp-value

Specifies a 3-bit LSP EXP bit value expressed as a decimal integer.

Values

0 to 7

lsp-exp-out-profile

Syntax

lsp-exp-out-profile lsp-exp-value

no lsp-exp-out-profile

Context

config>qos>remark>fc

Platforms

Supported on all 7210 SAS as described in this document, except those operating in access-uplink mode

Description

This command specifies the in-profile LSP EXP value for the forwarding class. This value is used for all out-of-profile LSP labeled packets which require marking the egress on the forwarding class queue.

When multiple LSP EXP values are associated with the forwarding class at network egress, the last name entered overwrites the previous value.

The no form of this command reverts to the factory default in-profile EXP value.

Parameters

lsp-exp-value

Specifies a 3-bit LSP EXP bit value, expressed as a decimal integer.

Values

0 to 7

dot1p-lsp-exp-in-profile

Syntax

dot1p-lsp-exp-in-profile dot1p | lsp-exp value

no dot1p-lsp-exp-in-profile

Context

config>qos>remark>fc

Platforms

Supported on all 7210 SAS as described in this document, except those operating in access-uplink mode

Description

This command specifies the in-profile dot1p LSP EXP value for the forwarding class. This value is used for all in-profile LSP labeled packets which require marking the egress on the forwarding class queue.

When multiple dot1p LSP EXP values are associated with the forwarding class at network egress, the last name entered overwrites the previous value.

The no form of this command reverts to the factory default in-profile dot1p LSP EXP value.

Parameters

dot1p | lsp-exp value

Specifies a 3-bit dot1p LSP EXP bit value, expressed as a decimal integer.

Values

0 to 7

dot1p-lsp-exp-out-profile

Syntax

dot1p-lsp-exp-out-profile dot1p | lsp-exp value

no dot1p-lsp-exp-out-profile

Context

config>qos>remark>fc

Platforms

Supported on all 7210 SAS as described in this document, except those operating in access-uplink mode

Description

This command specifies the out-profile dot1p LSP EXP value for the forwarding class. This value is used for all out-of-profile LSP labeled packets which require marking the egress on the forwarding class queue.

When multiple dot1p LSP EXP values are associated with the forwarding class at network egress, the last name entered overwrites the previous value.

The no form of this command reverts to the factory default in-profile dot1p LSP EXP value.

Parameters

dot1p | lsp-exp value

Specifies a 3-bit dot1p LSP EXP bit value, expressed as a decimal integer.

Values

0 to 7