User`s guide

198 XgOS User’s Guide September 2014
1. Create a custom QoS set.
2. Specify a profile within the set. Repeat this step as needed to define all profiles in
the custom QoS set.
As an option, you can also specify one or more profiles in the QoS set after it has
been assigned to the I/O card.
3. Assign the custom QoS set to an I/O card.
4. Associate the profile to a vNIC and specify a traffic direction (ingress or egress).
Note If you have multiple 10 GE or 10-Port GE cards and want to deploy the same
QoS policy to all the cards irrespective of vNIC movement, then use the same tested
QoS set for all the cards. Each time a vNIC moves across I/O cards, it will be treated
with the same QoS behavior. Applying different QoS sets to different cards does not
guarantee QoS for vNIC movement.
Use add and set commands to control the policer’s behavior for vNICs. You can
configure a QoS policer in the ingress direction, egress direction, or both. The
configurations can be asymmetrical over the same vNIC. For example, the ingress
policer can be set to 100 Mbps while the egress direction is 200 Mbps. After a policer
has been added, you can change its profile values dynamically (on-the-fly) by
issuing set commands.
Syntax
where a policy name is in the form of <set>/<subset>.
Note If you need to remove the QoS set association from an I/O card, use the
command set ethernet-card <slot> qos -set=none.
add qos network policer <set/name> [-cbs=<value>] [-pbs=<value>] -cir=<value>
-pir=<value>
set ethernet-card <slot> qos -set=<name>|default|none
set vnic <name> {ingress-qos|egress-qos} -policer=<set>/<subset> [-enable]
[-disable]
show vnic <name> qos
remove qos network policer <set/name>