Related Documentation
Example: Configuring Custom Applications
This example shows how to configure custom applications to support GGSN pooling scenario 1.
Requirements
This example uses the following hardware and software components:
- A high-end SRX Series device
- A PC
- Junos OS Release 12.1-X44-D2
Before you begin, configure the required GGSN policy. See Example: Configuring a GGSN Custom Policy.
Overview
In this example, you create applications src_2123 and src_3386 to identify source ports 2123 and 3386 for both TCP and UDP.
First you configure a custom application called src_2123.You set the application protocol to gprs-gtp-c. Then you set the networking protocol type to UDP. You set the source port to 2123 and the destination port to 0-0.
Then you configure another custom application called src_3386. You set the application protocol to gprs-gtp-v0. Then you set the networking protocol type to UDP. Finally, you set the source port to 3386 and the destination port to 0-0.
Configuration
Configuring Custom Applications
CLI Quick Configuration
To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode.
To configure custom policy applications:
- Configure the first custom application and application
protocol name.[edit applications]user@host# set application src_2123 application-protocol gprs-gtp-c
- Configure the networking protocol type.[edit applications]user@host# set application src_2123 protocol udp
- Configure the source port number.[edit applications]user@host#set application src_2123 source-port 2123
- Configure the TCP or UDP destination port number.[edit applications]user@host# set application src_2123 destination-port 0-0
- Configure the second custom application and application
protocol name.[edit applications]user@host# set application src_3386 application-protocol gprs-gtp-v0
- Configure the networking protocol type.[edit applications]user@host# set application src_3386 protocol udp
- Configure the source port number.[edit applications]user@host# set application src_3386 source-port 3386
- Configure the destination port number.[edit applications]user@host# set application src_3386 destination-port 0-0
Results
From configuration mode, confirm your configuration by entering the show applications command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
If you are done configuring the device, enter commit from configuration mode.