R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

157
nat alg
Use nat alg to enable NAT with ALG for the specified or all supported protocols.
Use undo nat alg to disable NAT with ALG for the specified or all protocols.
Syntax
nat alg { all | dns | ftp | h323 | icmp-error | ils | mgcp | nbt | pptp | rsh | rtsp | sccp | sip | sqlnet
| tftp | xdmcp }
undo nat alg { all | dns | ftp | h323 | icmp-error | ils | mgcp | nbt | pptp | rsh | rtsp | sccp | sip |
sqlnet |tftp | xdmcp }
Default
NAT ALG for all protocols is enabled.
Views
System view
Predefined user roles
network-admin
Parameters
all: Enables NAT with ALG for all supported protocols.
dns: Enables NAT with ALG for DNS.
ftp: Enables NAT with ALG for FTP.
h123: Enables NAT with ALG for H123.
icmp-error: Enables NAT with ALG for ICMP error packets.
ils: Enables NAT with ALG for ILS.
mgcp: Enables NAT with ALG for MGCP.
nbt: Enables NAT with ALG for NBT.
pptp: Enables NAT with ALG for PPTP.
rsh: Enables NAT with ALG for RSH.
rtsp: Enables NAT with ALG for RTSP.
sccp: Enables NAT with ALG for SCCP.
sip: Enables NAT with ALG for SIP.
sqlnet: Enables NAT with ALG for SQLNET.
tftp: Enables NAT with ALG for TFTP.
xdmcp: Enables NAT with ALG for XDMCP.
Usage guidelines
Use ALG with NAT to translate the payload information to ensure the establishment of data connections.
NAT translates IP address and port information in packet headers, and ALG processes the fields in
application layer payloads. The packet payloads of some protocols might contain IP address or port
information for connection establishment. If this information is not translated, problems might occur. For