NSX CLI Guide
Associated Commands:
CLI Description | Command |
---|---|
Clear statistics of a specified poolClear the statistics for a specific load balancer and pool. In rare cases some of the counters may not be cleared and when that happens please try issuing the command again. |
clear load-balancer <dlb-uuid-arg> pool <pool-arg> stats
|
Clear statistics of all poolsClear the statistics for all pools of a specific load balancer. In rare cases some of the counters may not be cleared and when that happens please try issuing the command again. |
clear load-balancer <dlb-uuid-arg> pools stats
|
Clear load balancer statisticsClear the statistics for a specific load balancer. |
clear load-balancer <dlb-uuid-arg> stats
|
Clear statistics of a specified virtual serverClear the statistics for a specific load balancer and virtual server. In rare cases some of the counters may not be cleared and when that happens please try issuing the command again. |
clear load-balancer <dlb-uuid-arg> virtual-server <vs-arg> stats
|
Clear statistics of all virtual serversClear the statistics for all virtual servers of a specific load balancer. In rare cases some of the counters may not be cleared and when that happens please try issuing the command again. |
clear load-balancer <dlb-uuid-arg> virtual-servers stats
|
Clear statistics of a specified poolClear the statistics for a specific load balancer and pool. In rare cases some of the counters may not be cleared and when that happens please try issuing the command again. |
clear load-balancer <lb-uuid-arg> pool <pool-uuid-arg> stats
|
Clear statistics of all poolsClear the statistics for all pools of a specific load balancer. In rare cases some of the counters may not be cleared and when that happens please try issuing the command again. |
clear load-balancer <lb-uuid-arg> pools stats
|
Clear load balancer statisticsClear the statistics for a specific load balancer. |
clear load-balancer <lb-uuid-arg> stats
|
Clear statistics of a specified virtual serverClear the statistics for a specific load balancer and virtual server. In rare cases some of the counters may not be cleared and when that happens please try issuing the command again. |
clear load-balancer <lb-uuid-arg> virtual-server <vs-uuid-arg> stats
|
Clear statistics of all virtual serversClear the statistics for all virtual servers of a specific load balancer. In rare cases some of the counters may not be cleared and when that happens please try issuing the command again. |
clear load-balancer <lb-uuid-arg> virtual-servers stats
|
Clear load balancer performance profile settingsClear load balancer performance profile parameter settings from edge. |
clear load-balancer perf-profile
|
Show dhcp ip poolDisplay a specific DHCP IP pool. |
get dhcp ip-pool <uuid-string-arg>
|
Show all dhcp ip poolDisplay all DHCP IP pools. |
get dhcp ip-pools
|
Show dhcp ip pools matched server uuidDisplay DHCP IP pools which matched a specific server UUID. |
get dhcp ip-pools server-uuid <uuid-string-arg>
|
Show DHCPv6 IP poolDisplay a specific DHCPv6 IP pool. |
get dhcp ipv6-ip-pool <uuid-string-arg>
|
Show all DHCPv6 IP poolsDisplay all DHCPv6 IP pools. |
get dhcp ipv6-ip-pools
|
Show DHCPv6 IP pools matching server uuidDisplay DHCPv6 IP pools which match a specific server UUID. |
get dhcp ipv6-ip-pools server-uuid <uuid-string-arg>
|
Show all non-released DHCPv6 leases by search stringDisplay all non-released DHCPv6 leases by search string. |
get dhcp ipv6-lease <string-arg>
|
Show all DHCPv6 leases by search stringDisplay all DHCPv6 leases(both released and non-released) by search string. |
get dhcp ipv6-lease <string-arg> all
|
Show all non-released DHCPv6 leasesDisplay all non-released DHCPv6 leases. |
get dhcp ipv6-leases
|
Show all DHCPv6 leasesDisplay all DHCPv6 leases. |
get dhcp ipv6-leases all
|
Show DHCPv6 static bindingDisplay a specific DHCPv6 static binding. |
get dhcp ipv6-static-binding <uuid-string-arg>
|
Show all DHCPv6 static bindingsDisplay all DHCPv6 static bindings. |
get dhcp ipv6-static-bindings
|
Show DHCPv6 static bindings matching server uuidDisplay DHCPv6 static bindings which match a specific server UUID. |
get dhcp ipv6-static-bindings server-uuid <uuid-string-arg>
|
Show non-released DHCP leaseDisplay a specific DHCP lease. You can specify a DHCP server's UUID, or a MAC address, or an IP address. |
get dhcp lease <string-arg>
|
Show DHCP leaseDisplay a specific DHCP lease. You can specify a DHCP server's UUID, or a MAC address, or an IP address. |
get dhcp lease <string-arg> all
|
Show all non-released dhcp leasesDisplay all non-released DHCP leases. |
get dhcp leases
|
Show all dhcp leasesDisplay all DHCP leases. |
get dhcp leases all
|
Display DHCP Server IPv6 Stats EntriesDisplay the DHCP Server IPv6 Stats Entries. |
get dhcp server <uuid-string-arg> ipv6-stats
|
Display DHCP Server IPv4 Stats EntriesDisplay the DHCP Server IPv4 Stats Entries. |
get dhcp server <uuid-string-arg> stats
|
Show logical dhcp serverDisplay a specific DHCP server. Optionally specify an argument to display only the status or the synchronization information. |
get dhcp server <uuid> [status | sync]
|
Show all logical DHCP serverDisplay all DHCP servers. Optionally specify an argument to display only the status or the synchronization information. If the edge node is the only member of the edge cluster, the STATUS property will be displayed as UNKNOWN when you call get dhcp servers status because HA (high availability) is not available. |
get dhcp servers [status | sync]
|
Show dhcp static bindingDisplay a specific DHCP static binding. |
get dhcp static-binding <uuid-string-arg>
|
Show all dhcp static bindingDisplay all DHCP static bindings. |
get dhcp static-bindings
|
Show dhcp static bindings matched server uuidDisplay a specific DHCP static bindings which matched a specific server UUID. |
get dhcp static-bindings server-uuid <uuid-string-arg>
|
Display DNS Forwarder Cache EntriesDisplay the DNS Forwarder Cache Entries. |
get dns-forwarder <uuid-string-arg> cache
|
Display DNS Forwarder ConfigDisplay the DNS Forwarder Config. |
get dns-forwarder <uuid-string-arg> config
|
Display DNS Forwarder Stats EntriesDisplay the DNS Forwarder Stats Entries. |
get dns-forwarder <uuid-string-arg> stats
|
Display DNS Forwarder StatusDisplay DNS Forwarder Status |
get dns-forwarder <uuid-string-arg> status
|
Display DNS Forwarder EntriesDisplay the DNS Forwarder Entries. |
get dns-forwarder <uuid-string-arg> table
|
Live debugging DNS ForwarderLive debugging the DNS Forwarder |
get dns-forwarder <uuid> live-debug [server-ip <ip-address>] [lookup <hostname-or-ip-address>]
|
Display DNS Forwarder Cache Entries Per SRDisplay the DNS Forwarder Cache Entries Per SR. |
get dns-forwarder cache
|
Live debugging DNS forwarderLive debugging the DNS Forwarder |
get dns-forwarder live-debug [server-ip <ip-address>] [lookup <hostname-or-ip-address>]
|
Display DNS Forwarder Stats Entries Per SRDisplay the DNS Forwarder Stats Entries Per SR. |
get dns-forwarder stats
|
Display DNS Forwarder Status Per SRDisplay the DNS Forwarder Entries Per SR. |
get dns-forwarder status
|
Display DNS Forwarder Entries Per SRDisplay the DNS Forwarder Entries Per SR. |
get dns-forwarder table
|
Display DNS Forwarders ConfigDisplay the DNS Forwarders Config. |
get dns-forwarders config
|
Display DNS Forwarders StatusDisplay DNS Forwarder Status |
get dns-forwarders status
|
Show load balancerDisplay a specific load balancer. |
get load-balancer <dlb-uuid-arg>
|
Show the error log for the specified load balancerDisplay the error log file for a specific load balancer. |
get load-balancer <dlb-uuid-arg> error-log
|
Show persistence tables of a specific load balancerDisplay the persistence tables of a specific load balancer. |
get load-balancer <dlb-uuid-arg> persistence-tables
|
Show statistics of the specified load balancer and poolDisplay the statistics for a specific load balancer and pool. |
get load-balancer <dlb-uuid-arg> pool <pool-arg> stats
|
Show load balancer pools.Display the pools of a specific load balancer. |
get load-balancer <dlb-uuid-arg> pools
|
Show statistics of all pools of the specified load balancerDisplay the statistics for all the pools of a specific load balancer. |
get load-balancer <dlb-uuid-arg> pools stats
|
Show load balancer sessionsDisplay sessions of load balancer. |
get load-balancer <dlb-uuid-arg> sessions
|
Show load balancer verboseDisplay stats for load balancer. |
get load-balancer <dlb-uuid-arg> stats
|
Show load balancer verbose statsDisplay verbose stats for load balancer. |
get load-balancer <dlb-uuid-arg> stats verbose
|
Show status for the specified load balancerDisplay the status of a specific load balancer. |
get load-balancer <dlb-uuid-arg> status
|
Get hash selected backend server for the specified source IP trafficDisplay the backend server IP address for the specified source IP traffic.. |
get load-balancer <dlb-uuid-arg> virtual-server <vs-arg> hash <ip46-address>
|
Show statistics of the specified load balancer and virtual serverDisplay the statistics for a specific load balancer and virtual server. |
get load-balancer <dlb-uuid-arg> virtual-server <vs-arg> stats
|
Show verbose statistics of the specified load balancer and virtual serverDisplay verbose statistics for a specific load balancer and virtual server. |
get load-balancer <dlb-uuid-arg> virtual-server <vs-arg> stats verbose
|
Show load balancer virtual serversDisplay the virtual servers of a specific load balancer. |
get load-balancer <dlb-uuid-arg> virtual-servers
|
Show statistics of all virtual servers of the specified load balancerDisplay the statistics for all virtual servers of a specific load balancer. |
get load-balancer <dlb-uuid-arg> virtual-servers stats
|
Show load balancerDisplay a specific load balancer. |
get load-balancer <lb-uuid-arg>
|
Show load balancer diagnosis informationShow load balancer diagnosis information |
get load-balancer <lb-uuid-arg> diagnosis
|
Show the error log for the specified load balancerDisplay the error log file for a specific load balancer. |
get load-balancer <lb-uuid-arg> error-log
|
Follow the error log for the specified load balancerDisplay the last 10 lines of the error log file for a specific load balancer and all new messages that are written to the log file. |
get load-balancer <lb-uuid-arg> error-log follow
|
Show the error log with regular expression filter for the specified load balancerDisplay error log messages containing strings that match the given regular expression pattern for a specific load balancer. |
get load-balancer <lb-uuid-arg> error-log reg-filter <regex>
|
Show health check table of a specific load balancerDisplay the health check table of a specific load balancer. |
get load-balancer <lb-uuid-arg> health-check-table
|
Show HA state of a specific load balancerDisplay the HA state of a specific load balancer. |
get load-balancer <lb-uuid-arg> high-availability-state
|
Show a load balancer monitorDisplay a specific load balancer monitor. |
get load-balancer <lb-uuid-arg> monitor <monitor-uuid-arg>
|
Show a load balancer monitor status.Show the health check table of a load balancer monitor. |
get load-balancer <lb-uuid-arg> monitor <monitor-uuid-arg> status
|
Show load balancer monitorsDisplay the monitors for a specific load balancer. |
get load-balancer <lb-uuid-arg> monitors
|
Show persistence tables of a specific load balancerDisplay the persistence tables of a specific load balancer. |
get load-balancer <lb-uuid-arg> persistence-tables
|
Show a load balancer poolDisplay a specific load balancer pool. |
get load-balancer <lb-uuid-arg> pool <pool-uuid-arg>
|
Display information about an LB poolDisplay information about an LB pool. |
get load-balancer <lb-uuid-arg> pool <pool-uuid-arg> snat-pools
|
Show statistics of the specified load balancer and poolDisplay the statistics for a specific load balancer and pool. |
get load-balancer <lb-uuid-arg> pool <pool-uuid-arg> stats
|
Show status for the given poolDisplay the status of a specific load balancer and pool. |
get load-balancer <lb-uuid-arg> pool <pool-uuid-arg> status
|
Show load balancer poolsDisplay the pools of a specific load balancer. |
get load-balancer <lb-uuid-arg> pools
|
Show statistics of all pools of the specified load balancerDisplay the statistics for all the pools of a specific load balancer. |
get load-balancer <lb-uuid-arg> pools stats
|
Show status for all pools of the given load balancerDisplay the status of all the pools of a specific load balancer. |
get load-balancer <lb-uuid-arg> pools status
|
Show sessions of a specific load balancerDisplay the sessions of a specific load balancer. |
get load-balancer <lb-uuid-arg> session-tables
|
Get load balancer L4 session tableGet the load balancer L4 session table with the expiration time. |
get load-balancer <lb-uuid-arg> session-tables l4
|
Get load balancer L7 session tableGet the load balancer L7 session table with the expiration time. |
get load-balancer <lb-uuid-arg> session-tables l7
|
Get LB pool information, especially port usageGet load-balancer snat pools' information. |
get load-balancer <lb-uuid-arg> snat-pools
|
Show statistics for the specified load balancerDisplay the statistics for a specific load balancer. |
get load-balancer <lb-uuid-arg> stats
|
Show status for the specified load balancerDisplay the status of a specific load balancer. |
get load-balancer <lb-uuid-arg> status
|
Show a load balancer virtual serverDisplay a specific load balancer virtual server. |
get load-balancer <lb-uuid-arg> virtual-server <vs-uuid-arg>
|
Show the access log for the specified load balancer and virtual serverDisplay the access log file for a specific load balancer and virtual server. |
get load-balancer <lb-uuid-arg> virtual-server <vs-uuid-arg> access-log
|
Follow the access log for the specified virtual server of load balancerDisplay the last 10 lines of the access log file for a specific virtual server of load balancer and all new messages that are written to the log file. |
get load-balancer <lb-uuid-arg> virtual-server <vs-uuid-arg> access-log follow
|
Show the access log with regular expression filter for the specified load balancerDisplay access log messages containing strings that match the given regular expression pattern for a specific load balancer. |
get load-balancer <lb-uuid-arg> virtual-server <vs-uuid-arg> access-log reg-filter <regex>
|
Show load balancer rulesDisplay the load balancer rules for a specific load balancer and virtual server. |
get load-balancer <lb-uuid-arg> virtual-server <vs-uuid-arg> lbrules
|
Show statistics of the specified load balancer and virtual serverDisplay the statistics for a specific load balancer and virtual server. |
get load-balancer <lb-uuid-arg> virtual-server <vs-uuid-arg> stats
|
Show status for the given virtual serverDisplay the status of a specific load balancer virtual server. |
get load-balancer <lb-uuid-arg> virtual-server <vs-uuid-arg> status
|
Show load balancer virtual serversDisplay the virtual servers of a specific load balancer. |
get load-balancer <lb-uuid-arg> virtual-servers
|
Show statistics of all virtual servers of the specified load balancerDisplay the statistics for all virtual servers of a specific load balancer. |
get load-balancer <lb-uuid-arg> virtual-servers stats
|
Show status for all virtual servers of the given load balancerDisplay the status of all virtual servers of a specific load balancer. |
get load-balancer <lb-uuid-arg> virtual-servers status
|
Show load balancer global verbose statsDisplay global verbose stats for load balancer. |
get load-balancer global stats
|
Get load balancer performance configGet edge parameters configured by load balancer for performance. |
get load-balancer perf-profile config
|
Show pool.Display the information for pool. |
get load-balancer pool <pool-arg>
|
Show a load balancer virtual serverDisplay a specific load balancer virtual server. |
get load-balancer virtual-server <vs-arg>
|
Show the access log for the specified virtual serverDisplay the access log for the virtual server. |
get load-balancer virtual-server <vs-arg> access-log
|
Show all load balancersDisplay all load balancers. |
get load-balancers
|
Show status for all load balancersDisplay the status of all load balancers. |
get load-balancers status
|
Display Nslookup DNS Forwarder resultDisplay Nslookup DNS Forwarder result. |
nslookup dns-forwarder <hostname-or-ip-address> [[server-ip <ip-address>] [source-ip <ip-address>]]
|
Display Nslookup DNS Forwarder resultDisplay Nslookup DNS Forwarder result. |
nslookup dns-forwarder <uuid> <hostname-or-ip-address> [server-ip <ip-address>] [source-ip <ip-address>]
|
Reset DHCP Server IPv6 Stats EntriesReset the DHCP Server IPv6 Stats Entries. |
reset dhcp server <uuid-string-arg> ipv6-stats
|
Reset DHCP Server IPv4 Stats EntriesReset the DHCP Server IPv4 Stats Entries. |
reset dhcp server <uuid-string-arg> stats
|
Clear DNS Forwarder cacheClear the DNS Forwarder cache |
reset dns-forwarder <uuid-string-arg> cache
|
Reset DNS Forwarder Stats and Display the Latest EntriesReset the DNS Forwarder Stats Entries. |
reset dns-forwarder <uuid-string-arg> stats
|
Clear DNS Forwarder Cache Per SRClear the DNS Forwarder Cache Per SR. |
reset dns-forwarder cache
|
Reset DNS Forwarder Stats and Display Entries Per SRReset the DNS Forwarder Stats Entries Per SR. |
reset dns-forwarder stats
|
Enable/disable rule logEnable or disable rule log for a specific load balancer. |
set load-balancer <lb-uuid-arg> rule-log <enabled-arg>
|
Enable/disable rule logEnable or disable rule log for a specific pool. |
set load-balancer <lb-uuid-arg> rule-log pool <pool-uuid-arg> <enabled-arg>
|
Enable/disable rule logEnable or disable rule log for a specific virtual server. |
set load-balancer <lb-uuid-arg> rule-log virtual-server <vs-uuid-arg> <enabled-arg>
|
Set load balancer performance profileApply edge parameters to accelerate load balancer performance. |
set load-balancer perf-profile <perf-profile-type-arg>
|
Total commands: 116