User`s guide
Chapter 10 Network QoS for vNICs 197
Syntax
A profile itself has no direction (ingress or egress). You must explicitly apply two
profiles (one for each direction) to each object. No QoS is available for a traffic
direction that is not specified.
The system allows you to disable QoS on a specific vNIC. The default is enable.
Example
Choose a default profile (default/2g_10g), specify a traffic direction (ingress-
qos, egress-qos), and assign it to a vNIC (t1.foo) in both the ingress and
egress direction:
In this example, a policer was applied to the vNIC. During periods of network
congestion, 2G is guaranteed (CIR). During periods of no network congestion,
maximum bandwidth is allowed.
To define your own QoS custom set (not use default/<name>), see the next
sections.
QoS Custom Sets
XgOS enables you to create your own QoS custom set (profile) and apply it to
vNICs. By default, a new custom set is empty.
A custom set must first be applied to an Ethernet I/O card before being applied to a
vNIC. You can use the set ethernet-card command with the qos qualifier to
apply the custom set to an I?O card. After being applied to an I/O card and vNIC, a
set becomes available and can police traffic.
When configuring custom QoS sets, the general QoS configuration approach is as
follows:
set vnic <name> {ingress-qos|egress-qos} -policer=default/<name>
[enable|disable]
show vnic
show qos network policer [*|<set/name>]
set vnic t1.foo ingress-qos -policer=default/2g_10g enable
set vnic t1.foo egress-qos -policer=default/2g_10g enable