User`s guide
Chapter 4 Configuring the XgOS CLI 63
The following example shows a simple script of displaying vNICs. During the CLI
recording phase, the commands issued are as follows:
The first part of the example is recording the CLI session and stopping the recording:
show vnic * show
vnic pubstest.sunset
show vnic pubstest.sunset -detail
cli record-script showvnic
Recording CLI commands into the script showvnic.
Use 'cli stop-recording' to end the recording.
# show vnic *
-----------------------------------------------------------------
name iscsitest.pubstest1
state up/up
mac-addr 02:a0:5c:0f:00:07
ipaddr 192.168.11.119
if 10/1
if-state up
ha-state
local-id 0
type
vlans none
qos --
-----------------------------------------------------------------
name pubstest.sunset
state up/indeterminate
mac-addr 00:00:00:00:00:00
ipaddr 0.0.0.0/32
if
if-state -
ha-state
local-id 0
type dhcp
-----------------------------------------------------------------
2 records displayed
-----------------------------------------------------------------
# show vnic pubstest.sunset
-----------------------------------------------------------------
name pubstest.sunset
state up/indeterminate
mac-addr 00:00:00:00:00:00
ipaddr 0.0.0.0/32
if
if-state -
ha-state
local-id 0