Chapter 20 Application Patrol

20.2 Application Patrol Commands Summary

The following table describes the values required for many application patrol commands. Other values are discussed with the corresponding commands.

Table 61 Input Values for Application Patrol Commands

LABEL

DESCRIPTION

protocol_name

The name of a pre-defined application. These are listed by category.

 

general: ftp smtp pop3 irc http

 

im: msn aol-icq yahoo qq

 

p2p: bittorrent eDonkey fasttrack gnutella napster

 

h323 sip soulseek

 

stream: rtsp

rule_number

The number of an application patrol rule. 1 - X where X is the highest number of

 

rules the NXC model supports. See the NXC’s User’s Guide for details.

 

 

zone_name

The name of a zone. You may use 1-31 alphanumeric characters,

 

underscores(_), or dashes (-), but the first character cannot be a number. This

 

value is case-sensitive.

schedule_name

The name of a schedule. You may use 1-31 alphanumeric characters,

 

underscores(_), or dashes (-), but the first character cannot be a number. This

 

value is case-sensitive.

The following sections list the application patrol commands.

20.2.1 Pre-defined Application Commands

This table lists the commands for each pre-defined application.

Table 62 app Commands: Pre-Defined Applications

COMMAND

DESCRIPTION

[no] app protocol_name activate

Enables application patrol for the specified

 

application. The no command disables application

 

patrol for the specified application.

bandwidth-graph

 

[no] app protocol_name defaultport <1..65535>

For port-base applications. Adds the specified port

 

to the list of ports used to identify the specified

 

application. This port number can only be included

 

in one application’s list. The no command removes

 

the specified port from the list.

app protocol_name mode {portless portbase}

Specifies how the NXC identifies this application.

20.2.2 Rule Commands for Pre-defined Applications

This table lists the commands for rules in each pre-defined application.

Table 63 app Commands: Rules in Pre-Defined Applications

COMMAND

DESCRIPTION

app protocol_name rule insert rule_number

Creates a new rule at the specified row and enters

 

sub-command mode.

app protocol_name rule append

Creates a new rule, appends it to the end of the list,

 

and enters sub-command mode.

128

 

NXC CLI Reference Guide