Remark policies

This section provides information to configure remark policies using the command line interface. This section is applicable to only 7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE, 7210 SAS-Sx 10/100GE, and 7210 SAS-T devices in network mode.

Overview

The remark policies are used to configure the marking behavior for the system at the egress of access SAP access port, network ports, hybrid ports, and network IP interfaces on network ports or hybrid ports (for support available on different 7210 SAS platforms, see Summary of remark policy and attachment points for 7210 SAS-T, 7210 SAS-Sx/S 1/10GE, and 7210 SAS-Sx 10/100GE (network mode) and Summary of remark policy and attachment points for 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12). These policies allow the user to define the forwarding class 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 appropriate policies to service egress, and network QoS policies. The 7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE, 7210 SAS-Sx 10/100GE, and 7210 SAS-T support the use of the following types of remark policies for different QoS policies:

  • dot1p

    This policy is used for service egress, access port egress, and network QoS (port type policies).

  • dscp

    This policy is used for access port egress marking and network QoS policies of the port type.

  • lsp-exp

    This policy is used for network QoS policies of the ip-interface type.

  • dot1p-dscp

    This policy is used for access port egress marking and network QoS policies of the port type.

  • dot1p-lsp-exp-shared

    This policy is used for access port egress, access port egress marking, and network QoS policies of the ip-interface type.

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 tables.

Table 1. Summary of remark policy and attachment points for 7210 SAS-T, 7210 SAS-Sx/S 1/10GE, and 7210 SAS-Sx 10/100GE (network mode)
Remark policy type QoS policy Attachment point Packet header bits marked

dot1p

access-egress policy

Access port

  • Dot1p bits in L2 Ethernet header for service packets sent out of all access SAPs configured on access ports.

network policy (type port)

Network Port and Hybrid Port

  • Dot1p bits in the L2 Ethernet header for IP packets sent out of network port and hybrid port.

dscp

access-egress policy

Access port

  • IP DSCP bits in the IP header for service packets sent out of access SAPs configured on access ports.

network policy (type port)

Network Port and Hybrid Port

  • IP DSCP bits in the IP header for IP packets sent out of network port and hybrid port.

    Note:

    For the IP traffic sent out of L2 SAPs on hybrid ports, the DSCP bits are not marked.

lsp-exp

network policy (type ip-interface)

Network IP interface

  • EXP bits in the MPLS header for MPLS packets sent out of IP inter-face configured on network port and hybrid port.

dot1p-lsp-exp-shared

access-egress policy

Access port

  • Dot1p bits in L2 Ethernet header for service packets sent out of access SAPs configured on access ports.

network policy (type IP-interface)

Network IP interface

  • EXP bits in the MPLS header for MPLS packets sent out of IP interface configured on network port and hybrid port.

  • Dot1p bits in the L2 Ethernet header for MPLS packets sent out of network and hybrid port.

dot1p-dscp

access-egress policy

Access port

  • Dot1p bits in L2 Ethernet header and IP DSCP bits in the IP header for service packets sent out of access SAPs configured on access ports.

network policy (type port)

Network Port and Hybrid Port

  • Dot1p bits in the L2 Ethernet header for IP packets and IP DSCP bits in the IP header for IP packets sent out of network port and hybrid port.
    Note:

    For the IP traffic sent out of L2 SAPs on hybrid ports, the DSCP bits are not marked.

Table 2. Summary of remark policy and attachment points for 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12
Remark policy type Qos policy Attachment point Packet header bits marked

dot1p

SAP-egress policy

Service/SAP egress

Dot1p bits in the L2 Ethernet header for service packets sent out of a SAP egress

Access-egress policy

Access port

Dot1p bits in L2 Ethernet header for service packets sent out of all access SAPs configured on access ports 1

Network policy (port type)

Network port and hybrid port

Dot1p bits in the L2 Ethernet header for IP packets sent out of network port and hybrid port

dscp

Access egress policy

Access port

IP DSCP bits in the IP header for service packets sent out of access SAPs configured on access ports 1

