NSX CLI Guide

get vpc <uuid> nat rules

Display nat rules with expanded address sets for the specified logical router.

Parameters:

Option Description
<uuid> Datapath UUID argument


Example:

nsx-edge-1> get vpc e159f0db-d8e4-4973-9cbb-8cc30def2c3e nat rules get vpc 02471b66-1e10-45df-a2d1-906b0a06f96a nat rules Tue Sep 09 2025 UTC 15:41:37.349 DNAT rule count: 1 Rule ID : 536870944 Rule : in inet protocol any postnat from any to addrset {151.11.1.4} dnat EIP table id: 02471b66-1e10-45df-a2d1-906b0a06f96a SNAT rule count: 1 Rule ID : 536870926 Rule : out protocol any prenat from ip 192.168.10.0/24 to any snat ip 151.11.1.2 port 37001-65535

Mode:

Basic

Availability: