Configuring NAT with ALG
CAUTION: In an IRF fabric, NAT configured on physical interfaces does not support ALG. | ||
Configure NAT with ALG for a protocol to translate the IP addresses and port numbers in the payloads for application layer packets.
To configure NAT with ALG:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure NAT with ALG for a protocol or all supported protocols. | nat alg { all | dns | ftp | h323 | icmp-error | ils | mgcp | nbt | pptp | rsh | rtsp | sccp | sip | sqlnet | tftp | xdmcp } | By default, NAT with ALG is enabled for DNS, FTP, ICMP error messages, RTSP, and PPTP, and is disabled for the other supported protocols. |