Network QoS policies

This chapter provides information to configure network QoS policies using the CLI.

Overview of network QoS policy on 7210 SAS-K 2F1C2T

Network QoS policies have an ingress and egress component, which define the QoS processing behavior to be provided for packets that ingress the access-uplink port and egress the access-uplink port respectively.

The ingress component of the policy defines how the IP DSCP and dot1p values using the DSCP and dot1p classification policies are mapped to internal FC and profile state for the 7210 SAS-K 2F1C2T. The FC and profile state define the Per Hop Behavior (PHB) or the QoS treatment through the system. The mapping on each access-uplink port defaults to the mappings defined in the default network QoS policy until an explicit policy is defined for the access-uplink ports. It also defines the bandwidth-limiting parameters for the traffic mapped to each FC. Traffic mapped to each FC can be limited to configurable bandwidth values using separate queues for unicast traffic and multipoint traffic.

7210 SAS platforms provide different mechanisms to limit the bandwidth per FC. On 7210 SAS-K 2F1C2T, users can use the queue with packet buffers and a rate shaper to limit and shape the traffic per FC. Use of queue with shapers typically allows for better TCP traffic behavior in the network.

The egress component of the network QoS policy defines the marking values associated with each FC.

On the 7210 SAS, the user has an option to define the number of queues to use per access-uplink port and map the FC to queues. By default, network QoS policy 1 is used for access-uplink ports, until an explicit policy is associated. The default policy creates eight queues per access-uplink port. The queues are assigned default values for all the parameters defined with the default policy.

Access-uplink port egress marking supports the following:

  • For packets sent out of an access-uplink port, the network QoS policy defines the marking values (for example, IEEE 802.1p bits and so on) to use based on the FC and the profile state.

  • The default map of FC to marking values (for example, 802.1p bits and so on) is as shown in the default network QoS policy, policy-id 1.

  • All non-default network QoS policies inherit the default map and can be modified by the user.

  • Remarking can be enabled or disabled on access-uplink ports.

  • An option is available to map FC and profile to either IP DSCP and dot1p bits along with DEI bit.

Non-default network policy parameters can be modified. The no form of this command reverts to the default values.

Changes made to a policy are applied immediately to all access uplink ports where the policy is applied. For this reason, when a policy requires several changes, Nokia recommends that you copy the policy to a work area policy-id. The work-in-progress copy can be modified, and then the original policy-id can be overwritten using the config qos copy command.

See the CLI usage chapter in the 7210 SAS-D, Dxp, K 2F1C2T, K 2F6C4T, K 3SFP+ 8C Basic System Configuration Guide for information about the tasks and commands required to access the CLI and to configure and maintain 7210 SAS devices.

Resource allocation for network QoS policy for 7210 SAS-K 2F1C2T

The queues required for access-uplink port egress are allocated for the egress queue system pool. Queues from the egress queue system pool are allocated for per SAP egress queues and per access-uplink port egress queues.

The dot1p policy and DSCP policy resources used for network qos ingress FC assignment on access-uplink port, is shared with the per SAP ingress classification criteria from the system pool.

Basic configurations for 7210 SAS-K 2F1C2T

A basic network QoS policy must conform to the following:

  • have a unique policy ID

  • specify the default-action

  • have a QoS policy scope of template or exclusive

  • on a 7210 SAS platform, have at least one default unicast FC meter/queue

  • on a 7210 SAS platform, have at least one multipoint FC meter/queue

Create a network QoS policy for access-uplink ports on 7210 SAS-K 2F1C2T

Configuring and applying QoS policies other than the default policy is optional. A default network policy of the appropriate type is applied to each access uplink port.

To create an network QoS policy, define the following:

  • Specify a network policy ID value. The system does not dynamically assign a value.

  • Include a description that provides a brief overview of policy features.

  • Use egress marking and remarking to specify the egress FC to marking value (for example, IEEE 802.1p and so on) map; otherwise, the default values are applied. The following are defined:

    • remarking

      If enabled, this command remarks ALL packets that egress on the specified access uplink port. The remarking is based on the FC to marking values mapping defined under the egress node of the network QoS policy. On the 7210 SAS-K 2F1C2T, the user has an option to enable it or disable it.

    • FC criteria

      The FC name represents an egress queue. Specify FC criteria to define the marking criteria of packets flowing through it.

    • marking value

      The marking (for example, IEEE 802.1p) value is used for all packets requiring marking that egress on this FC queue that are in or out of profile.

  • Specify ingress criteria to use for FC mapping for all packets using the following:

    • default action

      Defines the default action to be taken for packets that have undefined dot1p bits set. The default-action specifies the FC to which the packets are assigned.

    • dot1p

      On the 7210 SAS-K 2F1C2T, the user has an option to specify either dot1p or IP DSCP to FC mapping for all packets. Ingress traffic that matches the specified criteria are assigned to the corresponding FC.

Use the following syntax to create a network QoS policy for 7210 SAS-K 2F1C2T.

config>qos#
    config>qos>network network-policy id create
        description description-string
        scope {exclusive | template}
        egress
            [no] remarking
            remark remark-policy id
            no remark
        ingress
            default-action fc fc name
            dot1p-classification dot1p-classification id
            dscp-classification dscp-classification id
            queue queue id create
        fc fc-name create
                    queue queue-id
                    multicast-queue queue-id
                    [no] use-dei

Use the following syntax to associate a network QoS policy with the access-uplink port.

config>port
    ethernet
        access
            uplink
                qos network-policy-id
config>router
    interface interface-name
        qos network-policy-id

The following is a sample configuration output that displays uplink port 1/1/1 with network policy 600 applied to the interface.

A:ALA-7>config# info
#--------------------------------------------------
echo "Port Configuration"
#--------------------------------------------------
    port 1/1/1
        shutdown
        description "port 1/1/1"
        ethernet
            mode access uplink
            access
                uplink
                    qos 600
                exit
            exit
        exit
    exit
...
#--------------------------------------------------
A:ALA-7>config#

Default network policy values for access-uplink ports on 7210 SAS-K 2F1C2T

The default network policy for access-uplink ports is identified as policy-id ‟1”. Default policies cannot be modified or deleted.

The following is sample configuration output that shows the default network policy parameters.

7210SAS>config>qos>network# info
----------------------------------------------
            description "Default network-port QoS policy."
            ingress
                dot1p-classification 1
                queue 1 create
                exit
                queue 2 create
                    rate cir 25
                exit
                queue 3 create
                    rate cir 25
                exit
                queue 4 create
                    rate cir 25
                exit
                queue 5 create
                    rate cir 100
                exit
                queue 6 create
                    rate cir 100
                exit
                queue 7 create
                    rate cir 10
                exit
                queue 8 create
                    rate cir 10
                exit
                fc "af" create
                    queue 3
                    multicast-queue 3
                exit
                fc "be" create
                    queue 1
                    multicast-queue 1
                exit
                fc "ef" create
                    queue 6
                    multicast-queue 6
                exit
                fc "h1" create
                    queue 7
                    multicast-queue 7
                exit
                fc "h2" create
                    queue 5
                    multicast-queue 5
                exit
                fc "l1" create
                    queue 4
                    multicast-queue 4
                exit
                fc "l2" create
                    queue 2
                    multicast-queue 2
                exit
                fc "nc" create
                    queue 8
                    multicast-queue 8
                exit
            exit
            egress
            exit
----------------------------------------------
*7210 SAS>config>qos>network#

The following table list default network policy parameters.

Table 1. Network policy ID #1 defaults for access-uplink ports

Field

Default

description

Default network QoS policy.

scope

template

ingress

default-action

fc be profile out

egress

remarking

No

fc af:

dot1p-in-profile

3

dot1p-out-profile

2

fc be:

dot1p-in-profile

0

dot1p-out-profile

0

fc ef:

dot1p-in-profile

5

dot1p-out-profile

5

fc h1:

dot1p-in-profile

6

dot1p-out-profile

6

fc h2:

dot1p-in-profile

4

dot1p-out-profile

4

fc l1:

dot1p-in-profile

3

dot1p-out-profile

2

fc l2:

dot1p-in-profile

1

dot1p-out-profile

1

fc nc:

dot1p-in-profile

7

dot1p-out-profile

7

Table 2. Default network QoS policy ID #1 for dot1p to FC mapping for access-uplink ports

dot1p Value

FC Ingress

Profile

0

be

Out

1

l2

In

2

af

Out

3

af

In

4

h2

In

5

ef

In

6

h1

In

7

nc

In

Overview of network QoS policy on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

The network QoS policy has an ingress and egress component, which define the QoS processing behavior for packets that ingress into the network port, hybrid port, and access-uplink port, and egress from the network port, hybrid port, and access-uplink port, respectively.

Network QoS policy for access-uplink ports on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