Network policy (port type)

Network port and hybrid port

IP DSCP bits in the IP header for IP packets sent out of network port and hybrid port 1

lsp-exp

Network policy (IP-interface type)

Network IP interface

EXP bits in the MPLS header for

MPLS packets sent out of IP interface configured on network port and hybrid port

dot1p-lsp-exp-shared

Access egress policy

Access port

Dot1p bits in L2 Ethernet header for service packets sent out of access SAPs configured on access ports 1

Network policy (IP-interface type or port type)

Network IP interface or network port

EXP bits in the MPLS header for MPLS packets sent out of IP interface configured on network port and hybrid port

Dot1p bits in the L2 Ethernet header for MPLS packets sent out of network port and hybrid port

SAP egress policy

Service/SAP egress

Dot1p bits in the L2 Ethernet header for service packets sent out of a SAP egress

dot1p-dscp

Access egress policy

Access port

Dot1p bits in L2 Ethernet header and IP DSCP bits in the IP header for service packets sent out of access SAPs configured on access ports 1

Network policy (port type)

Network port and hybrid port

Dot1p bits in the L2 Ethernet header for MPLS and IP packets and IP DSCP bits in the IP header for IP packets sent out of network port and hybrid port 1

Configuration guidelines

  • For access port and access SAP marking functionality (SAP-based and port-based), the 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12 support SAP-based egress marking and port-based egress marking on only access ports when using access SAP-based egress queuing. Users have an option to use either SAP-based marking or port-based marking. In SAP-based marking, the remark policy defined in the SAP egress policy associated with each SAP is used to mark the packets egressing out of the SAP, if marking is enabled. In port-based marking, the remark policy defined in the access-egress policy associated with the access port determines the marking values to use for all the SAPs defined on that port. See Access egress QoS policies for 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12 for more information.

  • The 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12 support only access port-based marking when port-based egress queues are configured. See Access egress QoS policies for 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12 for more information.

  • If DSCP remarking or both dot1p and DSCP remarking is specified, the DSCP field for traffic sent out of SAPs configured in a Layer 2 services are not marked.

Basic configurations

A basic remark policy must confirm to the following.

  • Each remark policy must have a unique policy ID.

  • The remark policy type must be specified.

  • The forwarding class 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 is optional and by default it is 'dot1p'.

  • Provide a brief description of the policy features.

  • Specify the forwarding class to egress marking values.

Use the following syntax to configure a remark policy.

A:7210-T>config>qos# remark 122 remark-type dscp create

The following is a sample remark policy configuration output.

