[Previous] [Next] [Contents] [Last]


setappinfo

Adds or removes special Internet application configuration to the SecureRamp. You can also use this command to enable or disable a previously configured application, or change the name of an application.

Syntax

 setappinfo -a action -e enable_flag -n application_name 

-N application_new_name -c control_protocol_and_ports 

-d data_protocol_and_ports

Options


 -a


 Action. 1 = Add, 2 = Delete.


 -e


 Enable flag. 0 = Disable, 1 = Enable.


 -n


 Application name.


 -N


 Application new name. Required only when changing the name.


 -c


 Control protocol: <TCP | UDP> <start port>:<end port>


 -d


 Data protocol: <TCP | UDP> <start port>:<end port>

Examples

 setappinfo -a 1 -e 1 -n myApp -c TCP 100:200,UDP 20 -d TCP 50

This command will add a new application configuration. The name of the application is myApp, its control ports are TCP 100 through 200 and UDP 20, and data port is TCP 50. The application will be enabled upon configuration.


 setappinfo -a 1 -n myApp -d TCP 100

This command will add a new data port range, TCP 100, to the previously configured application. All other settings remain unchanged.


 setappinfo -a 2 -n myApp -c UDP 20

This command will remove the control port UDP 20 from the application configuration. All other settings remain unchanged.


 setappinfo -n myApp -N newApp

This command will change the name of the application from myApp to newApp. All other settings remain unchanged.


 setappinfo -e 0 -n newApp

This command will disable the application. Application settings remain unchanged.


 setappinfo -a 2 -n newApp

This command will delete the application configuration from the SecureRamp memory.

Also Supported on
See Also


[Previous] [Next] [Contents] [Last]


Copyright © 2000, Ramp Networks. All rights reserved.