The ingress component of the policy defines how the IP DSCP and dot1p values using the DSCP and dot1p classification policies are mapped to the internal FC and profile state for the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C. The FC and profile state define the Per Hop Behavior (PHB) or the QoS treatment through the system. The mapping on each access-uplink port defaults to the mappings defined in the default network QoS policy until an explicit policy is defined for the access-uplink ports. It also defines the bandwidth-limiting parameters for the traffic mapped to each FC. Traffic mapped to each FC can be limited to configurable bandwidth values using separate queues for unicast traffic and multipoint traffic.

Note:

The 7210 SAS platforms provide different mechanisms to limit the bandwidth per FC. On the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C, use the queue with packet buffers and a rate shaper to limit and shape the traffic per FC. Use of queues with shapers allows better TCP traffic behavior in the network.

The egress component of the network QoS policy defines the marking values associated with each FC.

The user has an option to define the number of queues to use per access-uplink port and map the FC to queues. By default, network QoS policy ‟1” is used for access-uplink ports, until an explicit policy is associated. The default policy creates eight queues per access-uplink port. The queues are assigned default values for all the parameters defined with the default policy.

Access-uplink port egress marking supports the following:

  • For packets sent out of an access-uplink port, the network QoS policy defines the marking values (for example, IEEE 802.1p bits and so on) to use based on the FC and the profile state.

  • The default map of FC to marking values (for example, 802.1p bits) is as shown in the default network QoS policy, policy-id 1.

  • All non-default network QoS policies inherit the default map and can be modified by the user.

  • Remarking can be enabled or disabled on access-uplink ports.

  • An option is available to map FC and profile to either IP DSCP and dot1p bits along with DEI bit.

Non-default network policy parameters can be modified. The no form of the command reverts to the default values.

Changes made to a policy are applied immediately to all access uplink ports where the policy is applied. For this reason, when a policy requires several changes, Nokia recommends that you copy the policy to a work area policy-id. The work-in-progress copy can be modified, and then the original policy-id can be overwritten using the config qos copy command.

See the CLI usage chapter in the 7210 SAS-D, Dxp, K 2F1C2T, K 2F6C4T, K 3SFP+ 8C Basic System Configuration Guide for information about the tasks and commands required to access the CLI, and to configure and maintain your devices.

Network QoS policy for network ports and hybrid ports on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

The ingress component of the policy defines how the MPLS EXP, IP DSCP, and dot1p values that use classification policies are mapped to internal FC and profile state for 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C. The FC and profile state define the Per Hop Behavior (PHB) or the QoS treatment through the system. The mapping on each network port and hybrid port defaults to the mapping defined in the default network QoS policy, unless an explicit policy is defined for the network ports. The policy also defines the bandwidth-limiting parameters for the traffic mapped to each FC. Traffic mapped to each FC can be limited to configurable bandwidth values using separate queues for unicast traffic and multipoint traffic.

Note:

The 7210 SAS platforms provide different mechanisms to limit the bandwidth per FC. On the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C, use the queue with packet buffers and a rate shaper to limit and shape the traffic per FC. Use of queues with shapers allows better TCP traffic behavior in the network.

The egress component of the network QoS policy defines the marking values associated with each FC.

The user has an option to define the number of queues to use per network port and hybrid port, and to map the FC to queues. By default, network QoS policy ‟2” is used for network ports, unless an explicit policy is associated. The default policy creates eight queues per network port or hybrid port. The queues are assigned default values for all the parameters defined with the default policy.

Network port egress marking supports the following:

  • For packets sent out of the IP interfaces that are configured on a network port or hybrid port, the network QoS policy defines the marking values (for example, IEEE 802.1p bits, and so on) to use based on the FC and the profile state.

  • The default map of FC to marking values (for example, 802.1p bits) is as shown in default network QoS policy, policy-id 2 for network port.

  • All non-default network QoS policies inherit the default map and can be modified by the user.

  • Remarking can be enabled or disabled on access-uplink ports.

  • An option is available to map FC and profile as follows:

    • for MPLS packets - option to mark MPLS EXP values and dot1p bits along with DEI bit

    • for IP packets - option to mark IP DSCP and dot1p bits along with DEI bit

Non-default network policy parameters can be modified. The no form of the command reverts to the default values.

Changes made to a policy are applied immediately to all access-uplink ports where the policy is applied. For this reason, when a policy requires several changes, Nokia recommends that you copy the policy to a work area policy-id. The work-in-progress copy can be modified, and then the original policy-id can be overwritten using the config qos copy command.

See the CLI usage chapter in the 7210 SAS-D, Dxp, K 2F1C2T, K 2F6C4T, K 3SFP+ 8C Basic System Configuration Guide for information about the tasks and commands required to access the CLI, and to configure and maintain your devices.

Resource allocation for network QoS policy for 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

The queues required for network port egress, hybrid port egress, and access-uplink port egress are allocated from the egress queue system pool. Queues from the egress queue system pool are shared among SAP egress queues, access-uplink port egress queues, network port egress queues, and hybrid port egress queues.

The dot1p policy and DSCP policy resources used for network QoS ingress FC assignment on network ports, hybrid ports, and access-uplink ports are shared with the per-SAP ingress classification criteria from the system pool.

The MPLS EXP policy resources used for network QoS ingress FC assignment on network ports and hybrid ports are allocated from the system pool.

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

A basic network QoS policy must conform to the following:

  • have a unique policy ID

  • specify the default-action

  • have a QoS policy scope of template or exclusive

  • on a 7210 SAS platform, have at least one default unicast FC queue

  • on a 7210 SAS platform, have at least one multipoint FC queue

Create a network QoS policy on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

This section provides information about creating a network QoS policy on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C.

Create a network QoS policy for access-uplink ports on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Default network policy values for access-uplink ports on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

The default network policy for access-uplink ports is identified as policy-id 1. Default policies cannot be modified or deleted.

The following is a sample configuration output for default network policy ID 1 used for the access-uplink port on the 7210 SAS-K 2F6C4T.

*A:K-SASK12>config>qos>network# info
----------------------------------------------
            description "Default network-port QoS policy."
            ingress
                dot1p-classification 1
                queue 1 create
                exit
                queue 2 create
                    rate cir 25
                exit
                queue 3 create
                    rate cir 25
                exit
                queue 4 create
                    rate cir 25
                exit
                queue 5 create
                    rate cir 100
                exit
                queue 6 create
                    rate cir 100
                exit
                queue 7 create
                    rate cir 10
                exit
                queue 8 create
                    rate cir 10
                exit
                fc "af" create
                    queue 3
                    multicast-queue 3
                exit
                fc "be" create
                    queue 1
                    multicast-queue 1
                exit
                fc "ef" create
                    queue 6
                    multicast-queue 6
                exit
                fc "h1" create
                    queue 7
                    multicast-queue 7
                exit
                fc "h2" create
                    queue 5
                    multicast-queue 5
                exit
                fc "l1" create
                    queue 4
                    multicast-queue 4
                exit
                fc "l2" create
                    queue 2
                    multicast-queue 2
                exit
                fc "nc" create
                    queue 8
                    multicast-queue 8
                exit
            exit
            egress
            exit
----------------------------------------------
*A:K-SASK12>config>qos>network#

The following is a sample configuration output for default network policy ID 1 used for the access-uplink port on the 7210 SAS-K 3SFP+ 8C.

*A:Dut-A>config>qos>network# info detail 
----------------------------------------------
            description "Default network-port QoS policy."
            scope template
            ingress
                default-action fc be
                dot1p-classification 1
                no dscp-classification
                no mpls-lsp-exp-classification
                queue 1 create
                    rate cir 0 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 2 create
                    rate cir 10 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 3 create
                    rate cir 10 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 4 create
                    rate cir 10 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24            
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 5 create
                    rate cir 15 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 6 create
                    rate cir 15 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1        
                    slope-policy "default"
                exit
                queue 7 create
                    rate cir 5 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 8 create
                    rate cir 10 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit                  
                fc "af" create
                    queue 3
                    multicast-queue 3
                    no use-dei
                exit
                fc "be" create
                    queue 1
                    multicast-queue 1
                    no use-dei
                exit
                fc "ef" create
                    queue 6
                    multicast-queue 6
                    no use-dei
                exit
                fc "h1" create
                    queue 7
                    multicast-queue 7
                    no use-dei
                exit                  
                fc "h2" create
                    queue 5
                    multicast-queue 5
                    no use-dei
                exit
                fc "l1" create
                    queue 4
                    multicast-queue 4
                    no use-dei
                exit
                fc "l2" create
                    queue 2
                    multicast-queue 2
                    no use-dei
                exit
                fc "nc" create
                    queue 8
                    multicast-queue 8
                    no use-dei
                exit                  
            exit
            egress
                no remarking 
                remark 1
            exit
----------------------------------------------

Create a network QoS policy for network ports and hybrid ports on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Configuring and applying QoS policies other than the default policy is optional. A default network policy is applied to each network port or hybrid port.

