fw cgnat

Description

Shows CGNAT (Carrier-Grade NAT) information about Dynamic NAT port allocation. See sk120296.

Important:

  • You can run this command in the Expert mode or in Gaia Clish (Gaia gClish on Scalable Platforms).

  • On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group.

Syntax

fw [-d] cgnat

      clean

      info [-s]

      origin <IP Address>

      translated <IP Address>

Parameters

Parameter

Description

-d

Runs the command in debug mode.

Use only if you troubleshoot the command itself.

Best Practice - If you use this parameter, then redirect the output to a file, or use the script command to save the entire CLI session.

clean

Resets the CGNAT counters.

info [-s]

Shows the CGNAT information:

  • Number of used port ranges

  • Number of used ports

  • Number of Origin IP addresses

  • Number of Translated IP addresses (used/total)

  • Number of configured ports in each range

  • Number of configured port ranges

The parameter "-s" also shows this information:

  • Top most used Origin IP addresses

  • Top most used Translated IP port range

origin <IP Address>

Shows the CGNAT information for the specified Origin IP address:

  • Translated IP address

  • Used port ranges/ports

  • ID of the Cluster Member handling the Origin IP address

  • ID of the Cluster Member handling the Translated IP address

translated <IP Address>

Shows the CGNAT information for the specified Translated IP address:

  • Number of used port ranges

  • Number of used ports

  • Number of Origin IP addresses

  • ID of Cluster Member handling the Translated IP address

Example

fw cgnat info -s