Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dpi:opt_cgnat:cgnat_diagnostics [2026/03/24 14:43] – elena.krasnobryzh | en:dpi:opt_cgnat:cgnat_diagnostics [2026/03/25 13:50] (current) – [List of NAT Translations] elena.krasnobryzh | ||
|---|---|---|---|
| Line 187: | Line 187: | ||
| thr_dthr_lalfs - how many ports were created in one worker thread but used in another from ' | thr_dthr_lalfs - how many ports were created in one worker thread but used in another from ' | ||
| </ | </ | ||
| + | ====List of NAT Translations==== | ||
| + | Tracking translation lifetime. Displays a list of all NAT translations for the specified internal IP address.\\ | ||
| + | The status of a translation is determined by the time of its last use and the lifetime parameter specified in the cluster options. If < | ||
| - | The output | + | Command |
| + | < | ||
| + | |||
| + | Sample output: | ||
| + | < | ||
| + | fdpi_cli nat show 172.16.120.35 | ||
| + | nat_type | ||
| + | CGNAT TCP 172.16.120.35 | ||
| + | CGNAT TCP 172.16.120.35 | ||
| + | CGNAT TCP 172.16.120.35 | ||
| + | CGNAT TCP 172.16.120.35 | ||
| + | CGNAT TCP 172.16.120.35 | ||
| + | CGNAT TCP 172.16.120.35 | ||
| + | </ | ||
| + | |||
| + | Legend: | ||
| + | < | ||
| + | nat_type | ||
| + | protocol | ||
| + | internal_ip | ||
| + | internal_port - internal port, | ||
| + | dest_ip | ||
| + | dest_port | ||
| + | external_ip | ||
| + | external_port | ||
| + | active | ||
| + | </ | ||
| + | |||
| + | =====Legend for the NAT statistics view by subscriber===== | ||
| + | |||
| + | Command: | ||
| + | < | ||
| + | |||
| + | Sample output: | ||
| < | < | ||
| fdpi_ctrl list status --service 11 --ip 192.168.4.20 | fdpi_ctrl list status --service 11 --ip 192.168.4.20 | ||
| Line 198: | Line 234: | ||
| </ | </ | ||
| - | **Output:** | + | Legend: |
| < | < | ||
| 192.168.4.20 - private IP | 192.168.4.20 - private IP | ||
| Line 219: | Line 255: | ||
| fdpi_ctrl list all status --service 11 --outformat=json | fdpi_ctrl list all status --service 11 --outformat=json | ||
| </ | </ | ||
| - | The format is the same. | ||
| - | |||
| ===== Key to command to view NAT profile statistics via fdpi_ctrl ===== | ===== Key to command to view NAT profile statistics via fdpi_ctrl ===== | ||
| Command: | Command: | ||