7.6.3 Example
bd3000> nat protocols
Name | Port/IP protocol |
ftp 21/tcp
7.7sessions
7.7.1Syntax
nat sessions <i/f> [all summary]
7.7.2 Description
The nat sessions command displays a list of currently active NAT sessions on the interface <i/f>. In this context, a session is a pair of source IP addresses and port numbers (and corresponding new port number) that NAT regards as one side of an active connection. For each TCP or UDP session active, the source and destination IP address and port number, and the local port number and the age of the session, are printed.
The all option causes the sessions command to print out information on every session, including sessions which have timed out. Normally the sessions command only shows active sessions (those which have not timed out).
The summary command does not show detailed information on each session, but only prints out the total number of active, timed out and available sessions.
7.7.3 Example
bd3000> nat sessions ppp
Proto Age | NAT port | Private address/port | Public address/port | |
TCP | 34 | 1024 | 192.168.219.38/3562 | 194.129.50.6/21 |
TCP | 10 | 1025 | 192.168.219.64/2135 | 185.45.30.30/80 |
Total:
2 sessions active
101 sessions timed out
126 sessions available
7.8stats
7.8.1Syntax
nat stats <i/f> [reset]
7.8.2 Description
This command displays various statistics gathered by NAT on the interface <i/f>. These are cumulative totals since power on, or since the reset keyword was given.