Run a VM command from Network Operating System (NOS) CLI

About this task

Perform this task to run a virtual machine (VM) command from the NOS 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>

    Note

    Note

    To use this command, the Fabric IPsec Gateway image must be at least 5.0.0.0.

Examples

From NOS, 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 NOS, 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"