*A:7210SAS>config>qos>remark# info detail
----------------------------------------------
            description "Default Remarking Policy for dot1P and DSCP"
                fc af
                    dscp-in-profile af11
                    dscp-out-profile af12
                    no lsp-exp-in-profile
                    no lsp-exp-out-profile
                    no dot1p-lsp-exp-in-profile
                    no dot1p-lsp-exp-out-profile
                    no de-mark
                    no dot1p
                    dot1p-in-profile 3
                    dot1p-out-profile 2
                exit
                fc be
                    dscp-in-profile be
                    dscp-out-profile be
                    no lsp-exp-in-profile
                    no lsp-exp-out-profile
                    no dot1p-lsp-exp-in-profile
                    no dot1p-lsp-exp-out-profile
                    no de-mark
                    no dot1p
                    dot1p-in-profile 0
                    dot1p-out-profile 0
                exit
                fc ef
                    dscp-in-profile ef
                    dscp-out-profile ef
                    no lsp-exp-in-profile
                    no lsp-exp-out-profile
                    no dot1p-lsp-exp-in-profile
                    no dot1p-lsp-exp-out-profile
                    no de-mark
                    no dot1p
                    dot1p-in-profile 5
                    dot1p-out-profile 5
                exit
                fc h1
                    dscp-in-profile nc1
                    dscp-out-profile nc1
                    no lsp-exp-in-profile
                    no lsp-exp-out-profile
                    no dot1p-lsp-exp-in-profile
                    no dot1p-lsp-exp-out-profile
                    no de-mark
                    no dot1p
                    dot1p-in-profile 6
                    dot1p-out-profile 6
                exit
                fc h2
                    dscp-in-profile af41
                    dscp-out-profile af41
                    no lsp-exp-in-profile
                    no lsp-exp-out-profile
                    no dot1p-lsp-exp-in-profile
                    no dot1p-lsp-exp-out-profile
                    no de-mark
                    no dot1p
                    dot1p-in-profile 4
                    dot1p-out-profile 4
                exit
                fc l1
                    dscp-in-profile af21
                    dscp-out-profile af22
                    no lsp-exp-in-profile
                    no lsp-exp-out-profile
                    no dot1p-lsp-exp-in-profile
                    no dot1p-lsp-exp-out-profile
                    no de-mark
                    no dot1p
                    dot1p-in-profile 3
                    dot1p-out-profile 2
                exit
                fc l2
                    dscp-in-profile cs1
                    dscp-out-profile cs1
                    no lsp-exp-in-profile
                    no lsp-exp-out-profile
                    no dot1p-lsp-exp-in-profile
                    no dot1p-lsp-exp-out-profile
                    no de-mark
                    no dot1p
                    dot1p-in-profile 1
                    dot1p-out-profile 1
                exit
                fc nc
                    dscp-in-profile nc2
                    dscp-out-profile nc2
                    no lsp-exp-in-profile
                    no lsp-exp-out-profile
                    no dot1p-lsp-exp-in-profile
                    no dot1p-lsp-exp-out-profile
                    no de-mark
                    no dot1p
                    dot1p-in-profile 7
                    dot1p-out-profile 7
                exit
----------------------------------------------
*A:7210SAS>config>qos>remark#

Editing QoS policies

Existing policies and entries can be edited through 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 policies.

Remark policy command reference

Command hierarchies

Configuration commands for 7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE, 7210 SAS-Sx 10/100GE, and 7210 SAS-T in network mode

config
    - qos
        - [no] remark policy-id [remark-type remarking-type] [create]
        - [no] description description-string
        - [no] fc fc-name
            - [no] de-mark [force de-value]
            - dot1p dot1p-priority
            - no dot1p
            - dot1p-in-profile dot1p-priority
            - no dot1p-in-profile
            - dot1p-out-profile dot1p-priority
            - no dot1p-out-profile
            - 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
            - no lsp-exp-in-profile
            - lsp-exp-out-profile lsp-exp-value
            - no lsp-exp-out-profile
            - dot1p-lsp-exp-in-profile dot1p | lsp-exp value
            - no dot1p-lsp-exp-in-profile
            - dot1p-lsp-exp-out-profile dot1p | lsp-exp value
            - no dot1p-lsp-exp-out-profile

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 as described in this document, except those operating in access-uplink mode

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 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

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

no remark policy-id

Context

config>qos

Platforms

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

Description

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

The following types of remark policies are available:

  • dot1p

  • dscp

  • dot1p-dscp

  • lsp-exp

  • dot1p-lsp-exp-shared

The remark-type of the policy also determines the values user is allowed to configure in the policy and also the QoS policy with which this remark policy can be associated with. See Summary of remark policy and attachment points for 7210 SAS-T, 7210 SAS-Sx/S 1/10GE, and 7210 SAS-Sx 10/100GE (network mode) and Summary of remark policy and attachment points for 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12 for more information about remark policy.

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 the FC to 802.1 dot1p value to use for marking. It is the default used if user does not explicitly specify the remarking-type value.

dscp — Specify the FC to IP DSCP value to use for marking.

dot1p-dscp — Specify FC to both dot1p and IP DSCP values to use for marking. lsp-exp — Specify the FC to MPLS EXP values to use for marking.

dot1p-lsp-exp-shared — Specify FC to MPLS EXP and dot1p values to use for marking.

