3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2026 CHAPTER 133: NAT CONFIGURATION COMMANDS
Example # Display the active NAT sessions.
<Sysname> display nat session
There are currently 1 NAT session:
Protocol GlobalAddr Port InsideAddr Port DestAddr Port
1 2.2.2.10 12288 192.168.0.210 768 2.2.2.2 768
VPN: 0, status: 4011, TTL: 00:01:00, Left: 00:00:53
display nat statistics
Syntax display nat statistics
View Any view
Parameter None
Description Use the
display nat statistics command to display NAT statistics.
Example # Display NAT statistics.
<Sysname> display nat statistics
total PAT session table count: 0
total NO-PAT session table count: 0
total SERVER session table count: 0
total STATIC session table count: 0
total FRAGMENT session table count: 0
total session table count HASH by Internet side IP: 0
active PAT session table count: 0
active NO-PAT session table count: 0
active FRAGMENT session table count: 0
active session table count HASH by Internet side IP: 0
Table 530 Description on the fields of the display nat session command
Field Description
Protocol Protocol number. 1 represents ICMP.
GlobalAddr Port External IP address and port number after translation
InsideAddr Port Internal IP address and port number before translation
DestAddr Port Destination IP address and port number
VPN Index of the MPLS VPN instance to which translation table entries
belong. Its value varies from system to system. For systems that
support 1,024 VPN instances, this parameter ranges from 0 to
1,023. A value of 0 indicates that translation table entries do not
belong to any MPLS VPN instance.
status Status of translation table entries
TTL Lifetime of translation table entries, in the format of hh:mm:ss
Left Remaining lifetime of translation table entries, in the format of
hh:mm:ss
Table 531 Description on the fields of the display nat statistics command
Field Description
total PAT session table count Number of PAT session entries