User`s guide
6 XgOS User’s Guide • September 2014
The variable vnics contains a vector of lines containing the output from the show
-list vnics command.
Wildcards
You can use wildcards to control the display of output. Wildcards may be used in
most of the XgOS show commands to select a set of objects. The only wildcard
character supported is the asterisk (*) which causes zero or more of any character to
be displayed in the show command. Wildcards can also represent entire names.
Strings you create with wildcards are case sensitive, so make sure you enter the
wilcarded item correctly. For example, vNICs named “vnic1” and “vnic2” are not
displayed if you issue show vnic V*. If you issue show vnic v* the vNICs are
displayed.
Note – Not all show commands support the use of wildcards (for example, LAGs
and VLANs do not support them for selecting the LAG name or VLAN number)
For example, if you enter:
The wildcard character represents zero or more characters in a name string starting
with “v.” The result of this command is a list of all vNIC with “v” as the first letter.
If you enter:
The first wildcard represents an entire name, and the second and third represent
individual characters. The result of this command is a list of all vHBAs on all Server
Profiles that contains the string “test” in their name.
If you enter:
The first wildcard represents a name string for a Network QoS policer, and the
second wildcard represents and characters in the policer rate. The result of this
command is a list of all Network QoS policers in any set that limit the CIR to 100
Mbps.
show vnic v*
show vhba *.*test*
show qos network policer */100m*