Configuring network QoS policy (port type) for network mode

To create a network QoS policy of the port type when operating in network mode, define the following:

The following example shows the command usage to associate a network QoS policy with the network port.

network port (in network mode)
config> port
    ethernet
        network
            qos network-policy-id

Use the following syntax to create a network QoS policy.

config>qos# 
    network policy-id [network-policy-type network-policy-type]
        description description-string 
        scope {exclusive|template}
        egress
            remarking
            remark <policy-id>
        ingress
            default-action fc {fc-name} profile {in|out}
            lsp-exp lsp-exp-value fc fc-name profile {in | out}
            fc {fc-name}
                meter {meter-id}
                multicast-meter {id}
            meter meter-id [multipoint]
                adaptation-rule cir {closest | max | min} pir {closest | max | min}
                cbs {size-in-kbits}
                mbs {size-in-kbits}
                mode {trtcm | srtcm}
                rate cir cir-rate-in-kbps [pir pir-rate-in-kbps]
            mpls-lsp-exp-profile policy-id
Example

The following is a sample configuration output of a network port type QoS policy on the 7210 SAS-T, 7210 SAS-Sx/S 1/10GE, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp.

*A:dut-d>config>qos>network# info detail
----------------------------------------------
            description "Default network-port QoS policy."
            scope template
            ingress
                default-action fc be profile out
                meter 1 create
                    mode trtcm1
                    adaptation-rule cir closest pir closest
                    rate cir 0 pir max
                    mbs default kbits
                    cbs default kbits
                exit
                dscp be fc be profile out
                dscp ef fc ef profile in
                dscp cs1 fc l2 profile in
                dscp nc1 fc h1 profile in
                dscp nc2 fc nc profile in
                dscp af11 fc af profile in
                dscp af12 fc af profile out
                dscp af41 fc h2 profile in
            exit
            egress
                no remarking
                fc af
                    dscp-in-profile af11
                    dscp-out-profile af12
                    no dot1p
                    dot1p-in-profile 3
                    dot1p-out-profile 2
                    no de-mark
                exit
                fc be
                    dscp-in-profile be
                    dscp-out-profile be
                    no dot1p
                    dot1p-in-profile 0
                    dot1p-out-profile 0
                    no de-mark
                exit
                fc ef
Example

The following is a sample configuration output of a network port type QoS policy on the 7210 SAS-R6 and 7210 SAS-R12.

A:Dut-B>config>qos>network# info detail
----------------------------------------------
            description "Default network-port QoS policy."
            scope template
            ingress
                default-action fc be profile out
                meter 1 create
                    mode trtcm1
                    adaptation-rule cir closest pir closest
                    rate cir 0 pir max
                    mbs default kbits
                    cbs default kbits
                exit
                dscp be fc be profile out
                dscp ef fc ef profile in
                dscp cs1 fc l2 profile in
                dscp nc1 fc h1 profile in
                dscp nc2 fc nc profile in
                dscp af11 fc af profile in
                dscp af12 fc af profile out
                dscp af41 fc h2 profile in
            exit
            egress
                no remarking
                remark 1
            exit
----------------------------------------------
A:Dut-B>config>qos>network#