GTP Overlap Flow Sampling Maps Example

This section contains:

Example 1: GTP Overlap Mode

Example 1 is a GTP overlap mapping mode example.

In Example 1, traffic from a single network port goes to a single first level map (mapLevel1-GTP) which directs GTP-Control, and GTP-User traffic to a virtual port (VP31). Traffic from VP31 is replicated to two GTP whitelisting maps (WLMAP1 and WLMAP2) and two GTP flow sampling maps (FSMAP1 and FSMAP2), which then forward accepted traffic to the final port-group destinations, pg1 and pg2, for load balancing (refer to 1 GTP Overlap Mode Example 1).

1 GTP Overlap Mode Example 1

Note:  In Example 1, the tool ports and GigaStreams in the port group are on the same node as the GigaSMART group and GigaSMART operation.

Within each GTP whitelisting and flow sampling pair, if there is not a match to an IMSI in the whitelist map, the traffic flow is sampled based on the rules in the flow sampling map. The flow sampling rules specify IMSI, IMEI, and MSISDN numbers, as well as the percentage to sample.

Within each map pair, packets are then accepted or rejected. Accepted packets are forwarded to the port groups for load balancing. Rejected packets are dropped.

Use the following steps to configure example 1.

Task

Description

UI Steps

1

Create GigaStreams that will be part of the port groups

  1. Select Ports > Port Groups > GigaStreams
  2. Click New.
  3. Enter gs1 in the Alias field.
  4. In the Ports field, select port 1/1x16 and 1/1/x17.
  5. Click Save.
  6. Configure a second GigaStream with the alias gs2, select ports1/1/x1 and 1/1/x2 in the Ports field, and click Save.

2

Create port groups and specify the tool ports and assign GigaStreams to the port groups. The port groups will also be load balanced.

  1. Select Ports > Port Groups > All Port Groups.
  2. Click New.
  3. Enter pg1 in the Alias field.
  4. Select Type GigaSMART Load Balancing.
  5. In the Ports field, select ports 1/1/x6 and 1/1/x7.
  6. In the GigaStream field, select gs1
  7. Click Save.
  8. Configure a second Port Group. with the alias pg2, select ports1/1/x18 and 1/1/x10 in the Ports field, select GigaSMART Load Balancing, select pg2 in the GigaStream field, and then click Save.

3

Configure a GigaSMART group and associate it with a GigaSMART engine port.

  1. From the device view, select GigaSMART > GigaSMART Groups.
  2. Click New.
  3. Enter GS31 in the Alias field.
  4. In the Port List field, select an engine port. For example 1/3/e1.
  5. Click Save.

4.

Create a virtual port.

Note:  You must enable GTP Overlap when configuring a virtual port for GTP overlap mapping.

  1. From the device view, select GigaSMART > Virtual Ports > Virtual Ports.
  2. Click New
  3. Enter VP31 in the Alias field.
  4. In the GigaSMART Group field, select GS31.
  5. Select GTP Overlap,
  6. Click Save.

5.

Create the GTP Whitelist

  1. From the device view, select GigaSMART > GTP Whitelist.
  2. Click New.
  3. Enter Whitelist in the Alias field
  4. Go to Task 6.

6.

Fetch whitelist files from a specified

location to populate the GTP whitelist.

  1. On the GTP Whitelist page, select Bulk Upload.
  2. Select Bulk Entry Operation for IMSI Upload Type
  3. Select Upload from URL from the Bulk Upload Type list.
  4. Enter the URL in the Enter Remote URL field. For example, http://10.1.1.100/tftpboot/myfiles/MyIMSIs_file2.tx
  5. Click Save.

7.

Associate the GigaSMART group to the GTP whitelist.

  1. From the device view, select GigaSMART > GigaSMART Groups > GigaSMART Groups
  2. Select GS Group GS31 created in Task 3 and click Edit
  3. Under GTP Whitelist, click on the GTP Whitelist Alias field and select Whitelist.
  4. Click Save.

8.