To create a network QoS policy, define the following:

  • Specify a network policy ID value. The system does not dynamically assign a value.

  • Include a description that provides a brief overview of policy features.

  • Use egress marking and remarking to specify the egress FC to marking value (for example, IEEE 802.1p and so on) map; otherwise, the default values are applied. The following are defined:

    • remarking

      If enabled, the system remarks packets that egress the IP interfaces configured on the network port or hybrid port. The remarking is based on the FC to marking values mapping defined under the egress node of the network QoS policy. The user has an option to enable or disable remarking.

    • FC criteria

      The FC name represents an egress queue. Specify FC criteria to define the marking criteria of packets flowing through it.

    • marking value

      The marking (for example, IEEE 802.1p) value is used for all packets requiring marking that egress on this FC queue that are in or out of profile.

  • Specify the ingress criteria to use for FC mapping for all packets using the following:

    • default action

      Defines the default action to be taken for packets that have undefined dot1p bits set. The default-action specifies the FC to which the packets are assigned.

    • The user has an option to specify either MPLS EXP and dot1p and IP DSCP to FC mapping for all packets. Ingress traffic that matches the specified criteria are assigned to the corresponding FC.

Use the following syntax to create a network QoS policy for network port on the 7210 SAS-K 2F6C4T or 7210 SAS-K 3SFP+ 8C.

config>qos>network

network network-policy-id [create]

no network network-policy-id

The following commands associate a network QoS policy with the network port on the 7210 SAS-K 2F6C4T or 7210 SAS-K 3SFP+ 8C.

*A:K-SASK12>config>qos>network# info
----------------------------------------------
            description "Default network QoS policy."
            ingress
                dot1p-classification 1
                dscp-classification 1
                mpls-lsp-exp-classification 1
                queue 1 create
                exit
                queue 2 create
                    rate cir 25
                exit
                queue 3 create
                    rate cir 25
                exit
                queue 4 create
                    rate cir 25
                exit
                queue 5 create
                    rate cir 100
                exit
                queue 6 create
                    rate cir 100
                exit
                queue 7 create
                    rate cir 10
                exit
                queue 8 create
                    rate cir 10
                exit
                fc "af" create
                    queue 3
                    multicast-queue 3
                exit
                fc "be" create
                    queue 1
                    multicast-queue 1
                exit
                fc "ef" create
                    queue 6
                    multicast-queue 6
                exit
                fc "h1" create
                    queue 7
                    multicast-queue 7
                exit
                fc "h2" create
                    queue 5
                    multicast-queue 5
                exit
                fc "l1" create
                    queue 4
                    multicast-queue 4
                exit
                fc "l2" create
                    queue 2
                    multicast-queue 2
                exit
                fc "nc" create
                    queue 8
                    multicast-queue 8
                exit
            exit
            egress
                remark 2
            exit
----------------------------------------------
*A:K-SASK12>config>qos>network#

The following is a sample configuration output for network port 1/1/1 with network policy 600 applied to the port.

#--------------------------------------------------
echo "Port Configuration"
#--------------------------------------------------
    port 1/1/1
        shutdown
        ethernet
            network
                qos 2
            exit
        exit
    exit
    port 1/1/2
        shutdown
        ethernet
            network
                qos 2
            exit
        exit
    exit
    port 1/1/3
        shutdown
        ethernet
            network
                qos 2
            exit
            connection-type copper
        exit
    exit
    port 1/1/4
        shutdown
        ethernet
            network
                qos 2
            exit
        exit
    exit
    port 1/1/5
        ethernet
            mode access
            access
            exit
            mtu 1518
        exit
        no shutdown
    exit
#--------------------------------------------------

Default network policy values on 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

The default network policy for network ports is identified as policy-id ‟2”. Default policies cannot be modified or deleted.

The following is a sample configuration output for default network policy ID 2 used for the network port on the 7210 SAS-K 2F6C4T.

*A:K-SASK12>config>qos>network# info detail
----------------------------------------------
            description "Default network QoS policy."
            scope template
            ingress
                default-action fc be
                dot1p-classification 1
                dscp-classification 1
                mpls-lsp-exp-classification 1
                queue 1 create
                    rate cir 0 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 2 create
                    rate cir 25 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 3 create
                    rate cir 25 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 4 create
                    rate cir 25 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 5 create
                    rate cir 100 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 6 create
                    rate cir 100 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 7 create
                    rate cir 10 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 8 create
                    rate cir 10 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                fc "af" create
                    queue 3
                    multicast-queue 3
                    no use-dei
                exit
                fc "be" create
                    queue 1
                    multicast-queue 1
                    no use-dei
                exit
                fc "ef" create
                    queue 6
                    multicast-queue 6
                    no use-dei
                exit
                fc "h1" create
                    queue 7
                    multicast-queue 7
                    no use-dei
                exit
                fc "h2" create
                    queue 5
                    multicast-queue 5
                    no use-dei
                exit
                fc "l1" create
                    queue 4
                    multicast-queue 4
                    no use-dei
                exit
                fc "l2" create
                    queue 2
                    multicast-queue 2
                    no use-dei
                exit
                fc "nc" create
                    queue 8
                    multicast-queue 8
                    no use-dei
                exit
            exit
            egress
                no remarking
                remark 2
            exit
----------------------------------------------
*A:K-SASK12>config>qos>network#

The following is a sample configuration output for default network policy ID 2 used for the network port on the 7210 SAS-K 3SFP+ 8C.

*A:Dut-A>config>qos>network# info detail 
----------------------------------------------
            description "Default network QoS policy."
            scope template
            ingress
                default-action fc be
                dot1p-classification 1
                dscp-classification 1
                mpls-lsp-exp-classification 1
                queue 1 create
                    rate cir 0 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 2 create
                    rate cir 10 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 3 create
                    rate cir 10 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 4 create
                    rate cir 10 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24            
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 5 create
                    rate cir 15 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 6 create
                    rate cir 15 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1        
                    slope-policy "default"
                exit
                queue 7 create
                    rate cir 5 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit
                queue 8 create
                    rate cir 10 pir 100
                    adaptation-rule cir closest pir closest
                    mbs 200
                    cbs 24
                    weight 1
                    priority 1
                    slope-policy "default"
                exit                  
                fc "af" create
                    queue 3
                    multicast-queue 3
                    no use-dei
                exit
                fc "be" create
                    queue 1
                    multicast-queue 1
                    no use-dei
                exit
                fc "ef" create
                    queue 6
                    multicast-queue 6
                    no use-dei
                exit
                fc "h1" create
                    queue 7
                    multicast-queue 7
                    no use-dei
                exit                  
                fc "h2" create
                    queue 5
                    multicast-queue 5
                    no use-dei
                exit
                fc "l1" create
                    queue 4
                    multicast-queue 4
                    no use-dei
                exit
                fc "l2" create
                    queue 2
                    multicast-queue 2
                    no use-dei
                exit
                fc "nc" create
                    queue 8
                    multicast-queue 8
                    no use-dei
                exit                  
            exit
            egress
                no remarking 
                remark 2
            exit
----------------------------------------------

DSCP marking CPU self-generated traffic

The user can configure DSCP marking for CPU-generated traffic on the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C platforms only. See QoS for CPU self-generated traffic on network interfaces for the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C for more information about QoS for self-generated (CPU) traffic on the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C. The following table lists the default DSCP and dot1p marking values for the 7210 SAS-K 2F1C2T.

Note:

Protocols such as BGP, RSVP, TLDP, OSPF, and IS-IS are not supported on 7210 SAS devices configured in access-uplink mode.

Table 3. DSCP and dot1p marking for 7210 SAS-K 2F1C2T

Protocol

IPv4

DSCP marking

dot1p marking

Default FC

DSCP values

dot1p values

ARP

NA

NA

Yes

NC

-

7

CFM

NA

NA

Yes

NC

-

7

FTP

Yes

Yes

Yes

H2

34

4

ICMP ping

Yes

Yes

Yes

NC

0

7

ICMP Req

Yes

Yes

Yes

NC

0

7

ICMP Res

Yes

Yes

Yes

NC

0

7

ICMP Unreach

Yes

Yes

Yes

NC

0

7

IGMP

Yes

Yes

Yes

NC

48

7

NTP

Yes

Yes

Yes

H2

48

7

PTP

Yes

Yes

Yes

H2

48

7

RADIUS

Yes

Yes

Yes

H2

34

4

SCP

NA

NA

Yes

H2

34

4

SNMP

Yes

Yes

Yes

H2

34

4

SNMP trap/log

Yes

Yes

Yes

H2

34

4

SSH

Yes

Yes

Yes

H2

34

7

STP

NA

NA

Yes

NC

-

7

SYSLOG

Yes

Yes

Yes

H2

34

4

TACACS

Yes

Yes

Yes

H2

34

4

TACPLUS

Yes

Yes

Yes

H2

34

4

TELNET

Yes

Yes

Yes

H2

34

4

TFTP

Yes

Yes

Yes

H2

34

4

Trace route

Yes

Yes

Yes

NC

0

7

The following table lists the default DSCP and dot1p marking values for the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C.

Note:

DSCP and dot1p values in DSCP and dot1p marking for 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C are applicable when remarking is disabled on the egress service object (for example, access port, SAP, and network port) used to send out the packets.

