Configuring and applying QoS policies other than the default policy is optional. A default network policy of the appropriate type is applied to each 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) map. Otherwise, the default values are applied:
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. Remarking can be enabled or disabled.
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-profile or out-of-profile.
Specify ingress criteria using the following:
default action
Defines the default action to be taken for packets that have an undefined dot1p bit set. The default-action specifies the FC to which such packets are assigned.
dot1p
This specifies the dot1p 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.
config>qos#
network policy-id [network-policy-type network-policy-type]
description description-string
scope {exclusive|template}
egress
remarking
fc {be|l2|af|l1|h2|ef|h1|nc}
dot1p-in-profile dot1p-priority
dot1p-out-profile dot1p-priority
default-action fc {fc-name} profile {in|out}
dot1p dot1p-priority 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]
The following commands associate a network QoS policy with the access-uplink port.
config>port
ethernet
access
uplink
qos network-policy-id
The following is a sample configuration output for 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#