Configure the GigaSMART operation for GTP whitelisting.

  1. From the device view, select GigaSMART > GigaSMART Operations (GSOP) > GigaSMART Operation.
  2. Click New.
  3. Enter gtp-overlapwhitelist1 in the Alias field.
  4. Select the GigaSMART Group GS31from the GigaSMART Groups list.
  5. Select GTP Whitelist from the GigaSMART Operations (GSOP) list
  6. Select Load Balancing from the GigaSMART Operations (GSOP) list.
  7. Configure Load Balancing as follows:
  • Select Stateful
  • Set Type to GTP
  • Select Hashing
  • Select IMSI
  1. Click Save.

9.

Configure the GigaSMART operation for GTP flow sampling.

  1. From the device view, select GigaSMART > GigaSMART Operations (GSOP) > GigaSMART Operation.
  2. Click New.
  3. Enter gtp-overlapsampling1 in the Alias field.
  4. Select the GigaSMART Group GS31from the GigaSMART Groups list.
  5. Select Flow Sampling-GTP
  6. Select Load Balancing from the GigaSMART Operations (GSOP) list.
  7. Configure Load Balancing as follows:
  • Select Stateful
  • Set Type to GTP
  • Select Hashing
  • Select IMSI
  1. Click Save.

10.

Configure the first level maps.

In the rules, 2123 is GTP-c traffic and 2152 is GTP-u traffic.

  1. Configure the first map as follows:
  • Alias: mapLevel1-GTP
  • Type and Subtype: First Level By Rule
  • Source: 1/1/x1
  • Destination: VP31
  • Rule 1: Pass, Bi Directional, Port Destination 2123
  • Rule 2: Pass, Bi Directional, Port Destination 2152
  • Click Save.

11.

Configure the first second level GTP overlap map for GTP whitelisting If there is a match to an IMSI in the whitelist for GTP version 1 traffic, it is then forwarded to load balancing port group pg1.

  1. Select Maps > Maps > Maps.
  2. Click New
  3. Configure the map.
  • Alias: WLMAP1
  • Type and Subtype: Second Level GTP Flow Whitelist Overlap
  • Source: VP3
  • Destination: pg1
  • GSOP: gtp-whitelist
  • Rule 1: GTP, APN: Version V1
  1. Click Save.

12.

Configure a second level map for GTP flow sampling, the flow sampling map. If there is not a match to an IMSI in the whitelist, the traffic flow is sampled based on the rules in this map. Accepted packets are forwarded to load balancing port group pg1.

  1. Select Maps > Maps > Maps.
  2. Click New
  3. Configure the map.
  • Alias: FSMAP1
  • Type and Subtype: Second Level GTP Flow Sample Overlap
  • Source: VP3
  • Destination: pg1
  • GSOP: gtp-overlapsample1
  • Rule 1: GTP, IMSI: 3102609834*, IMEI: 35609506*, Percentage: 20
  1. Click Save.

13.

Configure the next second level GTP overlap map for GTP whitelisting If there is a match to an IMSI in the whitelist for GTP version 2 traffic, it is then forwarded to load balancing port group pg2.

  1. Select Maps > Maps > Maps.
  2. Click New.
  3. Configure the map.
  • Alias: WLMAP2
  • Type and Subtype: Second Level Flow Whitelist Overlap
  • Source: VP31
  • Destination: pg2
  • GSOP: gtp-whitelist
  • Rule 1: GTP, APN: Version V2
  1. Click Save.

14.

Configure the next second level map for GTP flow sampling. If there is not a match to an IMSI in the whitelist as evaluated by the second level GTP whitelisting map WLMAP2, the traffic flow is sampled based on the rules in this map. Accepted packets are forwarded to load balancing port group pg2.

  1. Select Maps > Maps > Maps.
  2. Click New.
  3. Configure the map:
  • Alias: FSMAP2
  • Type and Subtype: Second Level GTP Flow Sample Overlap
  • Source: VP31
  • Destination: pg2
  • Rule 1: GTP, IMSI: 3102609835*, IMEI: 35609507*, Percentage: 20
  1. Click Save.

15.

Configure a map group. Add the GTP

whitelisting and the two GTP flow

sampling maps configured in previous

steps.

  1. Select Maps > Map Groups.
  2. Click New.
  3. Enter OverlapMap in the Alias field.
  4. In the Maps field, select WLMAP1,WLMAP2,FSMAP1,FSMAP2.
  5. Click Save.