CLI Description | Command |
---|---|
Copy a local file to remote fileCopy 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 storeCopy 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 filenameCopy a remote https url file to local file using same filename. |
copy url <url> thumbprint <thumbprint> [file <filename>]
|
Delete local fileDelete a local file. |
del file <existing-file-or-pattern-arg>
|
Delete the host's public cloud gateway certificateDelete the host's public cloud gateway certificate |
del gateway certificate <ip-address>
|
Delete all the host's public cloud gateway certificatesDelete all the host's public cloud gateway certificates |
del gateway certificates
|
Exit the CLIExit the VRF context mode if you are in it. Otherwise, exit the CLI. |
exit
|
Show status to display datetime stampShow status to display datetime stamp in command output. |
get cli-output datetime
|
Display commands historyDisplay 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 systemDisplay information about the core dump files in the system. |
get core-dumps
|
List file in the filestoreDisplay information about the specified file in the filestore. |
get file <existing-file-arg>
|
Display file thumbprintDisplay the file thumbprint. |
get file <existing-file-arg> thumbprint
|
List files in the filestoreDisplay information about the files in the filestore. |
get files
|
Display firewall addresses for the specified address setDisplay firewall addresses for the specified address set. |
get firewall addrset name <uuid-arg>
|
Display firewall address sets for the available virtual interfaceDisplay firewall address sets for the available virtual interface. |
get firewall addrset sets
|
Display firewall fqdn attribute of profilesDisplay firewall fqdn attribute of profiles. |
get firewall context-profile <context-profile-id-arg> fqdn
|
Display firewall fqdn attribute of profilesDisplay firewall fqdn attribute of profiles. |
get firewall context-profiles
|
Display firewall exclude interfacesDisplay firewall exclude interfaces. |
get firewall exclude
|
Display firewall ipfix containersDisplay firewall ipfix containers. |
get firewall ipfix-containers
|
Display firewall ipfix filtersDisplay firewall ipfix filters. |
get firewall ipfix-filters
|
Display firewall ipfix profile configurationDisplay firewall ipfix profile configration. |
get firewall ipfix-profiles
|
Display firewall ipfix statisticsDisplay firewall ipfix statistics. |
get firewall ipfix-stats
|
Display firewall rule statisticsDisplay firewall rule statistics. |
get firewall rule-stats
|
Display total firewall rule statisticsDisplay total firewall rule statistics. |
get firewall rule-stats total
|
Display the summary of firewall rulesDisplay the summary of firewall rules. |
get firewall rules
|
Display a gatewayDisplay information about the specified gateway. |
get gateway <uuid-arg>
|
Display forwarding information for a gatewayDisplay forwarding for the specified gateway. |
get gateway <uuid-arg> forwarding
|
Display forwarding information for a gatewayDisplay forwarding for the specified gateway, filtered by prefix. |
get gateway <uuid-arg> forwarding <network46-address>
|
Display IPv4 forwarding for a gatewayDisplay IPv4 forwarding for the specified gateway. |
get gateway <uuid-arg> forwarding ipv4
|
Display IPv6 forwarding for a gatewayDisplay IPv6 forwarding for the specified gateway. |
get gateway <uuid-arg> forwarding ipv6
|
Display a gateway interfaceDisplay interface information for the specified gateway and port. |
get gateway <uuid-arg> interface <uuid-arg>
|
Display a gateway interface statisticsDisplay interface statistics for the specified gateway and port. |
get gateway <uuid-arg> interface <uuid-arg> stats
|
Display a gateway interface statisticsDisplay interface statistics for the specified gateway and port. |
get gateway <uuid-arg> interface <uuid-arg> stats <ip-version>
|
Display interfaces for a gatewayDisplay interface information for the specified gateway. |
get gateway <uuid-arg> interfaces
|
Display neighbor for a gatewayDisplay neighbor information (ARP/ND cache) for the specified gateway, using IP or MAC. |
get gateway <uuid-arg> neighbor <ipormac-address>
|
Display neighbors for a gatewayDisplay neighbor information (ARP cache) for the specified gateway. |
get gateway <uuid-arg> neighbors
|
Dump the host's public cloud gateway certificateDump the host's public cloud gateway certificate |
get gateway certificate <ip-address>
|
Dump the host's public cloud gateway certificatesDump the host's public cloud gateway certificates. |
get gateway certificates
|
Dump the host's public cloud gateway connection statusDump the host's public cloud gateway connection status. |
get gateway connection status
|
Display information about gateways asscociated with the VIF on this public cloud hostDisplay information about gateways asscociated with the VIF on this public cloud host. |
get gateways
|
Display a logical routerDisplay information about the specified logical router. |
get logical-router <uuid-arg>
|
Display forwarding information for a logical routerDisplay forwarding for the specified logical router. |
get logical-router <uuid-arg> forwarding
|
Display forwarding information for a logical routerDisplay forwarding for the specified logical router, filtered by prefix. |
get logical-router <uuid-arg> forwarding <network46-address>
|
Display IPv4 forwarding for a logical routerDisplay IPv4 forwarding for the specified logical router. |
get logical-router <uuid-arg> forwarding ipv4
|
Display IPv6 forwarding for a logical routerDisplay IPv6 forwarding for the specified logical router. |
get logical-router <uuid-arg> forwarding ipv6
|
Display a logical router interfaceDisplay interface information for the specified logical router and port. |
get logical-router <uuid-arg> interface <uuid-arg>
|
Display a logical router interface statisticsDisplay interface statistics for the specified logical router and port. |
get logical-router <uuid-arg> interface <uuid-arg> stats
|
Display a logical router interface statisticsDisplay 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 routerDisplay interface information for the specified logical router. |
get logical-router <uuid-arg> interfaces
|
Display neighbor for a logical routerDisplay 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 routerDisplay 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 hostDisplay information about logical routers asscociated with the VIF on this public cloud host. |
get logical-routers
|
Display information about a logical switchDisplay information about the specified logical switch. |
get logical-switch <ls-id-arg-kvm>
|
Display ARP table for a logical switchDisplay the ARP table for the specified logical switch. |
get logical-switch <ls-id-arg-kvm> arp-table
|
Display MAC table for a logical switchDisplay the MAC table for the specified logical switch. |
get logical-switch <ls-id-arg-kvm> mac-table
|
Display ports on a logical switchDisplay ports on the specified logical switch. |
get logical-switch <ls-id-arg-kvm> ports
|
Display VTEP table for a logical switchDisplay 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 hostDisplay all logical switches associated with the VIF on this host. |
get logical-switches
|
Display information about a segmentDisplay information about the specified segment. |
get segment <segment-id-arg-kvm>
|
Display ARP table for a segmentDisplay the ARP table for the specified segment. |
get segment <segment-id-arg-kvm> arp-table
|
Display MAC table for a segmentDisplay the MAC table for the specified segment. |
get segment <segment-id-arg-kvm> mac-table
|
Display ports on a segmentDisplay ports on the specified segment. |
get segment <segment-id-arg-kvm> ports
|
Display VTEP table for a segmentDisplay the VTEP table for the specified segment. |
get segment <segment-id-arg-kvm> vtep
|
Display all segment associated with the VIF on this hostDisplay all segment associated with the VIF on this host. |
get segments
|
Save support bundle in filestoreSaves support bundle to the specified filename in the filestore. |
get support-bundle [file <filename>]
|
Display information about a IPFIX configurationDisplay information about the specified IPFIX configuration. |
get switch-ipfix logical-switch-port <logical-port-id-arg> setting
|
Display system versionDisplay the version of the NSX appliance. |
get version
|
Dump the host's network mode and tagged interfaceDump the host's network mode and tagged interface. |
get vm-network-mode
|
Display help for specified command or list available commandsDisplay help information. See the example below. |
help
|
List available commandsThis command lists all available commands. |
list
|
Set status to display datetime stampSet status to display datetime stamp in command output. |
set cli-output datetime <datetime-arg>
|
Set commands history sizeSet command history size. |
set history limit <history-size>
|