Table 4. DSCP and dot1p marking for 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Protocol

IPv4

DSCP marking

dot1p marking

Default FC

DSCP values (decimal)

dot1p values

OSPF

Yes

Yes

Yes

NC

48

7

ISIS

Yes

No

Yes

NC

-

7

TLDP

Yes

Yes

Yes

NC

48

7

RSVP

Yes

Yes

Yes

NC

48

7

SNMP

Yes

Yes

Yes

H2

34

4

NTP

Yes

Yes

Yes

NC

48

7

TELNET

Yes

Yes

Yes

H2

34

4

FTP

Yes

Yes

Yes

H2

34

4

TFTP

Yes

Yes

Yes

H2

34

4

SYSLOG

Yes

Yes

Yes

H2

34

4

TACACS

Yes

Yes

Yes

H2

34

4

RADIUS

Yes

Yes

Yes

NC

48

7

SSH

Yes

Yes

Yes

H2

34

4

ICMP Req

Yes

Yes

Yes

NC

0

7

ICMP Res

Yes

Yes

Yes

NC

0

7

ICMP Unreach

Yes

Yes

Yes

NC

0

7

SCP

Yes

Yes

Yes

H2

34

4

PIM (SSM)

Yes

Yes

Yes

NC

48

7

STP

NA

NA

Yes

NC

-

7

CFM

NA

NA

Yes

NC

-

7

ARP

NA

NA

Yes

NC

-

7

Trace route

Yes

Yes

Yes

NC

0

7

TACPLUS

Yes

Yes

Yes

H2

34

4

IGMP

Yes

Yes

Yes

NC

48

7

DNS

Yes

Yes

Yes

H2

34

4

BGP

Yes

Yes

Yes

NC

48

7

PTP (see note) 1

Yes

Yes

Yes

see note 1

see note 1

7

QoS for CPU self-generated traffic on network interfaces for the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

DSCP, FC, and IEEE 802.1p values can be specified for use by protocol packets generated by the node. This enables prioritization or deprioritization of supported protocols.

DSCP marking for internally-generated control and management traffic should be used for a specified application. The DSCP marking can be configured per routing instance; for example, OSPF packets can carry a different DSCP marking for the base instance than for a VPRN service. ARP and IS-IS are not IP protocols, so only 802.1p values can be configured.

The DSCP value can also be set per application. When an application is configured to use a specified DSCP value and FC, the 802.1p and MPLS EXP bits are marked in accordance with the network (default 802.1p value of 7) or access (default 802.1p value of 0) egress policy, because it applies to the logical interface the packet is egressing.

Configuring self-generated QoS traffic is supported in the base router and VPRN service contexts.

DSCP and dot1p marking for 7210 SAS-K 2F1C2T and DSCP and dot1p marking for 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C list the default values for self-generated traffic on network interfaces.

Note:
  • ICMP echo requests (type 8) and ICMPv6 echo requests (type 128) initiated from the router use the DSCP value set using the ping command TOS value.

  • Configurable values for BFD are not supported.

  • On access SAP egress and access port egress, when remarking is not enabled, the dot1p value for all IP packets generated by the node is set to zero. To enable dot1p marking, remarking must be enabled.

Default DSCP mapping

The following table lists the DSCP mapping between DSCP names and DSCP values (decimal, hexadecimal, and binary), and labels.

Table 5. Default DSCP mapping table

DSCP name

DSCP value decimal

DSCP value hexadecimal

DSCP value binary

Label

Default

0

0x00

0b000000

be

nc1

48

0x30

0b110000

h1

nc2

56

0x38

0b111000

nc

ef

46

0x2e

0b101110

ef

af11

10

0x0a

0b001010

assured

af12

12

0x0c

0b001100

assured

af13

14

0x0e

0b001110

assured

af21

18

0x12

0b010010

l1

af22

20

0x14

0b010100

l1

af23

22

0x16

0b010110

l1

af31

26

0x1a

0b011010

l1

af32

28

0x1c

0b011100

l1

af33

30

0x1d

0b011110

l1

af41

34

0x22

0b0100010

h2

af42

36

0x24

0b100100

h2

af43

38

0x26

0b100110

h2

default 2

0

Service management tasks

This section provides information about service management tasks.

Deleting QoS policies

A network policy is associated by default with access-uplink ports.

You can replace the default policy with a non-default policy, but you cannot remove default policies from the configuration. When you remove a non-default policy, the policy association reverts to the appropriate default network policy.

Remove a policy from the QoS configuration

Use the following syntax to delete a network policy.

config>qos# no network network-policy-id

Copying and overwriting network policies

You can copy an existing network policy to a new policy ID value or overwrite an existing policy ID. The overwrite option must be specified or an error occurs if the destination policy ID exists.

Use the following syntax to overwrite a network policy.

config>qos# copy network source-policy-id dest-policy-id [overwrite]

Configuration output

A:ALA-12>config>qos# info detail
---------------------------------------------
...
        network 1 create
            description "Default network QoS policy."
            scope template
            ingress
                default-action fc be profile out
...
        network 600 create
            description "Default network QoS policy."
            scope template
            ingress
                default-action fc be profile out
...
        network 700 create
            description "Default network QoS policy."
            scope template
            ingress
                default-action fc be profile out
...
---------------------------------------------
A:ALA-12>config>qos# 

Editing QoS policies

You can change existing policies, except the default policies, and entries in the CLI. The changes are applied immediately to all access uplink ports where the policy is applied. To prevent configuration errors, use the copy command to make a duplicate of the original policy to a work area, make the edits, and then overwrite the original policy.

Network QoS policy command reference

Command hierarchies

Configuration commands for 7210 SAS-K 2F1C2T

    - config
        - qos
            - [no] network network-policy-id [create]
                - description description-string 
                - no description
                - scope {exclusive | template}
                - no scope
                - egress
                    - remark policy-id
                    - no remark
                    - [no] remarking
                    - [no] fc fc-name
                - ingress
                    - default-action fc fc-name profile {in | out | use-dei}
                    - dot1p-classification policy-id
                    - no dot1p-classification
                    - dscp-classification policy-id
                    - no dscp-classification
                    - [no] fc fc-name
                        - use-dei
                        - no use-dei
                    - queue queue-id [create]
                    - no queue queue-id
                        - [no] adaptation-rule [pir adaptation-rule] [cir adaptation-rule]
                        - cbs size-in-kbyte
                        - no cbs
                        - mbs size-in-kbytes
                        - no mbs
                        - priority level
                        - no priority
                        - rate [cir cir-percent] [pir pir-percent]
                        - no rate
                        - slope-policy name
                        - no slope-policy
                        - weight weight
                        - no weight

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

    - config
        - qos
            - [no] network network-policy-id [create]
                - egress
                    - remark policy-id
                    - no remark
                    - [no] remarking
                    - [no] fc fc-name
                - ingress
                    - default-action fc fc-name profile {in | out | use-dei}
                    - dot1p-classification policy-id
                    - no dot1p-classification
                    - dscp-classification policy-id
                    - no dscp-classification
                    - mpls-lsp-exp-classification policy-id 
                    - no mpls-lsp-exp-classification
                    - [no] fc fc-name
                        - use-dei
                        - no use-dei
                    - queue queue-id [create]
                    - no queue queue-id
                        - [no] adaptation-rule [pir adaptation-rule] [cir adaptation-rule]
                        - cbs size-in-kbyte
                        - no cbs
                        - mbs size-in-kbytes
                        - no mbs
                        - priority level
                        - no priority
                        - rate [cir cir-percent] [pir pir-percent]
                        - no rate
                        - slope-policy name
                        - no slope-policy
                        - weight weight
                        - no weight
                - scope {exclusive | template}
                - no scope

Self-generated traffic commands for 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

config
    - router
        - sgt-qos
            - application dscp-app-name dscp {dscp-value | dscp-name}
            - application dot1p-app-name dot1p dot1p-priority
            - no application {dscp-app-name | dot1p-app-name}
            - dscp dscp-name fc fc-name
            - no dscp dscp-name
    - service
        - vprn
            - sgt-qos
                - application dscp-app-name dscp {dscp-value | dscp-name}
                - application dot1p-app-name dot1p dot1p-priority
                - no application {dscp-app-name | dot1p-app-name}
                - dscp dscp-name fc fc-name
                - no dscp dscp-name

Operational commands

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

Command descriptions

Configuration commands

Generic commands
description
Syntax

description description-string

no description

Context

config>qos>network

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

Operational commands
copy
Syntax

copy network 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 QoS policy entries for a QoS policy ID to another QoS policy ID.

The copy command is used to create new policies using existing policies and also allows bulk modifications to an existing policy with the use of the overwrite keyword.

Parameters
network src-pol dst-pol

Specifies that the source and destination policies are network policy IDs. Specify the source policy that the copy command will copy and specify the destination policy to which the command will duplicate the policy to a new or different policy ID.

Values

1 to 65535

overwrite

Keyword to replace the existing destination policy. Everything in the existing destination policy is overwritten with the contents of the source policy. If overwrite is not specified, an error occurs if the destination policy ID exists.

