nsx_60_cli
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 3 NSX CLI Commands<br />
Example<br />
nvp-controller # show control-cluster startup-nodes<br />
10.24.105.59<br />
show control-cluster status<br />
Shows control‐cluster status. The example below shows that the controller status is normal. All controllers in<br />
the cluster should have the same cluster ID as the first controller.<br />
Synopsis<br />
show control-cluster status<br />
Example<br />
nvp-controller # show control-cluster status<br />
Type Status Since<br />
--------------------------------------------------------------------------------<br />
Join status: Join complete 08/15 00:39:57<br />
Majority status: Connected to cluster majority 08/15 00:39:33<br />
Restart status: This controller can be safely restarted 08/15 00:40:03<br />
Cluster ID: 2105ad76-0449-47ef-9f99-83e7ddd14cd0<br />
Node UUID: 2105ad76-0449-47ef-9f99-83e7ddd14cd0<br />
Role Configured status Active status<br />
--------------------------------------------------------------------------------<br />
api_provider enabled activated<br />
persistence_server enabled activated<br />
switch_manager enabled activated<br />
logical_manager enabled activated<br />
directory_server enabled activated<br />
show network interface<br />
Shows the IP address of the controller.<br />
Synopsis<br />
show network interface<br />
CLI Mode<br />
Basic, Privileged<br />
ESXi CLI Commands<br />
This section describes the ESXi CLI commads for NSX vSphere. For additional ESX CLI commands, see vSphere<br />
Command‐Line Interface Documentation.<br />
esx<strong>cli</strong> network vswitch dvs vmware vxlan config stats get<br />
Shows statistics.<br />
Synopsis<br />
esx<strong>cli</strong> network vswitch dvs vmware vxlan config stats get<br />
Example<br />
# esx<strong>cli</strong> network vswitch dvs vmware vxlan config stats get<br />
Level: 1<br />
esx<strong>cli</strong> network vswitch dvs vmware vxlan config stats set<br />
Enable statistics. Adding level=0 disables statistics.<br />
VMware, Inc. 81