Run a VM command from VOSS CLI

About this task

Perform this task to run a virtual machine (VM) command from the VOSS CLI.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Run the ls command for the VM configs directory from the CLI:

    virtual-service WORD<1-128> exec-command WORD<1-256>

  3. Run a Fabric IPsec Gateway command from the CLI:

    virtual-service WORD<1-128> figw-cli WORD<1-256>

Examples

From VOSS, list the contents of the home/rwa/configs directory in the Fabric IPsec Gateway VM:

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#virtual-service figw exec-command "ls /home/rwa/configs"
config.cfg
figw_cli.log
shadov.txt

From VOSS, configure the source VLAN ID for the IPsec tunnel in the Fabric IPsec Gateway VM:

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#virtual-service figw figw-cli "set global ipsec-tunnel-src-vlan 71"