These policies share a common resource in hardware and a single FC is mapped to the same MPLS EXP value and dot1p value.

fc
Syntax

[no] fc fc-name

Context

config>qos>remark

Platforms

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

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 FC 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
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

Operational commands

copy
Syntax

copy remark src-pol dst-pol [overwrite]

Context

config>qos

Platforms

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

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 overwrite keyword 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 destination policy by 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 as described in this document, except those operating in access-uplink mode

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:SAS-C>config>qos# show qos remark-policy                     

==============================================================================
SAS Remarking Policies
==============================================================================
Policy-Id Type                     Description                                 
------------------------------------------------------------------------------
1         dscp                    Default Remarking Policy for DSCP
2         dot1p-lsp-exp-shared     Default Remarking Policy for dot1P and LSP*
500       dot1p-lsp-exp-shared                                                
505       dot1p-lsp-exp-shared                                                
510       dot1p-lsp-exp-shared                                                
515       dot1p-lsp-exp-shared                                                
520       dot1p-lsp-exp-shared                                                
525       dot1p-lsp-exp-shared                                                
530       dot1p-lsp-exp-shared                                                
535       dot1p-lsp-exp-shared                                                
540       dot1p-lsp-exp-shared                                                
545       dot1p-lsp-exp-shared                                                
550       dot1p                                                               
555       dot1p                                                               
560       dot1p                                                               
565       dot1p                                                               
570       dot1p                                                               
==============================================================================
•indicates that the corresponding row element may have been truncated.

*A:SAS-C>config>qos# show qos remark-policy 500 association 

===============================================================================
QoS Remarking Policies
===============================================================================
-------------------------------------------------------------------------------
Remark Policy-id   : 500           Type         : dot1p-lsp-exp-shared
Description        : (Not Specified)
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
SAP Egress
-------------------------------------------------------------------------------
SAP Egress Policy Id          : 5001
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 500 (VPLS)                   Customer-Id  : 1
 - SAP : lag-2:500                 
 
SAP Egress Policy Id          : 5701
                                      
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 570 (VPLS)                   Customer-Id  : 1
 - SAP : lag-2:570                 
 
SAP Egress Policy Id          : 6401
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 640 (VPLS)                   Customer-Id  : 1
 - SAP : lag-2:640                 
 
SAP Egress Policy Id          : 10001
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1000 (VPLS)                  Customer-Id  : 1
 - SAP : lag-2:1000                
 
SAP Egress Policy Id          : 10701 
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1070 (VPLS)                  Customer-Id  : 1
 - SAP : lag-2:1070                
 
SAP Egress Policy Id          : 11401
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1140 (VPLS)                  Customer-Id  : 1
 - SAP : lag-2:1140                
 
SAP Egress Policy Id          : 15001
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1500 (VPLS)                  Customer-Id  : 1
 - SAP : lag-4:1500                
                                      
SAP Egress Policy Id          : 15701
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1570 (VPLS)                  Customer-Id  : 1
 - SAP : lag-4:1570                
 
SAP Egress Policy Id          : 16401
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1640 (VPLS)                  Customer-Id  : 1
 - SAP : lag-4:1640                
 
SAP Egress Policy Id          : 20001

-------------------------------------------------------------------------------
 
-------------------------------------------------------------------------------
Network
-------------------------------------------------------------------------------
Network Policy Id             : 50
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
Interface      : ip-192.168.105.4
IP Addr.       : 192.168.105.4/24             Port Id      : 1/1/23
Interface      : ip-192.168.20.4
IP Addr.       : 192.168.20.4/24              Port Id      : lag-3
Interface      : ip-192.168.45.4
IP Addr.       : 192.168.45.4/24              Port Id      : lag-5
Interface      : ip-192.168.80.4
IP Addr.       : 192.168.80.4/24              Port Id      : 1/1/22
Network Policy Id             : 550
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
Interface      : ip-192.168.100.4
IP Addr.       : 192.168.100.4/24             Port Id      : 1/1/23
Interface      : ip-192.168.40.4
IP Addr.       : 192.168.40.4/24              Port Id      : lag-5
Interface      : ip-198.162.65.4
IP Addr.       : 192.168.65.4/24              Port Id      : 1/1/13
Network Policy Id             : 1050
                                      
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
No Interface Association Found.
 
