VMware Networking Community
Bhushan_D
Contributor
Contributor

Adding ip or service or existing nsx IPSET/service objects using powernsx

Hi Experts,

How to Add ip or service to existing nsx IPSET/service objects using powernsx ?

One more question

how to add new firewall section using powernsx and by default where it is getting placed ?

0 Kudos
1 Reply
aggarwalvinay31
Enthusiast
Enthusiast

Hi Bhushan,

There is a very good book on PowerNSX. You can find it on below link:

https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/products/nsx/vmware-automating-vsp...

In response to your questions:

You can use cmdlet New-NsxFirewallSection to create new firewall section. Page ref. 92

Also, you can use below to add IP address to existing IPSet, Page ref. 95

Get-NsxIpSet -name IPS-RFC1918 | AddNsxIpSetMember -IPAddress “192.168.0.0/16”

Let me know if it helps.

0 Kudos