Remark policy forwarding class commands

de-mark-outer

Syntax

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

Context

config>qos>remark-policy>fc

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command explicitly defines the marking of the DEI bit of the outermost tag for fc fc-name according to the in and out of profile status of the packet.

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

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

Note:

If remarking is enabled, the inner tag DEI is always set to zero irrespective of de-mark-outer.

If remarking is enabled and de-mark-outer is not configured then, DEI bit of the outer tag is set to zero.

If remarking is disabled then, the DEI bits are preserved for both inner and outer tag.

Parameters

de-value

Specifies the DEI value to use for this forwarding class.

Values

0 or 1

dot1p-inner

Syntax

no dot1p-inner

dot1p-inner dot1p-value

Context

config>qos>remark-policy>fc

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command explicitly defines the egress IEEE 802.1P (dot1p) bits for the inner VLAN tag marking for fc-name. When the marking is set, all packets of fc-name that egresses out of QinQ SAP only (that is, SAPs configured with two VLAN tags explicitly defined; for example, SAP 1/1/5:10.100) use the explicitly defined dot1p-value.

This command has no effect for egress packets sent out of all other non-QinQ SAPs; for example, 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.

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

Default

no dot1p-inner

Parameters

dot1p-value

Specifies the 802.1p value to set for the 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-policy>fc

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

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 (that is, SAPs configured with two VLAN tags explicitly defined; for example, SAP 1/1/5:10.100) use the explicitly defined in-profile and out-profile dot1p-value.

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

This command has no effect for egress packets sent out of all other non-QinQ SAPs; for example, 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 the 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

dot1p-outer

Syntax

dot1p-outer dot1p-value

no dot1p-outer

Context

config>qos>remark-policy>fc

Platforms

Supported on all 7210 SAS platforms as described in this document

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.

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

Default

no dot1p-outer

Parameters

dot1p-value

Specifies the dot1p values to use.

Values

0 to 7

dscp-in-profile

Syntax

dscp-in-profile dscp-name

no dscp-in-profile

Context

config>qos>remark-policy>fc

Platforms

Supported on all 7210 SAS platforms as described in this document

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 overwrites the previous value.

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

Parameters

dscp-name

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, cp, cp61, cp62, cp63

dscp-out-profile

Syntax

dscp-out-profile dscp-name

no dscp-out-profile

Context

config>qos>remark-policy>fc

Platforms

Supported on all 7210 SAS platforms as described in this document

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 overwrites the previous value.

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

Parameters

dscp-name

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, cp, cp61, cp62, cp63

dot1p-outer

Syntax

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

Context

config>qos>remark-policy>fc

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

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 in-profile dot1p-value. Similarly all the packet with out-of-profile status use the explicitly defined out-profile dot1p-value. If the egress packets for fc-name are not IEEE 802.1Q or IEEE 802.1P encapsulated, this command has no effect.

This command adds the capability to mark on an egress the in and out profile status via a specific 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 or customer device that does not support the DEI bit.

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 DEI bit is set to 0.

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

If the no form of this command is executed then the default remark values are used.

Default

no dot1p-outer

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

lsp-exp-in-profile

Syntax

[no] lsp-exp-in-profile lsp-exp-value

Context

config>qos>remark-policy>fc

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

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

When multiple MPLS EXP names are associated with the forwarding class in the policy, the last name entered overwrites the previous value.

The no form of this command reverts to the factory default in-profile MPLS EXP value setting for policy-id 1.

Default

no lsp-exp-in-profile

Parameters

lsp-exp-value

Specifies the in-profile MPLS EXP value.

Values

0 to 7

lsp-exp-out-profile

Syntax

[no] lsp-exp-out-profile lsp-exp-value

Context

config>qos>remark-policy>fc

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

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

When multiple MPLS EXP names are associated with the forwarding class in the policy, the last name entered overwrites the previous value.

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

Default

no lsp-exp-out-profile

Parameters

lsp-exp-value

Specifies the out-of-profile MPLS EXP value.

Values

0 to 7