remark
Syntax

remark policy-id

no remark

Context

config>qos>network>egress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the remarking policy ID to use for marking packets on access-uplink port egress, network port egress, or hybrid port egress. The usage is as follows for different platforms.

  • On the 7210 SAS-K 2F1C2T, this policy is used to configure marking for packets sent out of access-uplink ports.

  • On the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C, this policy is used to configure marking for packets sent out of access-uplink ports, network ports, or hybrid ports, depending on the port that the policy is associated with.

For access-uplink ports, the remarking policy ID must be associated with the network QoS policy that is associated with the access-uplink port. Remarking must be enabled in the network QoS policy to enable marking of packets sent out of an access-uplink port. Only a remarking policy of type dot1p, dscp, or dot1p-dscp is allowed to be used when the remark policy is associated with access-uplink port egress. See Remark policies for more information about remark policy types and its usage.

For network ports and hybrid ports, the remarking policy ID must be associated with the network QoS policy that is associated with the network port and hybrid port. Remarking must be enabled in the network QoS policy to enable marking of packets sent out of network IP interfaces that are configured on the network port or hybrid port. On network ports or hybrid ports, the dot1p bits are marked by default, irrespective of whether remarking is enabled or disabled. Only a remarking policy of type lsp-exp, dot1p, dscp, dot1p-dscp, dot1p-lsp-exp, or dot1p-dscp-lsp-exp is allowed when the remark policy is associated with network port egress. See Remark policies for more information about remark policy types and their usage.

The no form of this command removes the explicit association of the remark policy and associates the default remark policy. If remarking is enabled and no remark policy is executed, then the default remark policy is used to mark sent packets. If no remark policy is executed and remarking is disabled, then packets are not remarked at all.

Parameters
policy-id

Specifies the remark policy.

Values

1 to 65535

remarking
Syntax

[no] remarking

Context

config>qos>network>egress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configured marking for packets. The marking functionality is as follows.

  • On the 7210 SAS-K 2F1C2T, this command enables marking for packets sent out of access-uplink ports.

  • On the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C, this command enables marking for packets sent out of access-uplink ports, network ports, or hybrid ports, depending on the port that the policy is associated with.

When remarking is enabled, the remark policy configured in the QoS policy context is used to determine the FC to QoS bit mapping. For example, when remarking is enabled in the network QoS policy and remark policy of type dot1p is configured in the network QoS policy, then the FC to dot1p mapping is used to mark packets sent out of the port.

See Remark policies for more information about how to configure remark policies.

The no form of this command disables remarking.

Default

no remarking

scope
Syntax

scope {exclusive | template}

no scope

Context

config>qos>network

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures the network policy scope as exclusive or template.

The no form of this command reverts the scope of the policy to the default.

Default

template

Parameters
exclusive

Specifies that the policy can only be applied to one interface. If a policy with an exclusive scope is assigned to a second interface an error message is generated. If the policy is removed from the exclusive interface, it becomes available for assignment to another exclusive interface. The system default policies cannot be put into the exclusive scope. An error is generated if scope exclusive is executed in any policies with a policy ID equal to 1.

template

Specifies that the policy can be applied to multiple interfaces on the router. An error is generated if you try to modify the template scope parameter to exclusive scope on default policies.

Network QoS Policy commands
network
Syntax

network network-policy-id [create]

no network network-policy-id

Context

config>qos

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command creates or edits a QoS network policy. The network policy functionality is as follows.

  • On the 7210 SAS-K 2F1C2T, the network policy defines the treatment the packets receive on ingress into and egress from the access-uplink port.

  • On the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C, the network policy defines the treatment the packets receive on ingress into and egress from the access-uplink port, network port, and hybrid port.

On the 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, and 7210 SAS-K 3SFP+ 8C, the network QoS policy associated with access-uplink port has ingress and egress components. These components are described as follows.

  • The ingress component of the policy defines how dot1p bits or IP DSCP are mapped to internal forwarding class and profile state. The forwarding class and profile state define the Per Hop Behavior (PHB) or the QoS treatment through the 7210 SAS. The mapping on each network interface defaults to the mappings defined in the default network QoS policy until an explicit policy is defined for the network interface. It also defines the rate-limiting parameters for the traffic mapped to each forwarding classes. Traffic mapped to each forwarding class can be rate-limited using the same or separate queue for unicast and multipoint traffic.

  • The egress component of the network qos policy defines the forwarding class and profile to packet header priority bits; for example, dot1p bits. Option is provided to map forwarding class to dot1p bits and IP DSCP bits.

On the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C, the network QoS policy associated with network ports or hybrid ports has ingress and egress components. These components are described as follows.

  • The ingress component of the policy defines how MPLS EXP bits or dot1p bits or IP DSCP are mapped to internal forwarding class and profile state. The forwarding class and profile state define the Per Hop Behavior (PHB) or the QoS treatment through the 7210 SAS. The mapping on each network interface defaults to the mappings defined in the default network QoS policy until an explicit policy is defined for the network interface. It also defines the rate-limiting parameters for the traffic mapped to each forwarding classes. Traffic mapped to each forwarding class can be rate-limited using the same or separate queue for unicast and multipoint traffic.

  • The egress component of the network QoS policy defines the forwarding class and profile to packet header priority bits (for example, dot1p bits). The option is provided to map the forwarding class to MPLS EXP bits, dot1p bits and IP DSCP bits.

The default network policy ID 1 is associated with access-uplink ports that do not have an explicit user configured policy and cannot be modified or deleted. The default network policy ID 2 is associated with network ports and hybrid ports that do not have an explicit user configured policy and cannot be modified or deleted. The default network policies define default mapping for packet header bits to the FCs on ingress and the mapping of the FC to queues.

If a new network policy is created, only the default action, default queues for unicast and multipoint traffic, and egress forwarding class parameters are identical to the default policy. A new network policy does not contain the default QoS bit to FC mapping (for example, dot1p-to-FC mapping or EXP to FC mapping) for network QoS policy. The default network policy can be copied using the copy command to create a new network policy that includes the default ingress dot1p to FC mapping, as appropriate. You can modify parameters or use the no modifier to remove an object from the configuration.

Any changes made to an existing policy, using any of the sub-commands, are applied immediately to all the ports where this policy is applied. For this reason, when many changes are required on a policy, it is highly recommended that the policy be copied to a work area policy ID. That work-in-progress policy can be modified until complete and then written over the original policy ID. Use the config qos copy command to maintain policies in this manner.

The no form of this command deletes the network policy. A policy cannot be deleted until it is removed from all entities where it is applied. The default network policy policy-id 1 cannot be deleted.

Default

System Default Network Policy 1

Parameters
network-policy-id

Specifies the policy on the 7210 SAS.

Values

1 to 65535

Network egress QoS policy commands
egress
Syntax

egress

Context

config>qos>network

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

Commands in this context create or edit egress policy entries that specify the forwarding class to marking values maps to be instantiated when this policy is applied to the access-uplink port, network port, or hybrid port.

The forwarding class and profile states are mapped to marking values for all packets affected by the policy defined in this context.

fc
Syntax

[no] fc fc-name

Context

config>qos>network>egress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the forwarding class name. The forwarding class name represents an egress queue. The FC name represents a CLI parent node that contains sub-commands or parameters describing the marking criteria of packets flowing through it. The fc command overrides the default parameters for that forwarding class to the values defined in the network default policy.

The no form of this command removes the forwarding class to marking value association. The forwarding class reverts to the mapping defined in the default network policy.

Default

undefined forwarding classes default to the configured parameters in the default network policy ID 1

Parameters
fc-name

Specifies a case-sensitive, system-defined forwarding class name.

Values

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

Network ingress QoS policy commands
ingress
Syntax

ingress

Context

config>qos>network

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

Commands in this context creates or edits policy entries that specify the QoS bits to forwarding class mapping for all packets.

When pre-marked packets ingress on a network port or hybrid port, the QoS treatment through the 7210 SAS is based on the mapping defined on the current node.

default-action
Syntax

default-action fc fc-name profile {in | out | use-dei}

Context

config>qos>network>ingress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command defines or edits the default action to be taken for packets do not match any of the configured classification entries. The default-action command specifies the forwarding class to which such packets are assigned.

Multiple default-action commands overwrite each previous default-action command.

Default

default-action fc be profile out

Parameters
fc fc-name

Specifies the forwarding class name. All packets with dot1p or dot1p bits that is not defined are placed in this forwarding class.

Values

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

profile {in | out | use-dei}

Specifies that all packets assigned to this forwarding class are considered in or out of profile based on this command.

Values

in — Any packets matching the classification rule are treated as in-profile packets.

out — Any packets matching the classification rule are treated as out-of-profile packets.

use-dei — The DEI bit received in the Ethernet VLAN tag is used to determine the profile of the packets. The packet will be considered to be in-profile it the DEI bit value is 0 and out-of-profile is the DEI value is 1.

dot1p-classification
Syntax

dot1p-classification policy-id