Network Policy Id             : 1550
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
No Interface Association Found.
 
Network Policy Id             : 2050
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
No Interface Association Found.
 
-------------------------------------------------------------------------------
===============================================================================

*A:SAS-C>config>qos# show qos remark-policy 500 detail      

===============================================================================
QoS Remarking Policies
===============================================================================
-------------------------------------------------------------------------------
Remark Policy-id   : 500           Type         : dot1p-lsp-exp-shared
Description        : (Not Specified)
 
-------------------------------------------------------------------------------
FC Name    dot1P / LSP EXP          dot1P / LSP EXP 
           In Value                 Out Value
-------------------------------------------------------------------------------
be             3                        6                       
l2             1                        4                       
af             6                        1                       
l1             7                        2                       
h2             0                        3                       
ef             5                        0                       
h1             4                        7                       
nc             2                        5                       
 
-------------------------------------------------------------------------------
Associations                          
-------------------------------------------------------------------------------
SAP Egress
-------------------------------------------------------------------------------
SAP Egress Policy Id          : 5001
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 500 (VPLS)                   Customer-Id  : 1
 - SAP : lag-2:500                 
 
SAP Egress Policy Id          : 5701
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 570 (VPLS)                   Customer-Id  : 1
 - SAP : lag-2:570                 
 
SAP Egress Policy Id          : 6401
 
-------------------------------------------------------------------------------
Associations                          
-------------------------------------------------------------------------------
Service-Id     : 640 (VPLS)                   Customer-Id  : 1
 - SAP : lag-2:640                 
 
SAP Egress Policy Id          : 10001
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1000 (VPLS)                  Customer-Id  : 1
 - SAP : lag-2:1000                
 
SAP Egress Policy Id          : 10701
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1070 (VPLS)                  Customer-Id  : 1
 - SAP : lag-2:1070                
 
SAP Egress Policy Id          : 11401
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1140 (VPLS)                  Customer-Id  : 1
 - SAP : lag-2:1140                
 
SAP Egress Policy Id          : 15001
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1500 (VPLS)                  Customer-Id  : 1
 - SAP : lag-4:1500                
 
SAP Egress Policy Id          : 15701
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1570 (VPLS)                  Customer-Id  : 1
 - SAP : lag-4:1570                
 
SAP Egress Policy Id          : 16401
                                      
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1640 (VPLS)                  Customer-Id  : 1
 - SAP : lag-4:1640                
 
SAP Egress Policy Id          : 20001
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 2000 (Epipe)                 Customer-Id  : 1
 - SAP : 1/1/2:2000                
 
SAP Egress Policy Id          : 20701
 
-------------------------------------------------------------------------------
Network
-------------------------------------------------------------------------------
Network Policy Id             : 50
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
Interface      : ip-192.168.105.4
IP Addr.       : 192.168.105.4/24             Port Id      : 1/1/23
Interface      : ip-192.168.20.4
IP Addr.       : 192.168.20.4/24              Port Id      : lag-3
Interface      : ip-192.168.45.4
IP Addr.       : 192.168.45.4/24              Port Id      : lag-5
Interface      : ip-192.168.80.4
IP Addr.       : 192.168.80.4/24              Port Id      : 1/1/22
Network Policy Id             : 550
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
Interface      : ip-192.168.100.4
IP Addr.       : 192.168.100.4/24             Port Id      : 1/1/23
Interface      : ip-192.168.40.4
IP Addr.       : 192.168.40.4/24              Port Id      : lag-5
Interface      : ip-192.168.65.4
IP Addr.       : 192.168.65.4/24              Port Id      : 1/1/13
Network Policy Id             : 1050
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
No Interface Association Found.
 
