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