HP Comware 5 Debug Manual Vol 3

Field
Description
( global-source-ip: port1 -
global-destination-ip: port2) ------>
Before address translation:
global-source-ipSource IP address.
port1Source port number.
global-destination-ipPublic destination IP address.
port2Destination port number.
( global-source-ip: port1 -
inside-destination-ip: port2)
After address translation:
global-source-ipSource IP address.
port1Source port number.
inside-destination-ipDestination IP address.
port2Destination port number.
Examples
# Enable NAT ALG debugging on the NAT device. When internal host 192.168.0.210 uses FTP to access
public host 2.2.2.2, output similar to the following example is generated:
<Sysname> debugging nat alg
*Apr 26 12:05:36:881 2010 Sysname NAT/7/debug:Ftp Packet To Svr (Ethernet1/1-out :) Find
a Normal Ftp CMD
// NAT used ALG to translate the address in the outgoing FTP packet sent to the server on Ethernet 1/1.
*Apr 26 12:05:36:952 2010 Sysname NAT/7/debug: Ftp Packet To Client (Ethernet1/1-in :)
Find a Normal Ftp CMD
// NAT used ALG to translate the address in the incoming FTP packet sent to the client on Ethernet 1/1.
# Enable NAT event debugging on the NAT device. Output similar to the following example is generated
when internal host 192.168.0.210 sends a packet to public host 2.2.2.2 under the condition that no
matching static NAT entry exists:
<Sysname> debugging nat event
*Apr 26 12:05:37:33 2010 Sysname NAT/7/debug: "NAT_EVENT:(0x00001234-out)The packet can't
translate by static.
// NAT failed to perform static address translation for the packet on interface 0x00001234.
# Enable NAT packet debugging on the NAT device. Output similar to the following example is
generated when internal host 192.168 .0. 210 in VPN 10 pings public host 2.2.2.2 under the condition
that a matching static NAT entry is configured:
<Sysname> debugging nat packet
*Apr 26 12:04:37:134 2010 Sysname NAT/7/debug:
(Ethernet1/1-out :) from VPN : 10 Pro : ICMP is from NAT static
( 192.168.0.210: --- - 2.2.2.2: ---) ------>
( 2.2.2.10:--- - 2.2.2.2: ---)
// NAT translated the source IP address of the outgoing packet on Ethernet 1/1 by using the static NAT
entry.
*Apr 26 12:04:37:134 2010 Sysname NAT/7/debug:
(Ethernet1/1-in :)Pro : ICMP is to NAT static
( 2.2.2.2: --- - 2.2.2.10:---) ------>
( 2.2.2.2: --- - 192.168.0.210: ---)
// NAT translated the destination IP address of the incoming packet on Ethernet 1/1 by using the static
NAT entry.
115