25.12.2016 Views

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 />

CLI Mode<br />

Basic<br />

Example<br />

vShield-edge-2-0> show configuration ipsec<br />

-----------------------------------------------------------------------<br />

vShield Edge IPsec VPN Config:<br />

{<br />

"ipsec" : {<br />

"sites" : [<br />

{<br />

"certificate" : null,<br />

"encryptionAlgorithm" : "aes",<br />

"enabled" : true,<br />

"mtu" : null,<br />

"psk" : "****",<br />

"extension" : null,<br />

"peerSubnets" : [<br />

"192.168.2.0/24"<br />

],<br />

"peerIp" : "10.115.172.19",<br />

"name" : "IPsec",<br />

"description" : null,<br />

"localSubnets" : [<br />

"11.1.1.0/24"<br />

],<br />

"dhGroup" : "dh2",<br />

"peerId" : "10.115.172.19",<br />

"enablePfs" : true,<br />

"localIp" : "10.115.172.18",<br />

"authenticationMode" : "psk",<br />

"localId" : "10.115.172.18"<br />

}<br />

],<br />

"enable" : true,<br />

"logging" : {<br />

"enable" : false,<br />

"logLevel" : "info"<br />

},<br />

"global" : {<br />

"extension" : null,<br />

"crlCertificates" : [],<br />

"serviceCertificate" : null,<br />

"pskForDynamicIp" : null,<br />

"id" : null,<br />

"caCertificates" : []<br />

}<br />

}<br />

}<br />

show configuration ipset<br />

Shows IP address groups defined at the NSX Edge scope.<br />

Synopsis<br />

show configuration ipset<br />

CLI Mode<br />

Basic<br />

Example<br />

vShield-edge-2-0> show configuration ipset<br />

-----------------------------------------------------------------------<br />

vShield Edge IpSet Config:<br />

VMware, Inc. 43

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

Saved successfully!

Ooh no, something went wrong!