no dot1p-classification

Context

config>qos>network>ingress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command associates a dot1p classification policy to a forwarding class and profile state based on the dot1p bits in the packet. The dot1p classification policy contains entries used to map traffic received on access-uplink ports, or traffic received in the context of a network IP interface configured on a network port or hybrid port.

The no form of this command disables the use of this policy.

Default

no dot1p-classification-policy

Parameters
policy-id

Specifies the policy on the 7210 SAS.

Values

1 to 65535

dscp-classification
Syntax

dscp-classification policy-id

no dscp-classification

Context

config>qos>network>ingress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command associates an IP DSCP classification policy to a forwarding class and profile state based on the IP DSCP bits in the packet. The IP DSCP classification policy contains entries used to map traffic received on access-uplink ports, or traffic received in the context of a network IP interface configured on a network port or hybrid port.

The no form of the policy disables the use of this policy.

Default

no dscp-classification-policy

Parameters
policy-id

Specifies the policy on the 7210 SAS.

Values

1 to 65535

mpls-lsp-exp-classification
Syntax

mpls-lsp-exp-classification policy-id

no mpls-lsp-exp-classification

Context

config>qos>network>ingress

Platforms

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

Description

This command associates an mpls-lsp-exp classification policy to a forwarding class and profile state based on the MPLS EXP bits in the MPLS packet. The mpls-lsp-exp classification policy contains entries used to map traffic received in the context of a network IP interface configured on a network port or hybrid port.

The no form of this policy disables the use of this policy.

Default

no mpls-lsp-exp-classification

Parameters
policy-id

Specifies the policy on the 7210 SAS.

Values

1 to 65535

fc
Syntax

fc fc-name [create]

no fc fc-name

Context

config>qos>network>ingress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command creates a class instance of the forwarding class. After the fc-name is created, classification actions can be applied and it can be used in match classification criteria.

The no form of this command removes all the explicit queue mappings for fc-name forwarding types. The queue mappings revert to the default meters for fc-name.

Default

undefined forwarding classes default to the configured parameters in the default policy policy-id 1

Parameters
fc fc-name

Specifies a case-sensitive, system-defined forwarding class name.

Values

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

create

Keyword to create the forwarding class. The create keyword requirement can be enabled or disabled in the environment>create context.

use-dei
Syntax

[no] use-dei

Context

config>qos>network>ingress>fc

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables DEI based classification. When enabled for packets classified to this FC, the DEI bit is used to determine the ingress profile for the packet. Packets received with DEI bit set to zero are treated as in-profile and packets with DEI bit set to one are treated as out-of-profile packets.

When DEI based classification is enabled under the FC context, it overrules the profile values specified in the classification entry used to assign the FC.

The no form of this command disables use of DEI bit for classification of packets.

Default

no use-dei

Network ingress queue QoS policy commands
queue
Syntax

queue queue-id [create]

no queue queue-id

Context

config>qos>network>ingress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies a queue for which to modify queue parameters.

The queue ID to FC map is user defined. In other words, the user can map FC to queues identified by queue IDs as per their needs.

The no form of this command deletes the queue.

Parameters
queue-id

Specifies the ID of the queue.

Values

1 to 8

create

Keyword to create a network queue policy.

adaptation-rule
Syntax

adaptation-rule [cir adaptation-rule] [pir adaptation-rule]

no adaptation-rule

Context

config>qos>network>ingress>queue

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command defines the method used by the system to derive the operational CIR and PIR rates when the queue is provisioned in hardware. For the cir and pir parameters, the system attempts to find the best operational rate depending on the defined constraint.

The no form of this command removes any explicitly defined constraints used to derive the operational CIR and PIR created by the application of the policy. When a specific adaptation-rule is removed, the default constraints for rate and cir apply.

Default

adaptation-rule pir closest cir closest

Parameters
cir adaptation-rule

Specifies the adaptation rule and defines the constraints enforced when adapting the CIR rate defined using the queue queue-id rate command. The cir parameter requires a qualifier that defines the constraint used to derive the operational CIR rate for the queue. When the cir parameter is not specified, the default constraint applies. The max (maximum), min (minimum), and closest qualifiers are mutually exclusive.

Default

closest

Values

max — Specifies that the operational CIR value is less than or equal to the specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.

min — Specifies that the operational CIR value is greater than or equal to the specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.

closest — Specifies that the operational CIR value is equal to the closest specified rate, taking into account the hardware step size.The hardware step size varies based on the rate and the platform.

pir adaptation-rule

Specifies the adaptation rule and defines the constraints enforced when adapting the PIR rate defined using the queue queue-id rate command. The pir parameter requires a qualifier that defines the constraint used when deriving the operational PIR rate for the queue. When the pir command is not specified, the default constraint applies. The max (maximum), min (minimum), and closest qualifiers are mutually exclusive.

Default

closest

Values

max — Specifies that the operational PIR value is less than or equal to the specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.

min — Specifies that the operational PIR value is greater than or equal to the specified rate, taking into account the hardware step size. The hardware step size varies based on the rate and the platform.

closest — Specifies that the operational PIR value is equal to the closest specified rate, taking into account the hardware step size.The hardware step size varies based on the rate and the platform.

cbs
Syntax

cbs size-in-kbytes

no cbs

Context

config>qos>network>ingress>queue

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the CBS value (minimum depth of the queue).

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

Default

32

Parameters
size-in-kbytes

Specifies the CBS value, in kilobytes.

Values

0 to 10240 (7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T)

0 to 102400 (7210 SAS-K 3SFP+ 8C)

mbs
Syntax

mbs size-in-kbytes

no mbs

Context

config>qos>network>ingress>queue

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the MBS value (maximum depth of the queue).

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

Default

512

Parameters
size-in-kbytes

Specifies the MBS value, in kilobytes.

Values

0 to 12800 (7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T)

0 to 63488 (7210 SAS-K 3SFP+ 8C)

priority
Syntax

priority level

no priority

Context

config>qos>network>ingress>queue

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command defines the queue priority. The queue priority is used by the scheduler to determine the order of service in both the within-cir loop and within-pir loop. Higher priority queues are serviced before lower priority queues.

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

Default

1

Parameters
level

Specifies the priority of the queue.

Values

1 to 4

rate
Syntax

rate [cir cir-percent] [pir pir-percent]

no rate

Context

config>qos>network>ingress>queue

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command defines the administrative Peak Information Rate (PIR) and the administrative Committed Information Rate (CIR) parameters for the queue. The PIR defines the maximum rate that the queue can transmit packets through the port. Defining a PIR does not necessarily guarantee that the queue can transmit at the intended rate. The actual rate sustained by the queue can be limited by over subscription factors or available egress bandwidth. The CIR defines the rate at which the system prioritizes the queue over other queues competing for the same bandwidth.

The rate command can be executed at anytime, altering the PIR and CIR rates for all queues created on the access ports.

The no form of this command reverts all queues created with the queue ID by association with the QoS policy to the default PIR(100) and CIR(0).

Parameters
cir cir percent

Specifies the percentage of the guaranteed rate allowed for the queue. When the rate command is executed, a valid CIR setting must be explicitly defined. When the rate command has not been executed, the default CIR is assumed. The parameter must be given as positive integer.

The actual CIR rate is dependent on the queue’s adaptation-rule parameters and the actual hardware where the queue is provisioned.

Values

0 to 100

Default

0

pir pir-percent

Specifies the percentage of the maximum rate allowed for the queue. When the rate command is executed, the PIR setting is optional. When the rate command has not been executed, or the PIR parameter is not explicitly specified, the default PIR is assumed. The parameter must be given as positive integer.

Values

1 to 100

Default

100

slope-policy
Syntax

slope-policy name

no slope-policy

Context

config>qos>network>ingress>queue

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command overrides the default slope-policy configuration for the queue. The specified slope policy name must exist as a current slope policy name. If the slope policy does not exist, the slope-policy command fails. If a slope policy is currently associated with a queue, the slope policy cannot be removed from the system.

The slope policy contains the ring and non-ring high and low WRED slope definitions that are used by the queue. See Buffer pools for more information about ring and non-ring buffer pools and slope usage.

If the slope-policy command is not executed or the no slope-policy command is executed, the default slope policy is associated with the queue.

The no form of this command reverts the queue to the default slope policy.

Parameters
name

Specifies an existing slope policy name, up to 32 characters.

weight
Syntax

weight weight

no weight

Context

config>qos>network>ingress>queue

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures the weight of the queue.

The configured weight determines the proportion of available bandwidth that is given to this queue in comparison to other queues contending for bandwidth at the same priority level.

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

Default

1

Parameters
weight

Specifies the weight of the queue.

Values

1 to 100

Self-generated traffic commands for 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
sgt-qos
Syntax

sgt-qos

Context

config>router

config>service>vprn

Platforms

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

Description

Commands in this context configure DSCP and dot1p marking values for select self-generated traffic.

application
Syntax

application dscp-app-name dscp {dscp-value | dscp-name}

application dot1p-app-name dot1p dot1p-priority

