[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]
CLI Configuration
To create an application and associate it with an IDP policy:
- Specify a unique name for the application. The
following statement specifies cust-app as the name of the
application:
- user@host# set applications application cust-app
- Specify application properties. The following
statement specifies an FTP application using the TCP protocol and
the port 78. Inactivity timeout for the FTP service is set
to 6000 seconds.
- user@host# set applications application cust-app
application-protocol ftp protocol tcp destination-port 78 inactivity-timeout
6000
- Specify the application as a match condition
in a policy. The following statement adds the cust-app application
to the ABC policy:
- user@host# set security idp idp-policy ABC
rulebase-ips rule ABC match application cust-app
- If you are finished configuring the router,
commit the configuration.
- For more information, see the JUNOS Software CLI Reference.
[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]