R3166-R3206-HP High-End Firewalls NAT and ALG Command Reference-6PW101

15
ALG configuration commands
alg
Syntax
alg { all | dns | ftp | h323 | ils | msn | nbt | pptp | qq | rtsp | sip | sqlnet | tftp }
undo alg { all | dns | ftp | h323 | ils | msn | nbt | pptp | qq | rtsp | sip | sqlnet | tftp }
View
System view
Default level
2: System level
Parameters
all: Enables ALG for all protocols.
dns: Enables ALG for DNS.
ftp: Enables ALG for FTP.
h323: Enables ALG for H.323.
ils: Enables ALG for ILS.
msn: Enables ALG for MSN.
nbt: Enables ALG for NBT.
pptp: Enables ALG for PPTP.
qq: Enables ALG for QQ.
rtsp: Enables ALG for RTSP.
sip: Enables ALG for SIP.
sqlnet: Enables ALG for SQLNET.
tftp: Enables ALG for TFTP.
Description
Use the alg command to enable ALG for a specified protocol.
Use the undo alg command to disable ALG for a specified protocol.
By default, the ALG feature is enabled for all protocols.
Examples
# Enable ALG for FTP.
<Sysname> system-view
[Sysname] alg ftp