User`s guide

8 XgOS User’s Guide September 2014
Expressions can be combined using “and”, “or”, and “xor”. Expressions can also be
enclosed in parentheses.
For example, if you enter:
This command shows all vNICs terminated on interface 1/1.
If you enter:
This command shows vHBAs with a name that starts with “priv” and are on the
“prod” server profile, filtering those with an if-state column (interface state) that is
not “up”
If you enter:
This command shows all server-profiles that are connected to an external switch and
are “up”
If you enter:
This command shows all server profiles that have a vNIC or vHBA on them.
Naming Conventions
Names for objects in the OVN information model should follow these naming
guidelines. Here is a partial list of characters that should be avoided when naming
server profiles, vNICs, and vHBAs:
$ which is used by the CLI for textual replacement of expressions.
/ (slash) and ^ (caret) and % (percent sign) cause errors and prevent the named
item from being displayed.
: (colon) causes a permissions error.
Internal blank spaces are accepted when they are enclosed in quotation marks. For
example, a server profile named “web apps” is valid, but web apps is not.
While the XgOS CLI and Oracle Fabric Manager do not enforce rules about naming
objects, we recommend the following guidelines:
show vnic * where if = 1/1
show vhba priv*.prod where if-state <> up
show server-profile * where connection like "extsw" and state = up
show server-profile * where vnics > 0 or vhbas > 0