Remark policies

This chapter provides information to configure remark policies using the CLI.

Overview of remark policies for 7210 SAS-K 2F1C2T

The remark policies configure the marking behavior for the system at the egress of access SAP or access uplink port. These policies allow the user to define the FC-to-egress marking values and to use the available hardware resources efficiently. Based on the packet encapsulation used, the remark policy allows the user to define and associate service egress policies to service egress and network QoS policies to access-uplink port. The following remark policies are available:

  • dot1p

    This policy is used for service egress policy, and network QoS.

  • dscp

    This policy is used for service egress and network QoS.

  • dot1p-dscp

    This policy is used for service egress and network QoS.

The type of the remark policy identifies the bits marked in the packet header. Each of these remark policy types can be associated with only appropriate QoS policies and service entities, as listed in the following table.

Table 1. Summary of remark policy and attachment points for 7210 SAS-K 2F1C2T

Remark policy type

QoS policy

Attachment point

Packet header bits marked

dot1p

Service egress policy

Access SAP egress

dot1p bits and optionally the DEI bits, in the L2 header for service packets sent out of an Access SAP

Network policy

Access-uplink port

dot1p bits and optionally the DEI bits, in the L2 header for service packets sent out of an access-uplink port (all packets sent out of all access-uplink SAPs are marked)

dscp

Service egress policy

Access SAP egress

IP DSCP bits in the IP header (if present) for service packets sent out of an Access SAP

Network policy

Access-uplink port

IP DSCP bits in the IP header (if present) for service packets sent out of an access-uplink port Marking is done for packets sent out of all the access-uplink SAPs configured on the access-uplink port

dot1p-dscp

Service egress policy

Access SAP egress

dot1p bits and optionally the DEI bits, in the L2 header for service packets sent out of access SAP. In addition to the dot1p bits, the IP DSCP bits in the IP header (if present) are marked for service packets sent out of an Access SAP

Network policy

Access-uplink port

dot1p bits and optionally the DEI bits, in the L2 header for service packets sent out of access uplink port. In addition to the dot1p bits, the IP DSCP bits in the IP header (if present) are marked for service packets sent out of an access-uplink port. Marking is done for packets sent out of all the access-uplink SAPs configured on the access-uplink port

Configuration guidelines for 7210 SAS-K 2F1C2T

The remark policy configuration guidelines for the 7210 SAS-K 2F1C2T are the following.

  • The 7210 SAS-K 2F1C2T marks the dot1p configured in the marking policy, only if the node adds one or two tags or if it replaces existing tags. It does not touch the VLAN tag which represents customer payload (for example, the 7210 SAS-K 2F1C2T does not implement marking for packets when forwarding traffic out of dot1q range SAP or a null SAP).

  • A limited number of unique remark policies are available to be shared among all the different types of remark policies. In other words, dot1p, dscp, and dot1p-dscp remark policy types share the available resources and scaling one type of remark policy reduces the amount policies allowed for other type of remark policy.

  • The user also has an option to preserve the dot1p values in the received packet. See the CLI description for the config service sap egress dot1p-inner and config service sap egress dot1p-outer CLI commands in the 7210 SAS-D, Dxp, K 2F1C2T, K 2F6C4T, K 3SFP+ 8C Services Guide.

Overview of remark policies for 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

The remark policies are used to configure the marking behavior for the system at the egress of access SAPs, network port, hybrid ports, and access uplink ports. These policies allow the user to define the FC-to-egress marking values and allow them to use the available hardware resources efficiently. Based on the packet encapsulation used, the remark policy allows the user to define and associate service egress policies to access SAP egress and network QoS policies applied to network ports, hybrid ports, and access-uplink ports. The following type of remark policies are available:

  • dot1p

    This policy is used for service egress and network QoS policies.

  • dscp

    This policy is used for service egress and network QoS policies.

  • dot1p-dscp

    This policy is used for service egress and network QoS policies.

  • lsp-exp

    This policy is used for network QoS policies (only network ports and hybrid ports).

  • dot1p-lsp-exp

    This policy is used for network QoS policies (only network ports and hybrid ports).

  • dot1p-lsp-exp-dscp

    This policy is used for network QoS policies (only network ports and hybrid ports).

  • dscp-lsp-exp

    This policy is used for network QoS policies (only network ports and hybrid ports).

The type of the remark policy identifies the bits marked in the packet header. Each of these remark policy types can be associated with only appropriate QoS policies and service entities, as listed in Summary of remark policy and attachment points for 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C.

Table 2. Summary of remark policy and attachment points for 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Remark policy type

QoS policy

Attachment point

Packet header bits marked

