User`s guide
Chapter 4 Configuring the XgOS CLI 59
Example: Show Configuration in a List
Example: Show Configuration in XML Format
Example: Sort CLI Output by Columns
To sort the vNIC output by the “if” column:
show -list vnic foobar.pubs
--------------------------------------------
name foobar.pubs
state up
mac-addr 00:13:97:01:80:06
ipaddr
descr
if 6/1
if-state -
ha-state
local-id 0
type
vlans none
qos ie
show -xml vnic foobar.pubs
<table>
<row number="0">
<cell name="name" value="foobar.pubs"/>
<cell name="state" value="up/resourceUnavailable"/>
<cell name="mac-addr" value="00:00:00:00:00:00"/>
<cell name="ipaddr" value="0.0.0.0/32"/>
<cell name="if" value=""/>
<cell name="if-state" value="-"/>
<cell name="ha-state" value=""/>
<cell name="local-id" value="0"/>
<cell name="type" value="dhcp"/>
<cell name="vlans" value="none"/>
<cell name="qos" value="ie"/>
</row>
</table>
show -sortby=if vnics