Network Policy Id             : 1550
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
No Interface Association Found.
 
Network Policy Id             : 2050
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
No Interface Association Found.
 
-------------------------------------------------------------------------------
===============================================================================

*A:SAS-C>config>qos# show qos remark-policy 500 detail      

===============================================================================
QoS Remarking Policies
===============================================================================
-------------------------------------------------------------------------------
Remark Policy-id   : 500           Type         : dot1p-lsp-exp-shared
Description        : (Not Specified)
 
-------------------------------------------------------------------------------
FC Name    dot1P / LSP EXP          dot1P / LSP EXP 
           In Value                 Out Value
-------------------------------------------------------------------------------
be             3                        6                       
l2             1                        4                       
af             6                        1                       
l1             7                        2                       
h2             0                        3                       
ef             5                        0                       
h1             4                        7                       
nc             2                        5                       
 
-------------------------------------------------------------------------------
Associations                          
-------------------------------------------------------------------------------
SAP Egress
-------------------------------------------------------------------------------
SAP Egress Policy Id          : 5001
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 500 (VPLS)                   Customer-Id  : 1
 - SAP : lag-2:500                 
 
SAP Egress Policy Id          : 5701
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 570 (VPLS)                   Customer-Id  : 1
 - SAP : lag-2:570                 
 
SAP Egress Policy Id          : 6401
 
-------------------------------------------------------------------------------
Associations                          
-------------------------------------------------------------------------------
Service-Id     : 640 (VPLS)                   Customer-Id  : 1
 - SAP : lag-2:640                 
 
SAP Egress Policy Id          : 10001
 
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Network
-------------------------------------------------------------------------------
Network Policy Id             : 50
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
Interface      : ip-192.168.105.4
IP Addr.       : 192.168.105.4/24             Port Id      : 1/1/23
Interface      : ip-192.168.20.4
IP Addr.       : 192.168.20.4/24              Port Id      : lag-3
Interface      : ip-192.168.45.4
IP Addr.       : 192.168.45.4/24              Port Id      : lag-5
Interface      : ip-192.162.80.4
IP Addr.       : 192.162.80.4/24              Port Id      : 1/1/22
Network Policy Id             : 550
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
Interface      : ip-192.168.100.4
IP Addr.       : 192.168.100.4/24             Port Id      : 1/1/23
Interface      : ip-192.168.40.4
IP Addr.       : 192.168.40.4/24              Port Id      : lag-5
Interface      : ip-192.168.65.4
IP Addr.       : 192.168.65.4/24              Port Id      : 1/1/13
Network Policy Id             : 1050
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
No Interface Association Found.
 
Network Policy Id             : 1550
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
No Interface Association Found.
 
Network Policy Id             : 2050
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
No Interface Association Found.
 
-------------------------------------------------------------------------------
===============================================================================
Table 3. Output fields: remark policy
Label Description

Policy ID

The ID that uniquely identifies the policy

Remark Policy-id

Displays the policy ID of the remark policy

Type

Displays the type of remark policy

Description

A string that identifies the policy’s context in the configuration file

FC Name

Specifies the forwarding class name

dot1P/LSP EXP In value

dot1p/LSP EXP value for in-profile packets

dot1P/LSP EXP Out value

dot1p/LSP EXP value for out-of-profile packets

DCSP In value

DSCP value used for in-profile packets

DCSP Out value

DSCP value used for out-of-profile packets

Service Associations

SAP Egress Policy Id

Displays the policy ID of the SAP Egress policy

Service-Id

The unique service ID number which identifies the service in the service domain

Customer-Id

Specifies the customer ID which identifies the customer to the service

SAP

Specifies the a Service Access Point (SAP) within the service where the SAP ingress policy is applied

Network

Network Policy Id

Displays the network policy ID

Interface Association

Interface

Displays the associated interface

IP Addr.

Displays the IP address of the interface

1 For the IP traffic sent out of L2 SAPs on hybrid ports, the DSCP bits are not marked.