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:

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

Example

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

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