Skip to main content
Cisco SD-WAN
Support
Product Documentation
Viptela Documentation

request execute

request execute—Execute a shell command from within the Viptela CLI.

Command Syntax

request execute [vpn vpn-id] command (in Releases 15.4 and later)
request execute [vpn vpn-id] "command" (in Releases 15.3 and earlier)

Options

Command Name
command
Run the specified command in the UNIX shell while still remaining in the Viptela CLI. In Releases 15.3 and earlier, you must enclose the command within quotation marks.
VPN
vpn vpn-id
Specific the VPN in which to execute the command. The default vpn-id is VPN 0.

Output Fields

The output fields depend on the command you execute.

Example Output

vSmart# request execute ls
Execute command in vpn 0 - ls
cacert.pem  vsmart-signed-cert-vm9.pem    vsmart-vm9.csr 

Viptela# request execute vpn 512 ssh admin@10.0.1.1

To open an SSH connection from a vManage NMS to an IOS XE router, you must specify the port number, which is 830:

vManage# request execute vpn 0 ssh 172.16.255.15
ssh: connect to host 172.16.255.15 port 22: Connection refused
vManage# request execute vpn 0 ssh 172.16.255.15 -p 830
admin@172.16.255.15's password:

Release Information

Command introduced in Viptela Software Release 14.1.
Starting in Releae 15.4, enclosing the shell command in quotation marks is no longer necessary.

  • Was this article helpful?