no application {dscp-app-name | dot1p-app-name}

Context

config>router>sgt-qos

config>service>vprn>sgt-qos

Platforms

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

Description

This command configures DSCP and dot1p marking values for self-generated application traffic. When an application is configured using this command, the specified DSCP name or value is used for all packets generated by this application within the router instance in which it is configured. The instances can be base router or VPRN service.

The values configured in this command are used to perform the following actions.

  • The values are used to set the DSCP bits in the IP packet.

  • The values are mapped to the FC.

  • The values are used to set the Ethernet 802.1p and MPLS EXP bits in the egress QoS policy, as based on the FC. This includes ARP and IS-IS packets that, because of their nature, do not carry DSCP bits.

  • The values are used to configure the IP DSCP value in the packet IP header when the remarking command is disabled in the egress QoS policy associated with the service object from which the packet is sent out of. If an egress QoS policy is configured and IP DSCP or dot1p remarking is enabled, the DSCP or dot1p bits in the packet header are remarked based on the FC assigned to the packet.

Only one DSCP name or value can be configured per application. If multiple entries are configured, the subsequent entry overrides the previously configured entry.

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

Parameters
dscp-app-name

Specifies the DSCP application name.

Values

The following values apply to the base router instance:

bgp, dhcp, dns, ftp, icmp, igmp, ldp, ndis, ntp, ospf, pim, ptp, radius, rip, rsvp, snmp, snmp-notification, ssh, syslog, tacplus, telnet, tftp, traceroute, vrrp

The following values apply to the VPRN instance:

bgp, dhcp, icmp, igmp, ndis, ospf, pim, ssh, telnet, traceroute, vrrp

dscp-value

Specifies a value when this packet egresses. The respective egress policy should provide the mapping for the DSCP value to either LSP-EXP bits or dot1p bits as appropriate; otherwise, default mapping applies.

Values

0 to 63

dscp-name

Specifies the DSCP name.

Values

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

dot1p-priority

Specifies the dot1p priority.

Values

none, 0 to 7

dot1p-app-name

Specifies the dot1p application name.

Values

arp, isis

dscp
Syntax

dscp dscp-name fc fc-name

no dscp dscp-name

Context

config>router>sgt-qos

config>service>vprn>sgt-qos

Platforms

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

Description

This command creates a mapping between the DSCP of the self-generated traffic and the forwarding class.

Self-generated traffic for configured applications that matches the specified DSCP is assigned to the corresponding forwarding class. Multiple commands can be entered to define the association of some or all 64 DSCPs to a forwarding class.

All DSCP names that define a DSCP value must be explicitly defined.

The no form of this command removes the DSCP-to-FC association.

Parameters
dscp-name

Specifies the name of the DSCP to be associated with the forwarding class. Only an existing DSCP can be specified, and it can only be specified by its name. The software provides names for the well-known code points.

Values

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

fc fc-name

Specifies the forwarding class name. Applications and protocols that are configured under the dscp command use the configured IP DSCP value.

Values

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

Show commands

network
Syntax

network [network-policy-id] association

network [network-policy-id] [detail]

Context

show>qos

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays network policy information.

Parameters
network-policy-id

Displays network information for the specific policy ID.

Default

all network policies

Values

1 to 65535

detail

Displays information about ingress and egress dot1p EXP bit mappings and network policy interface associations.

association

Displays policy associations.

Output

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

Sample output
*A:Dut-A>show>qos# network 2 detail
===============================================================================
QoS Network Policy
===============================================================================
-------------------------------------------------------------------------------
Network Policy (2)
-------------------------------------------------------------------------------
Policy-id        : 2
Egr Remark       : False                  Egr Rem Plcy     : N/A
Forward Class    : be                     Profile          : None
Scope            : Template
DOT1P Class Poli*: 1                      DSCP Class Polic*: 1
MPLS Lsp Exp Cla*: 1
Description      : Default network QoS policy.
-------------------------------------------------------------------------------
FC        Queue       MCast Queue Use Dei
-------------------------------------------------------------------------------
be        1           1           false
l2        2           2           false
af        3           3           false
l1        4           4           false
h2        5           5           false
ef        6           6           false
h1        7           7           false
nc        8           8           false
-------------------------------------------------------------------------------
Queue Rates and Rules
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
QueueId        CIR          CIR Adpt Rule        PIR          PIR Adpt Rule
-------------------------------------------------------------------------------
Queue1          0              closest            100            closest
Queue2          25             closest            100            closest
Queue3          25             closest            100            closest
Queue4          25             closest            100            closest
Queue5          100            closest            100            closest
Queue6          100            closest            100            closest
Queue7          10             closest            100            closest
Queue8          10             closest            100            closest
-------------------------------------------------------------------------------
Queue Priority and Weight Details
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
QueueId         Priority      Weight
-------------------------------------------------------------------------------
Queue1          1             1
Queue2          1             1
Queue3          1             1
Queue4          1             1
Queue5          1             1
Queue6          1             1
Queue7          1             1
Queue8          1             1
-------------------------------------------------------------------------------
High Slope Non Ring
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
QueueId        State      Start-Avg(%)   Max-Avg(%)   Max-Prob(%)
-------------------------------------------------------------------------------
Queue1          Down            70           90            80
Queue2          Down            70           90            80
Queue3          Down            70           90            80
Queue4          Down            70           90            80
Queue5          Down            70           90            80
Queue6          Down            70           90            80
Queue7          Down            70           90            80
Queue8          Down            70           90            80
-------------------------------------------------------------------------------
Low Slope Non Ring
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
QueueId        State      Start-Avg(%)   Max-Avg(%)   Max-Prob(%)
-------------------------------------------------------------------------------
Queue1          Down            50           75            80
Queue2          Down            50           75            80
Queue3          Down            50           75            80
Queue4          Down            50           75            80
Queue5          Down            50           75            80
Queue6          Down            50           75            80
Queue7          Down            50           75            80
Queue8          Down            50           75            80
-------------------------------------------------------------------------------
High Slope Ring
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
QueueId        State      Start-Avg(%)   Max-Avg(%)   Max-Prob(%)
-------------------------------------------------------------------------------
Queue1          Down            70           90            80
Queue2          Down            70           90            80
Queue3          Down            70           90            80
Queue4          Down            70           90            80
Queue5          Down            70           90            80
Queue6          Down            70           90            80
Queue7          Down            70           90            80
Queue8          Down            70           90            80
-------------------------------------------------------------------------------
Low Slope Ring
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
QueueId        State      Start-Avg(%)   Max-Avg(%)   Max-Prob(%)
-------------------------------------------------------------------------------
Queue1          Down            50           75            80
Queue2          Down            50           75            80
Queue3          Down            50           75            80
Queue4          Down            50           75            80
Queue5          Down            50           75            80
Queue6          Down            50           75            80
Queue7          Down            50           75            80
Queue8          Down            50           75            80
-------------------------------------------------------------------------------
Slope Policies
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
QueueId        CBS(KBytes)  MBS(KBytes)    Slope-Policy
-------------------------------------------------------------------------------
Queue1           24          200           default
Queue2           24          200           default
Queue3           24          200           default
Queue4           24          200           default
Queue5           24          200           default
Queue6           24          200           default
Queue7           24          200           default
Queue8           24          200           default
-------------------------------------------------------------------------------
Port Attachments
-------------------------------------------------------------------------------
Port-id : 1/1/1
Port-id : 1/1/2
Port-id : 1/1/3
Port-id : 1/1/4
Port-id : 1/1/5
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:Dut-A>show>qos#


*A:SAH01-051>show>qos# network 1 association
===============================================================================
QoS Network Policy
===============================================================================
-------------------------------------------------------------------------------
Network Policy (1)
-------------------------------------------------------------------------------
Policy-id      : 1
Egr Remark     : False
Forward Class  : be                           Profile      : None
Scope          : Template
DOT1P Class Po*: 1                            DSCP Class P*: 0
Description    : Default network-port QoS policy.

-------------------------------------------------------------------------------
Port Attachments
-------------------------------------------------------------------------------
No Matching Entries

===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:SAH01-051>show>qos#
Table 6. Output fields: QoS network

Label

Description

Policy-Id

The ID that uniquely identifies the policy

Description

A text string that helps identify the policy’s context in the configuration file

Forward Class/ FC Name

Specifies the forwarding class name

Profile

Out — Indicates that packets are classified as out-profile

In — Indicates packets are classified as in-profile

None — Indicates packets profile is undefined

DOT1P Class

Specifies the dot1p-classification policy ID that is being used for mapping the packets to different FC under the FCs based on the dot1p bits

DSCP classification

Specifies the dscp-classification policy ID that is being used for mapping the packets to different FC under the FCs based on the dscp bits

High Slope Non Ring

Specifies the non-ring high-slope policy values

Low Slope Non Ring

Specifies the non-ring low-slope values

High Slope Ring

Specifies the ring high-slope values

Slope Policies

Displays the slope policies applied to the queues

router
Syntax

router [router-instance]