dot1p

Service egress policy

Access SAP egress (applicable to SAPs configured on access ports or hybrid ports)

dot1p bits, and optionally the DEI bits, in the outermost Ethernet header for service packets sent out of an Access SAP

Network policy

Network port

hybrid port

dot1p bits, and optionally the DEI bits, in the outermost Ethernet header for all MPLS and IP packets sent out of a network IP interface configured on a network port or hybrid port

Network policy

Access-uplink port

dot1p bits, and optionally the DEI bits, in the Ethernet header for service packets sent out of an access-uplink port (all packets sent out of all access-uplink SAPs are marked)

dscp

Service egress policy

Access SAP egress (applicable to SAPs configured on access ports or hybrid ports)

IP DSCP bits in the IP header (if present) for service packets sent out of an Access SAP

Network policy

Network port

hybrid port

IP DSCP bits in the IP header (if present) for all IP packets sent out of a network IP interface configured on a network port or hybrid port

Access-uplink port

IP DSCP bits in the IP header (if present) for service packets sent out of an Access-uplink port. Marking is done for packets sent out of all access-uplink SAPs configured on the access-uplink port

dot1p-dscp

Service egress policy

Access SAP egress (applicable to SAPs configured on access ports or hybrid ports)

dot1p bits, and optionally the DEI bits, in the L2 header for service packets sent out of access SAP. In addition to the dot1p bits, the IP DSCP bits in the IP header (if present) are marked for service packets sent out of an Access SAP

Network policy

Network port

hybrid port

dot1p bits, and optionally the DEI bits, in the outermost Ethernet header for all MPLS and IP packets sent out of a network IP interface configured on a network port or hybrid port

IP DSCP bits in the IP header (if present) for all IP packets sent out of a network port IP interface configured on a network port or hybrid port

Access-uplink port

dot1p bits, and optionally the DEI bits, in the Ethernet header for service packets sent out of access uplink port. In addition to the dot1p bits, the IP DSCP bits in the IP header (if present) are marked for service packets sent out of an access-uplink port. Marking is done for packets sent out of all the access-uplink SAPs configured on the access-uplink port

lsp-exp

Network policy

Network port

hybrid port

MPLS EXP bits for the outermost MPLS labels for all MPLS packets sent out of a network IP interface configured on a network port or hybrid port

dot1p-lsp-exp

Network policy

Network port

hybrid port

dot1p bits, and optionally the DEI bits, in the outermost Ethernet header for all MPLS and IP packets sent out of a network port

MPLS EXP bits for the outermost MPLS labels for all MPLS packets sent out of a network IP interface configured on a network port or hybrid port

dot1p-lsp-exp-dscp

Network policy

Network port

hybrid port

dot1p bits, and optionally the DEI bits, in the outermost Ethernet header for all MPLS and IP packets sent out of a network IP interface configured on a network port or hybrid port

IP DSCP for all IP packets sent out of a network IP interface configured on a network port or hybrid port

MPLS EXP bits for the outermost MPLS labels for all MPLS packets sent out of a network IP interface configured on a network port or hybrid port

dscp-lsp-exp

Network Policy

Network port

hybrid port

IP DSCP for all IP packets sent out of a network IP interface configured on a network port or hybrid port

MPLS EXP bits for the outermost MPLS labels for all MPLS packets sent out of a network IP interface configured on a network port or hybrid port

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

The remark policy configuration guidelines for the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C are the following:

  • The 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C mark the dot1p configured in the marking policy only if the node adds one or two tags or if it replaces existing tags. The platforms do not modify the VLAN tag which represents customer payload; for example, the platforms do not mark the packets when forwarding traffic out of dot1q range SAP or a null SAP.

  • A limited number of unique remark policies are available to be shared among all the different types of remark policies. In other words, dot1p, dscp, dot1p-dscp, lsp-exp, dot1p-lsp-exp, dot1p-dscp-lsp-exp remark policy types share the available resources and scaling one type of remark policy reduces the amount policies allowed for other type of remark policy.

  • The user also has an option to preserve the dot1p values in the received packet. See the CLI description for the config service sap egress dot1p-inner and config service sap egress dot1p-outer commands in the 7210 SAS-D, Dxp, K 2F1C2T, K 2F6C4T, K 3SFP+ 8C Services Guide.

  • When marking is enabled without explicitly associating the remark policy, the default remark policy is used for marking packets.

  • Any remark policy that specifies MPLS lsp-exp values cannot be associated with access-uplink port. The association is blocked by the system.

  • MPLS packets sent out of a network IP interface configured on a network port or hybrid port can be marked with MPLS lsp-exp values and dot1p, DEI values if both are configured.

  • IP packets sent out of a network IP interface configured on a network port or hybrid port can be marked with IP DSCP values and dot1p, DEI values if both are configured.

  • The dot1p bits of the packets sent out of a network IP interface configured on a network port or hybrid port are always marked by default, even when remarking is disabled.

