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#