display nat static-mapping mapping

Function

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.

Format

display nat static-mapping static-mapping-id mapping

Parameters

Parameter Description Value
static-mapping-id

Specifies the ID of a static source tracing algorithm.

The value is an integer ranging from 1 to 2000.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
nat read

Usage Guidelines

Usage Scenario

To view the mapping between all private IP addresses, public IP addresses, and port blocks in the static mapping algorithm with a specified ID, run the display nat static-mapping mapping command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the mapping between all private IP addresses and the pairs of public IP addresses and port blocks of the static source tracing algorithm with the ID of 1.
<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
Table 1 Description of the display nat static-mapping mapping command output
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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >