25.12.2016 Views

nsx_60_cli

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3 NSX CLI Commands<br />

CLI Mode<br />

Privileged<br />

Example<br />

vShield# debug packet display interface mgmt host_10.10.11.11_and_port_80<br />

export tech-support scp<br />

Exports the system diagnostics to a specific location via Secure Copy Protocol (SCP). You can also export<br />

system diagnostics for an NSX virtual machine from the NSX Manager user interface.<br />

Synopsis<br />

export tech-support scp URL<br />

Option<br />

URL<br />

Description<br />

Enter the complete path of the destination.<br />

CLI Mode<br />

Basic and Privileged<br />

Example<br />

vShield# export tech-support scp user123@host123:file123<br />

ip address<br />

Assigns an IP address to an interface. On the NSX virtual machines, you can assign an IP addresses to the<br />

mgmt interface only.<br />

To remove an IP address from an interface, use no before the command.<br />

Synopsis<br />

[no] ip address A.B.C.D/M<br />

Option<br />

A.B.C.D<br />

M<br />

Description<br />

IP address to use.<br />

Subnet mask to use.<br />

CLI Mode<br />

Interface Configuration<br />

Example<br />

vShield(config)# interface mgmt<br />

vShield(config-if)# ip address 192.168.110.200/24<br />

or<br />

vShield(config)# interface mgmt<br />

vShield(config-if)# no ip address 192.168.110.200/24<br />

ip route<br />

Adds a static route.<br />

To delete an IP route, use no before the command.<br />

VMware, Inc. 33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!