Chapter 16 ALG

16.2 ALG Commands

The following table lists the alg commands. You must use the configure terminal command to enter the configuration mode before you can use these commands.

Table 50 alg Commands

COMMAND

DESCRIPTION

[no] alg sip [inactivity-timeout

Turns on or configures the ALG.

signal-port <1025..65535>

Use inactivity-timeoutto have the NXC apply SIP media and

signal-extra-port <1025..65535>

signaling inactivity time out limits.

media-timeout <1..86400>

Use signal-portwith a listening port number (1025 to 65535) if

signal-timeout <1..86400>

you are using SIP on a port other than UDP 5060.

transformation]

Use signal-extra-portwith a listening port number (1025 to

 

65535) if you are also using SIP on an additional UDP port number,

 

enter it here.

 

Use media-timeoutand a number of seconds (1~86400) for how

 

long to allow a voice session to remain idle (without voice traffic)

 

before dropping it.

 

Use signal-timeoutand a number of seconds (1~86400) for how

 

long to allow a SIP signaling session to remain idle (without SIP

 

packets) before dropping it.

 

Use transformation to have the NXC modify IP addresses and

 

port numbers embedded in the SIP data payload. You do not need to

 

use this if you have a SIP device or server that will modify IP

 

addresses and port numbers embedded in the SIP data payload.

 

The no command turns off the SIP ALG or removes the settings that

 

you specify.

[no] alg <h323 ftp> [signal-

Turns on or configures the H.323 or FTP ALG.

port <1025..65535> signal-

Use signal-portwith a listening port number (1025 to 65535) if

extra-port <1025..65535>

you are using H.323 on a TCP port other than 1720 or FTP on a TCP

transformation]

port other than 21.

 

Use signal-extra-portwith a listening port number (1025 to

 

65535) if you are also using H.323 or FTP on an additional TCP port

 

number, enter it here.

 

Use transformation to have the NXC modify IP addresses and

 

port numbers embedded in the H.323 or FTP data payload. You do

 

not need to use this if you have an H.323 or FTP device or server

 

that will modify IP addresses and port numbers embedded in the

 

H.323 or FTP data payload.

 

The no command turns off the H.323 or FTP ALG or removes the

 

settings that you specify.

[no] alg sip defaultport

Adds (or removes) a custom UDP port number for SIP traffic.

<1..65535>

 

show alg <sip h323 ftp>

Displays the specified ALG’s configuration.

16.3 ALG Commands Example

The following example turns on pass through for SIP and turns it off for H.323.

Router# configure terminal

Router(config)# alg sip

Router(config)# no alg h323

112

 

NXC CLI Reference Guide