Basic configurations

A basic remark policy must conform to the following:

  • Each remark policy must have a unique policy ID.

  • The remark policy type must be specified.

  • The FC-to-egress marking values must be specified.

Creating a remark policy

To create a new remark policy, define the following:

  • a remark policy name and type (this is optional and by default is dot1p)

  • a brief description of the policy features

  • the FC-to-egress marking values

Use the following syntax to configure a remark policy.

----------------------------------------------
*A:7210SAS>config>qos>remark# info detail (applicable to SAS-K devices)
----------------------------------------------
            no description
                fc af
                    de-mark-outer
                    dot1p-inner 4
                    dot1p-outer in-profile 2 out-profile 3
                exit
                fc be
                    de-mark-outer force 0
                    dot1p-inner in-profile 4 out-profile 2
                    dot1p-outer 4
                exit
                fc ef
                    no de-mark-outer
                    dot1p-inner in-profile 4 out-profile 5
                    dot1p-outer in-profile 3 out-profile 1
                exit
                fc h1
                    de-mark-outer
                    dot1p-inner 1
                    dot1p-outer in-profile 1 out-profile 2
                exit
                fc h2                 
                    de-mark-outer
                    dot1p-inner in-profile 4 out-profile 4
                    dot1p-outer in-profile 6 out-profile 3
                exit
                fc l1
                    de-mark-outer force 1
                    dot1p-inner in-profile 2 out-profile 6
                    dot1p-outer 4
                exit
                fc l2
                    de-mark-outer
                    dot1p-inner 7
                    dot1p-outer 3
                exit
                fc nc
                    no de-mark-outer
                    dot1p-inner in-profile 2 out-profile 4
                    dot1p-outer in-profile 5 out-profile 6
                exit
*A:7210SAS>config>qos>remark#

Editing QoS policies

Existing policies and entries can be edited using the CLI or NMS. The changes are applied immediately to all services where the policy is applicable.

To prevent configuration errors, perform the following.

  1. Copy the policy to a work area.
  2. Edit the policy.
  3. Overwrite the original policy.

Remark policy command reference

Command hierarchies

Configuration commands for 7210 SAS-K 2F1C2T

config
    - qos
        - no remark policy-id 
        - remark policy-id [create] [remark-type remarking-type]
        - [no] description description-string
        - [no] fc fc-name
            - [no] de-mark-outer [force de-value]
            - dot1p-inner dot1p-value
            - dot1p-inner [in-profile dot1p-value] [out-profile dot1p-value]
            - no dot1p-inner
            - no dot1p-outer
            - dot1p-outer dot1p-value
            - dot1p-outer [in-profile dot1p-value] [out-profile dot1p-value]
            - dscp-in-profile dscp-name
            - no dscp-in-profile
            - dscp-out-profile dscp-name
            - no dscp-out-profile

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

config
    - qos
        - no remark policy-id 
        - remark policy-id [create] [remark-type remarking-type]
        - [no] description description-string
        - [no] fc fc-name
            - [no] de-mark-outer [force de-value]
            - dot1p-inner dot1p-value
            - dot1p-inner [in-profile dot1p-value] [out-profile dot1p-value]
            - no dot1p-inner
            - no dot1p-outer
            - dot1p-outer dot1p-value
            - dot1p-outer [in-profile dot1p-value] [out-profile dot1p-value]
            - dscp-in-profile dscp-name
            - no dscp-in-profile
            - dscp-out-profile dscp-name
            - no dscp-out-profile
            - lsp-exp-in-profile lsp-exp-value
            - lsp-exp-out-profile lsp-exp-value

Operational commands

config
    - qos
        - copy remark src-pol dst-pol [overwrite]

Show commands

show
    - qos
        - remark-policy [policy-id] [association | detail]

Command descriptions

Configuration commands

Generic commands
description
Syntax

[no] description description-string

Context

config>qos>remark

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command creates a text description stored in the configuration file for a configuration context.

The description command associates a text string with a configuration context to help identify the context in the configuration file.

The no form of this command removes any description string from the context.

Parameters
description-string

Specifies a text string describing the entity. Allowed values are any string up to 80 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

Remark policy QoS commands
remark
Syntax

no remark policy-id

remark policy-id [create] [remark-type remarking-type]

Context

config>qos

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command creates a new remark policy of the specified type.

