Administrator Guide
To configure MTU:
Input.xml
<input>
<config-commands>
interface vlan 100\r\n
mtu 10000
</config-commands>
</input>
curl -u demo:demo -X POST -T Input.xml http://<IP>:8008/api/running/dell/
_operations/cli
<output xmlns='http://www.dell.com/ns/dell:0.1/root'>
<command>conf
Dell(conf)#interface vlan 100
Dell(conf-if-vl-100)#mtu 10000
Dell(conf-if-vl-100)#end
Samples of the EXEC command
Following is the sample output of EXEC command:
Input.xml:
<input>
<exec-command>ping 10.16.127.35</exec-command>
</input>
curl -u demo:demo http://10.16.129.43:8008/api/running/dell/_operations/cli -X
POST -T ./input.xml
<output xmlns='http://www.dell.com/ns/dell:0.1/root'>
<command>ping 10.16.127.35
Type Ctrl-C to abort.
Sending 5, 100-byte ICMP Echos to 10.16.127.35, timeout is 2 seconds:
!!!!!
Success rate is 100.0 percent (5/5), round-trip min/avg/max = 0/4/20 (ms)
Dell# </command>
</output>
Samples of the show-command
Following is the sample output of SHOW command:
Input.xml:
<input>
<show-command>version</show-command>
</input>
curl -u demo:demo -X POST -T Input.xml http://<IP>:8008/api/running/dell/
_operations/cli
<output xmlns='http://www.dell.com/ns/dell:0.1/root'>
<command>show version
Dell Real Time Operating System Software
Dell Operating System Version: 2.0
Dell Application Software Version: 9-7(0-90)
Copyright (c) 1999-2014 by Dell Inc. All Rights Reserved.
<snip...>
Dell Networking OS uptime is 10 minute(s)
System image file is "DT-MAA-S4810-16"
System Type: S4810
Control Processor: Freescale QorIQ P2020 with 2 Gbytes (2147483648 bytes) of
162
REST API