Creating a Network QoS Policy

Configuring and applying network QoS policies other than the default policy is optional.

Use the following CLI syntax to create a network QoS policy for router interfaces (ip-interface type) and ring port (ring type).

The ip-interface keyword is optional for router interface network policies.

Use the ring keyword to create a network QoS policy that can be applied to a bridging domain port (that is, a ring port or the add/drop port). Up to eight dot1p-to-queue and profile mappings can be defined under the ring command.

CLI Syntax:
config>qos# 
network network-policy-id [create] [network-policy-type {ip-interface | ring | default}] 
    description description-string 
    scope {exclusive|template}
    egress
        fc {be|l2|af|l1|h2|ef|h1|nc}
            dot1p dot1p-priority
            dot1p-in-profile dot1p-priority
            dot1p-out-profile dot1p-priority
            dscp-in-profile dscp-name
            dscp-out-profile dscp-name
            lsp-exp-in-profile lsp-exp-value
            lsp-exp-out-profile lsp-exp-value
    ingress
        default-action fc {be|l2|af|l1|h2|ef|h1|nc} profile {in|out}
        dscp dscp-name fc {be|l2|af|l1|h2|ef|h1|nc} profile {in|out}
        ler-use-dscp
        lsp-exp lsp-exp-value fc fc-name profile {in|out}
    ring
        default-action queue queue-id profile {in | out}
        dot1p dot1p-priority queue queue-id profile {in|out}
    exit
Example:
configure qos network 700 create network-policy-type ip-interface
config>qos>network$ description "Net Policy"
config>qos>network$ scope template
config>qos>network$ egress fc be
config>qos>network>egress>fc$ dot1p 1
config>qos>network>egress>fc$ lsp-exp-in-profile 2
config>qos>network>egress>fc$ lsp-exp-out-profile 3
config>qos>network>egress>fc$ exit
config>qos>network$ ingress
config>qos>network>ingress$ default-action fc be profile in
config>qos>network>ingress$ exit
config>qos>network$ exit

The following output displays the configuration for an ip-interface type network policy 700:

*A:ALU-1>config>qos# info
---------------------------------------------------
echo "QoS Policy Configuration"
#--------------------------------------------------
network 700 network-policy-type ip-interface create
            description "Net Policy"
            ingress
                default-action fc be profile in
            exit
            egress
                fc be
                    lsp-exp-in-profile 2
                    lsp-exp-out-profile 3
                    dot1p-in-profile 1
                    dot1p-out-profile 1
                exit
            exit
        exit
---------------------------------------------------

The following example creates a ring type network QoS policy on the 2-port 10GigE (Ethernet) Adapter card or 2-port 10GigE (Ethernet) module.

Example:
config>qos>network 5 network-policy-type ring create 
config>qos>network>ring# default-action queue 1 profile out
config>qos>network>ring# dot1p 1 queue 4 profile in
config>qos>network>ring# dot1p 5 queue 6 profile out
config>qos>network>ring# exit
config>qos>network# scope template
config>qos>network# exit

The following output displays the configuration for ring network policy 5:

*A:7705custDoc:Sar18>config>qos>network# info detail
----------------------------------------------
            no description
            scope template
            ring
                default-action queue 1 profile out
                dot1p 1 queue 4 profile in
                dot1p 5 queue 6 profile out
            exit
----------------------------------------------
*A:7705custDoc:Sar18>config>qos>network#