NSX Cloud VM

Associated Commands:

CLI Description Command

Copy a local file to remote file


Copy a local file to a remote destination.
copy file <existing-file-arg> url <scp-file-url-arg>

Copy a remote file to the local file store


Copy a remote file to the local file store. If no destination file is specified, the copied file has the same file name as the source file. You can use the file argument to specify a different destination file name.
To specify IPv6 remote addresses, url server should be enclosed between square brackets.
copy url <url> [file <filename>]

Copy a remote https url file with same filename


Copy a remote https url file to local file using same filename.
copy url <url> thumbprint <thumbprint> [file <filename>]

Delete local file


Delete a local file.
del file <existing-file-or-pattern-arg>

Delete the host's public cloud gateway certificate


Delete the host's public cloud gateway certificate
del gateway certificate <ip-address>

Delete all the host's public cloud gateway certificates


Delete all the host's public cloud gateway certificates
del gateway certificates

Exit the CLI


Exit the VRF context mode if you are in it. Otherwise, exit the CLI.
exit

Show status to display datetime stamp


Show status to display datetime stamp in command output.
get cli-output datetime

Display commands history


Display the commands history in command output.
To show all command history set size to 0.

Note:Outputs command history from version 3.2.0 and above.
get command history

List core dump files in the system


Display information about the core dump files in the system.
get core-dumps

List file in the filestore


Display information about the specified file in the filestore.
get file <existing-file-arg>

Display file thumbprint


Display the file thumbprint.
get file <existing-file-arg> thumbprint

List files in the filestore


Display information about the files in the filestore.
get files

Display firewall addresses for the specified address set


Display firewall addresses for the specified address set.
get firewall addrset name <uuid-arg>

Display firewall address sets for the available virtual interface


Display firewall address sets for the available virtual interface.
get firewall addrset sets

Display firewall fqdn attribute of profiles


Display firewall fqdn attribute of profiles.
get firewall context-profile <context-profile-id-arg> fqdn

Display firewall fqdn attribute of profiles


Display firewall fqdn attribute of profiles.
get firewall context-profiles

Display firewall exclude interfaces


Display firewall exclude interfaces.
get firewall exclude

Display firewall ipfix containers


Display firewall ipfix containers.
get firewall ipfix-containers

Display firewall ipfix filters


Display firewall ipfix filters.
get firewall ipfix-filters

Display firewall ipfix profile configuration


Display firewall ipfix profile configration.
get firewall ipfix-profiles

Display firewall ipfix statistics


Display firewall ipfix statistics.
get firewall ipfix-stats

Display firewall rule statistics


Display firewall rule statistics.
get firewall rule-stats

Display total firewall rule statistics


Display total firewall rule statistics.
get firewall rule-stats total

Display the summary of firewall rules


Display the summary of firewall rules.
get firewall rules

Display a gateway


Display information about the specified gateway.
get gateway <uuid-arg>

Display forwarding information for a gateway


Display forwarding for the specified gateway.
get gateway <uuid-arg> forwarding

Display forwarding information for a gateway


Display forwarding for the specified gateway, filtered by prefix.
get gateway <uuid-arg> forwarding <network46-address>

Display IPv4 forwarding for a gateway


Display IPv4 forwarding for the specified gateway.
get gateway <uuid-arg> forwarding ipv4

Display IPv6 forwarding for a gateway


Display IPv6 forwarding for the specified gateway.
get gateway <uuid-arg> forwarding ipv6

Display a gateway interface


Display interface information for the specified gateway and port.
get gateway <uuid-arg> interface <uuid-arg>

Display a gateway interface statistics


Display interface statistics for the specified gateway and port.
get gateway <uuid-arg> interface <uuid-arg> stats

Display a gateway interface statistics


Display interface statistics for the specified gateway and port.
get gateway <uuid-arg> interface <uuid-arg> stats <ip-version>

Display interfaces for a gateway


Display interface information for the specified gateway.
get gateway <uuid-arg> interfaces

Display neighbor for a gateway


Display neighbor information (ARP/ND cache) for the specified gateway, using IP or MAC.
get gateway <uuid-arg> neighbor <ipormac-address>

Display neighbors for a gateway


Display neighbor information (ARP cache) for the specified gateway.
get gateway <uuid-arg> neighbors

