The display nat static-mapping mapping command displays the mapping between all private IP addresses, public IP addresses, and port blocks in the static mapping algorithm with a specified ID.
This command is supported only on the NetEngine 8000 F1A.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display nat static-mapping 1 mapping
[inside-ip] --> [global-ip] [start-port][port-size]
192.168.1.1 --> 1.0.0.1 1024 1024
192.168.1.2 --> 1.0.0.1 2048 1024
192.168.1.3 --> 1.0.0.1 3072 1024
192.168.1.4 --> 1.0.0.1 4096 1024
192.168.1.5 --> 1.0.0.1 5120 1024
192.168.1.6 --> 1.0.0.1 6144 1024
192.168.1.7 --> 1.0.0.1 7168 1024
Item | Description |
---|---|
inside-ip | Private IP address used by a static source tracing algorithm. |
global-ip | Public IP address used by a static source tracing algorithm. |
start-port | Start port in a port range in a public IP address pool used by a static source tracing algorithm. |
port-size | Size of a public port range used by a static source tracing algorithm. |