router service-name service-name

Context

show

Platforms

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

Description

This command shows router information.

Parameters
router-instance

Specifies the router name or service ID.

Values

router-name — Base

service-id — 1 to 2147483647

Default

Base

service-name

Specifies the service name, up to 64 characters.

sgt-qos
Syntax

sgt-qos

Context

show>router

Platforms

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

Description

This command displays QoS information about self-generated traffic. The value ‟none” in the output indicates that the default value is used; it does not mean that there is no value set. For a list of application defaults, see Network policy ID #1 defaults for access-uplink ports.

application
Syntax

application [app-name] [dscp | dot1p]

Context

show>router>sgt-qos

Platforms

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

Description

This command displays application QoS settings.

Parameters
app-name

Specifies the application name.

Values

The following values apply to the base router instance:

bgp, dhcp, dns, ftp, icmp, igmp, ldp, ndis, ntp, ospf, pim, ptp, radius, rip, rsvp, snmp, snmp-notification, ssh, syslog, tacplus, telnet, tftp, traceroute, vrrp

The following values apply to a VPRN service instance:

bgp, icmp, igmp, ndis, ospf, pim, ssh, telnet, traceroute, vrrp

Note:

  • The ptp value in the context of SGT QoS is defined as Precision Timing Protocol (PTP) and is an application. The PTP application name is also used in areas like event-control and logging. PTP is defined in IEEE 1588-2008.

  • The ptp value in the context of IP filters is defined as Performance Transparency Protocol (PTP). IP protocols can be used as IP filter match criteria; the match is made on the 8-bit protocol field in the IP header.

dscp

Displays all DSCP applications.

dot1p

Displays all dot1p applications.

Output

The following outputs are examples of application QoS information, and Output fields: SGT-QoS application describes the output fields.

Sample output (router)
*A:SAS-DUTA# show router sgt-qos application 
===============================================================================
DSCP Application Values
===============================================================================
Application         DSCP Value                    Default DSCP Value
-------------------------------------------------------------------------------
bgp                 none                          none
dns                 none                          none
ftp                 none                          none
icmp                none                          none
igmp                none                          none
ldp                 none                          none
ndis                none                          none
ntp                 none                          none
ospf                none                          none
pim                 none                          none
ptp                 none                          none
radius              none                          none
rsvp                none                          none
snmp                none                          none
snmp-notification   none                          none
ssh                 none                          none
syslog              none                          none
tacplus             none                          none
telnet              none                          none
tftp                none                          none
traceroute          none                          none
vrrp                none                          none
===============================================================================
===============================================================================
Dot1p Application Values
===============================================================================
Application         Dot1p Value                   Default Dot1p Value
-------------------------------------------------------------------------------
arp                 none                          none
isis                none                          none
===============================================================================
*A:SAS-DUTA# 
*A:SAS-DUTA# show router sgt-qos application arp 
===============================================================================
Dot1p Application Values
===============================================================================
Application         Dot1p Value                   Default Dot1p Value
-------------------------------------------------------------------------------
arp                 none                          none
===============================================================================
*A:SAS-DUTA# 

Sample output (VPRN Service Instance )

=======================
*A:SAS-DUTA# show router 1 sgt-qos application  
===============================================================================
DSCP Application Values
===============================================================================
Application         DSCP Value                    Default DSCP Value
-------------------------------------------------------------------------------
bgp                 none                          none
icmp                cp17                          none
igmp                none                          none
ndis                none                          none
ospf                none                          none
pim                 none                          none
ssh                 none                          none
telnet              none                          none
traceroute          none                          none
vrrp                none                          none
===============================================================================
===============================================================================
Dot1p Application Values
===============================================================================
Application         Dot1p Value                   Default Dot1p Value
-------------------------------------------------------------------------------
arp                 none                          none
isis                none                          none
===============================================================================
*A:SAS-DUTA#    
*A:SAS-DUTA>config>service# \show router 1 sgt-qos application  arp 
===============================================================================
Dot1p Application Values
===============================================================================
Application         Dot1p Value                   Default Dot1p Value
-------------------------------------------------------------------------------
arp                 none                          none
===============================================================================
*A:SAS-DUTA# 
Table 7. Output fields: SGT-QoS application

Label

Description

Application

The DSCP or dot1p application

DSCP Value

The DSCP name or value assigned to the application; if you assign a value to the application (0 to 63), the DSCP name that maps to the value is displayed

Default DSCP Value

The default DSCP value

Dot1p Value

The dot1p priority assigned to the application (applies only to ARP and IS-IS)

Default Dot1p Value

The default dot1p value

dscp-map
Syntax

dscp-map [dscp-name]

Context

show>router>sgt-qos

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays DSCP-to-FC mappings.

Parameters
dscp-name

Specifies the DSCP name.

Values

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

Output

The following output is an example of DSCP-to-FC mapping information, and Output fields: SGT-QoS DSCP map describes the output fields.

Output Sample for router
*A:SAS-DUTA# show router sgt-qos dscp-map 
===============================================================================
DSCP to FC Mappings
===============================================================================
DSCP Value          FC Value            Default FC Value
-------------------------------------------------------------------------------
be                  nc                  nc
cp1                 be                  be
cp2                 be                  be
cp3                 be                  be
cp4                 be                  be
cp5                 be                  be
cp6                 be                  be
cp7                 be                  be
cs1                 be                  be
cp9                 be                  be
af11                af                  af
cp11                be                  be
af12                af                  af
cp13                be                  be
af13                af                  af
cp15                be                  be
cs2                 be                  be
cp17                be                  be
af21                l1                  l1
cp19                be                  be
af22                l1                  l1
cp21                be                  be
af23                l1                  l1
cp23                be                  be
cs3                 be                  be
cp25                be                  be
af31                l1                  l1
cp27                be                  be
af32                l1                  l1
cp29                be                  be
af33                h2                  l1
cp31                be                  be
cs4                 be                  be
cp33                be                  be
af41                nc                  nc
cp35                be                  be
af42                h2                  h2
cp37                be                  be
af43                h2                  h2
cp39                be                  be
cs5                 be                  be
cp41                be                  be
cp42                be                  be
cp43                be                  be
cp44                be                  be
cp45                be                  be
ef                  ef                  ef
cp47                be                  be
nc1                 nc                  nc
cp49                be                  be
cp50                h2                  h2
cp51                be                  be
cp52                be                  be
cp53                be                  be
cp54                be                  be
cp55                be                  be
nc2                 nc                  nc
cp57                be                  be
cp58                be                  be
cp59                be                  be
cp60                be                  be
cp61                be                  be
cp62                be                  be
cp63                be                  be
===============================================================================
*A:SAS-DUTA# 

Output Sample (VPRN Service Instance)

*A:SAS-DUTA# show router 1 sgt-qos dscp-map 
===============================================================================
DSCP to FC Mappings
===============================================================================
DSCP Value          FC Value            Default FC Value
-------------------------------------------------------------------------------
be                  nc                  nc
cp1                 be                  be
cp2                 be                  be
cp3                 be                  be
cp4                 be                  be
cp5                 be                  be
cp6                 be                  be
cp7                 be                  be
cs1                 be                  be
cp9                 be                  be
af11                af                  af
cp11                be                  be
af12                af                  af
cp13                be                  be
af13                af                  af
cp15                be                  be
cs2                 be                  be
cp17                ef                  be
af21                l1                  l1
cp19                be                  be
af22                l1                  l1
cp21                be                  be
af23                l1                  l1
cp23                be                  be
cs3                 be                  be
cp25                be                  be
af31                l1                  l1
cp27                be                  be
af32                l1                  l1
cp29                be                  be
af33                l1                  l1
cp31                be                  be
cs4                 be                  be
cp33                be                  be
af41                nc                  nc
cp35                be                  be
af42                h2                  h2
cp37                be                  be
af43                h2                  h2
cp39                be                  be
cs5                 be                  be
cp41                be                  be
cp42                be                  be
cp43                be                  be
cp44                be                  be
cp45                be                  be
ef                  ef                  ef
cp47                be                  be
nc1                 nc                  nc
cp49                be                  be
cp50                h2                  h2
cp51                be                  be
cp52                be                  be
cp53                be                  be
cp54                be                  be
cp55                be                  be
nc2                 nc                  nc
cp57                be                  be
cp58                be                  be
cp59                be                  be
cp60                be                  be
cp61                be                  be
cp62                be                  be
cp63                be                  be
===============================================================================
*A:SAS-DUTA# 
Table 8. Output fields: SGT-QoS DSCP map

Label

Description

DSCP Value

The DSCP values (displayed as names) of the self-generated traffic

FC Value

The FC value mapped to each DSCP value

Default FC Value

The default FC value

1 Based on the type of the PTP message, that is, PTP event messages (for example, Sync message) and PTP non-event messages (for example, Announce, Follow-up), the DSCP value used is either 0x30 (h1) or 0x38 (nc), and the dot1p value is always 7.
2 The default FC mapping is used for all DSCP names/values for which there is no explicit FC mapping.