Owner's Manual
80 | Smart Scripting
www.dell.com | support.dell.com
Running a UNIX API Script
When you run a UNIX shell script that invokes the API functions in Supported API
Functions in UNIX Shell Scripts, logon credentials are read from the smartutils.cfg
file and a telnet session opens on the switch in which function calls are executed in
the Dell Networking OS CLI. The script closes the telnet session after running all the
CLI commands.
showipintbriefphy None Returns brief interface status (up/down/ admin up/down) of all
physical interfaces.
showipintbriefvlan None Returns brief interface status (up/down/ admin up/down) of all
VLAN interfaces.
showiproute None Returns switch routing table.
showisisneighbors None Returns detailed ISIS neighbor information.
showisisroute None Returns ISIS-learned routes.
showlagintstatus lagId Returns detailed status information for a specified port channel.
showlagintvlanmembers lagId Returns VLAN membership of a specified port channel.
showlog None Returns system log output.
showmacaddrtbl None Returns the table of learned MAC addresses.
showmem lagId Returns switch memory usage.
showospfneighbors None Returns detailed OSPF neighbor information.
showospfroute None Returns OSPF-learned routes.
showphyintband stackunitNum, portId Returns in/out bandwidth average for a specified port.
showphyintstatus stackunitNum, portId Returns detailed status information for a specified port
showphyintvlanmembers stackunitNum, portId Returns VLAN membership of a specified port.
showproccpu None Returns switch CPU usage and running processes.
showrun None Returns the running configuration (in memory).
showver None Returns software version information.
showvlan None Returns information on all VLANs, including membership.
showvlanid vlanId Returns detailed interface information for a specified VLAN.
showvlanintstatus vlanId Returns VLAN interface status.
showvrrp None Returns the full VRRP status output.
showvrrpbrief None Returns a brief VRRP session summary.
traceroute ipAddress, timeout Performs a traceroute operation to an IP address from the switch.
writemem None Write the running configuration to the startup configuration file.
Table 5-5. Supported API Functions in UNIX Shell Scripts (continued)