376
ALG configuration commands
alg
Use
alg
to enable ALG for a protocol.
Use
undo alg
to disable ALG for a protocol.
Syntax
alg
{
all
|
dns
|
ftp
|
gtp
|
h323
|
ils
|
msn
|
nbt
|
pptp
|
|
rtsp
|
sccp
|
sip
|
sqlnet
|
tftp
}
undo alg
{
all
|
dns
|
ftp
|
gtp
|
h323
|
ils
|
msn
|
nbt
|
pptp
|
|
rtsp
|
sccp
|
sip
|
sqlnet
|
tftp
}
Default
The ALG feature is enabled for all protocols.
Views
System view
Default command level
2: System level
Parameters
all
: Enables ALG for all protocols.
dns
: Enables ALG for DNS.
ftp
: Enables ALG for FTP.
gtp
: Enables ALG for GTP.
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.
: Enables ALG for QQ.
rtsp
: Enables ALG for RTSP.
sccp
: Enables ALG for SCCP.
sip
: Enables ALG for SIP.
sqlnet
: Enables ALG for SQLNET (a language in Oracle).
tftp
: Enables ALG for TFTP.
Examples
# Enable ALG for FTP.
<Sysname> system-view
[Sysname] alg ftp
# Disable ALG for DNS.
<Sysname> system-view
[Sysname] undo alg dns