Dump the host's public cloud gateway certificate


Dump the host's public cloud gateway certificate
get gateway certificate <ip-address>

Dump the host's public cloud gateway certificates


Dump the host's public cloud gateway certificates.
get gateway certificates

Dump the host's public cloud gateway connection status


Dump the host's public cloud gateway connection status.
get gateway connection status

Display information about gateways asscociated with the VIF on this public cloud host


Display information about gateways asscociated with the VIF on this public cloud host.
get gateways

Display a logical router


Display information about the specified logical router.
get logical-router <uuid-arg>

Display forwarding information for a logical router


Display forwarding for the specified logical router.
get logical-router <uuid-arg> forwarding

Display forwarding information for a logical router


Display forwarding for the specified logical router, filtered by prefix.
get logical-router <uuid-arg> forwarding <network46-address>

Display IPv4 forwarding for a logical router


Display IPv4 forwarding for the specified logical router.
get logical-router <uuid-arg> forwarding ipv4

Display IPv6 forwarding for a logical router


Display IPv6 forwarding for the specified logical router.
get logical-router <uuid-arg> forwarding ipv6

Display a logical router interface


Display interface information for the specified logical router and port.
get logical-router <uuid-arg> interface <uuid-arg>

Display a logical router interface statistics


Display interface statistics for the specified logical router and port.
get logical-router <uuid-arg> interface <uuid-arg> stats

Display a logical router interface statistics


Display interface statistics for the specified logical router and port.
get logical-router <uuid-arg> interface <uuid-arg> stats <ip-version>

Display interfaces for a logical router


Display interface information for the specified logical router.
get logical-router <uuid-arg> interfaces

Display neighbor for a logical router


Display neighbor information (ARP/ND cache) for the specified logical router, using IP or MAC.
get logical-router <uuid-arg> neighbor <ipormac-address>

Display neighbors for a logical router


Display neighbor information (ARP cache) for the specified logical router.
get logical-router <uuid-arg> neighbors

Display information about logical routers asscociated with the VIF on this public cloud host


Display information about logical routers asscociated with the VIF on this public cloud host.
get logical-routers

Display information about a logical switch


Display information about the specified logical switch.
get logical-switch <ls-id-arg-kvm>

Display ARP table for a logical switch


Display the ARP table for the specified logical switch.
get logical-switch <ls-id-arg-kvm> arp-table

Display MAC table for a logical switch


Display the MAC table for the specified logical switch.
get logical-switch <ls-id-arg-kvm> mac-table

Display ports on a logical switch


Display ports on the specified logical switch.
get logical-switch <ls-id-arg-kvm> ports

Display VTEP table for a logical switch


Display the VTEP table for the specified logical switch.
get logical-switch <ls-id-arg-kvm> vtep

Display all logical switches associated with the VIF on this host


Display all logical switches associated with the VIF on this host.
get logical-switches

Display information about a segment


Display information about the specified segment.
get segment <segment-id-arg-kvm>

Display ARP table for a segment


Display the ARP table for the specified segment.
get segment <segment-id-arg-kvm> arp-table

Display MAC table for a segment


Display the MAC table for the specified segment.
get segment <segment-id-arg-kvm> mac-table

Display ports on a segment


Display ports on the specified segment.
get segment <segment-id-arg-kvm> ports

Display VTEP table for a segment


Display the VTEP table for the specified segment.
get segment <segment-id-arg-kvm> vtep

Display all segment associated with the VIF on this host


Display all segment associated with the VIF on this host.
get segments

Save support bundle in filestore


Saves support bundle to the specified filename in the filestore.
get support-bundle [file <filename>]

Display information about a IPFIX configuration


Display information about the specified IPFIX configuration.
get switch-ipfix logical-switch-port <logical-port-id-arg> setting

Display system version


Display the version of the NSX appliance.
get version

Dump the host's network mode and tagged interface


Dump the host's network mode and tagged interface.
get vm-network-mode

Display help for specified command or list available commands


Display help information. See the example below.
help

List available commands


This command lists all available commands.
list

Set status to display datetime stamp


Set status to display datetime stamp in command output.
set cli-output datetime <datetime-arg>

Set commands history size


Set command history size.
set history limit <history-size>
Total commands: 72