User`s guide

Chapter 10 Network QoS for vNICs 199
Automatic Calculation
Automatic calculation ensures that the optimal linear-function settings are
configured. XgOS supports the automatic calculation of CBS and PBS. When you
specify the CIR and PIR as the first and second QoS parameters (but do not specify
CBS and PBS), XgOS automatically calculates the equivalent CBS and PBS values.
To allow automatic calculation for the CBS and PBS parameters, you can either enter
only the CIR and PIR parameters as the first two values in the command (as shown
in the following example), or you can set the CBS and PBS parameters to zero (0).
For example, -cbs=0 and -pbs=0 achieves automatic calculation. Automatic
calculation applies to CBS and PBS arguments only and only if you specify the CIR
as the first qualifier and/or PIR as the second qualifier.
Example:
Note In most cases, Oracle recommends you do not modify the CBS or PBS.
Use the automatically calculated defaults by specifying only the CIR and PIR.
Example: vNIC Custom Policer for a 10GbE Card
The following figure shows an example topology of a policer in a 10 Gbps network.
add qos network policer aa/bb 10m 10m
show qos network policer aa/bb
name level descr cir pir cbs pbs
-----------------------------------------------------------------
aa/bb global 10Mbps 10Mbps 1.78814MB 1.78814MB
1 record displayed