The following types of remark policies are available on the 7210 SAS-K 2F1C2T:

  • dot1p

  • dscp

  • dot1p-dscp

The following type of remark policies are available on the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C:

  • dot1p — used for service egress and network QoS policies

  • dscp — used for service egress and network QoS policies

  • dot1p-dscp — used for service egress and network QoS policies

  • lsp-exp — used for network QoS policies (only network ports and hybrid ports)

  • dot1p-lsp-exp — used for network QoS policies (only network ports and hybrid ports)

  • dot1p-lsp-exp-dscp — used for network QoS policies (only network ports and hybrid ports)

  • dscp-lsp-exp — used for network QoS policies (only network ports and hybrid ports)

The remarking-type of the policy also determines the values user is allowed to configure in the policy and the QoS policy with which this policy can be associated with. See the Summary of remark policy and attachment points for 7210 SAS-K 2F1C2T for the different remark policies supported on the node and its use.

Note:

A limited number of unique remark policies are available to be shared among all the different types of remark policies. The remark policy types share the available resources, and scaling one type of remark policy reduces the number of policies allowed for other types of remark policies.

Default

no default

Parameters
policy-id

Specifies the policy ID of the remark policy.

Values

1 to 65535

remarking-type

Specifies the type of marking values in the remark policy.

Values

dot1p — Specify FC to 802.1 Dot1p value to use for marking. It is the default used if the user does not explicitly specify the remarking-type value. dscp — Specify FC to IP DSCP value to use for marking. dot1p-dscp - Specify FC to both Dot1p and IP DSCP values to use for marking.

Values

lsp-exp — Available only on the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C. Specify FC to MPLS EXP values to use for marking.

Values

dot1p-lsp-exp — Available only on the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C. Specify FC to MPLS EXP values and Dot1p values to use for marking.

Values

dot1p-dscp-lsp-exp — Available only on the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C. Specify FC to MPLS EXP values, IP DSCP values and Dot1p values to use for marking.

fc
Syntax

[no] fc fc-name

Context

config>qos>remark

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the forwarding class name and provides the context to configure the marking value for the FC. Based on the type of remark policy created, the fc command allows the user to specify the appropriate marking values. The fc command overrides the default parameters for the forwarding class to the values defined.

The no form of this command removes the forwarding class to marking values map associated with the FC. The forwarding class reverts to the defined parameters in the default remark policy.

Parameters
fc-name

Specifies a case-sensitive system-defined forwarding class name for which policy entries are created.

Values

be, l2, af, l1, h2, ef, h1, nc

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

Operational commands

copy
Syntax

copy remark src-pol dst-pol [overwrite]

Context

config>qos

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command copies existing remark policy entries to another remark policy.

The copy command is a configuration level maintenance tool used to create new policies using existing policies. It also allows bulk modifications to an existing policy with the use of the overwrite keyword.

If the destination policy already exists, the key word overwrite must be specified.

Parameters
src-pol

Specifies the source policy.

Values

1 to 65535

dst-pol

Specifies the destination policy.

Values

1 to 65535

overwrite

Keyword to overwrite the information in the source policy.

Show commands

remark-policy
Syntax

remark-policy [policy-id] [association | detail]

Context

show>qos

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays remark policy information.

Parameters
policy-id

Specifies the ID of the remark policy.

detail

Displays detailed information about the remark policy.

Output

The following output is an example of QoS remark policy information, and Output fields: remark policy describes the output fields.

Sample output
*A:SAH01-051> show qos remark-policy 300 detail
===============================================================================
QoS Remarking Policies
===============================================================================
-------------------------------------------------------------------------------
Remark Policy-id   : 300           Type         : dscp
Description        : (Not Specified)

-------------------------------------------------------------------------------
FC Name    DSCP              DSCP            
           InProf            OutProf    
-------------------------------------------------------------------------------
be         be                be   
l2         cs1               cs1  
af         af11              af12 
l1         af21              af22 
h2         af41              af41 
ef         ef                ef   
h1         nc1               nc1  
nc         nc2               nc2  
 
-------------------------------------------------------------------------------
Associations                          
-------------------------------------------------------------------------------
SAP Egress
-------------------------------------------------------------------------------
No SAP Egress Associations found.
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Network
-------------------------------------------------------------------------------
No Network Policy Associations found.
-------------------------------------------------------------------------------
==
*A:SAH01-051>show>qos#
Table 3. Output fields: remark policy

Label

Description

Remark Policy ID

The ID that uniquely identifies the policy

Type

Displays the type of the remark policy

dot1P

Dot1p value for in-profile packets

fc name

Forwarding class name