Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring a Set of IP-Based TDF Subscriber Properties with a TDF Domain

date_range 13-Jan-21

You define a set of properties for processing IP-based subscriber traffic and for setting up the subscriber session by configuring a TDF domain. You can create multiple TDF domains.

A potential IP-based subscriber is assigned to a TDF domain through a TDF domain-selection process that you configure in another topic.

Before you begin to create a TDF domain for IP-based subscribers, make sure that you have done the following:

  • Configured the TDF interface (mif-) that the TDF domain uses.

  • Configured the access-facing interfaces that the TDF domain uses.

  • Configured a VRF routing instance that includes the TDF interface and the access-facing interfaces.

  • Configured the PCEF profile if the TDF domain specifies one.

  • Configured the address pool that contains source IP addresses of packets that are excluded from TDF processing for the TDF domain.

To configure a TDF domain for IP-based subscribers:

Configuring the TDF Domain Name and AAA Parameters

To configure the TDF domain name and the AAA parameters that are used by the TDF domain to create TDF IP-based subscriber sessions:

  1. Specify a name for the TDF domain. The name can be from 1 through 50 characters long.
    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name]
    user@host# set domains domain-name
    
  2. (Optional) Configure the TDF domain for IP-based subscribers.
    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name domains domain-name]
    user@host# set subscriber-type ip 
    

    You may omit this step because the default subscriber-type for TDF domains is ip.

  3. Specify one or more methods for constructing the Subscription-Id for the Diameter credit control request (CCR) message that is sent from the TDF to the PCRF for subscribers belonging to the TDF domain.
    1. Specify the type of information to use for the Subscription-Id.

      You can specify multiple types, and the order of preference matches the order in which you enter the types. Table 1 describes the types.

      content_copy zoom_out_map
      [edit unified-edge gateways tdf gateway-name domains domain-name ip-subscriber]
      user@host# set subscription-id subscription-id-options entry-name id-components [use-class | use-imsi | use-msisdn | use-nai | use-nas-port | use-nas-port-id | use-realm | use-username] 
      

      You can specify multiple methods by including the entry-name variable multiple times.

    2. If you selected use-class in Step a, you can also configure a regular expression to parse the Class attribute contents, specify characters to insert between the resulting regular expression groups, and specify the subscription ID type.

      content_copy zoom_out_map
      [edit unified-edge gateways tdf gateway-name domains domain-name ip-subscriber subscription-id]
      user@host# set use-class regex “value 
      user@host# set use-class pattern “pattern 
      user@host# set use-class subscription-id-type (imsi | msisdn | nai | private | sip-uri) 
      

      where value is a regular expression and pattern indicates the characters to insert between regular expression groups, which are identified with \n for a group number.

      For example, the following configuration generates " 000118191129|ALICE:DRAV3:" out of " 000118191129#000118191129#ALICE:DRAV3:#7168#nflat#ADSL##" and sets the type to IMSI:

      content_copy zoom_out_map
      [edit unified-edge gateways tdf TDF1 domains domain1 ip-subscriber subscription-id ]
      user@host# set use-class regex "[^#]*#\([^#]*\)\#\([^#]*\)" 
      user@host# set use-class pattern "\1|\2" 
      user@host# set use-class subscription-id-type imsi 
      
    3. Specify a constant string for the Subscription-Id-Data value.

      This constant value is used if none of the subscription-id-options methods can be used. In such a case, the Subscription-Id-Type is END_USER_PRIVATE.

      content_copy zoom_out_map
      [edit unified-edge gateways tdf gateway-name domains domain-name ip-subscriber]
      user@host# set subscription-id constant value 
      
    Table 1: Options for id-components of Subscription-Id

    Option

    Subscription-Id Type

    Subscription-Id Data

    use-class

    Configurable

    Entire Class attribute by default. Class attribute value can be parsed with regex option under the [edit unified-edge gateways tdf gateway-name domains domain-name subscription-id use-class] hierarchy.

    use-imsi

    END_USER_IMSI

    3GPP-IMSI

    use-msisdn

    END_USER_E164

    Calling-Station-Id

    use-nai

    END_USER_NAI

    User-Name

    use-nas-port

    END_USER_PRIVATE

    NAS-Port

    use-nas-port-id

    END_USER_PRIVATE

    NAS-Port-Id

    use-realm

    END_USER_PRIVATE

    Realm portion of the User-Name in NAI format

    use-username

    END_USER_PRIVATE

    Username portion of the User-Name in NAI format

  4. (Not applicable to snooped messages) Enable or disable the sending of an immediate RADIUS response message to the accounting start message received from a gateway GPRS support node (GGSN), Packet Data Network Gateway (PGW), or broadband network gateway (BNG) RADIUS client (disabled is the default).

    If the option is disabled, the response is sent after the TDF subscriber session creation is complete.

    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name domains domain-name ip-subscriber]
    user@host# set immediate-accounting-response (enabled | disabled) 
    

Configuring Address Filtering

To restrict the traffic that undergoes TDF processing for the TDF domain by identifying source IP addresses for uplink traffic and destination IP addresses for downlink traffic:

  1. Identify the network prefix of source and destination IP addresses for packets that do not undergo TDF processing. Specify inet for IPv4 prefixes and inet6 for IPv6 prefixes.
    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name domains domain-name]
    user@host# set subscriber-exclude-prefix family (inet | inet6) network address net-mask 
    
  2. Identify the address pool that contains source and destination IP addresses of packets that undergo TDF processing. Specify inet for IPv4 prefixes and inet6 for IPv6 prefixes.
    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name domains domain-name ip-subscriber ]
    user@host# set subscriber-address (inet | inet6) pool pool-name
    
    Note:

    The address pool must be configured at the [edit access address-assignment] hierarchy level.

Configuring Subscriber Services and Policies

To configure the services and policies for IP-based subscribers that belong to the TDF domain:

  1. Identify the TDF interface for the TDF domain.

    The TDF domain uses the service set that is applied to this TDF interface.

    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name domains domain-name]
    user@host# set tdf-interface mif.number
    
    Note:

    The TDF interface (mif) must have been previously configured at the [edit interfaces] hierarchy level.

  2. (Optional) Identify the PCEF profile that the TDF domain uses to apply policies.

    If you do not identify a PCEF profile, then the PCEF profile must be assigned under the [edit unified-edge gateways tdf gateway-name domain-selection term] hierarchy.

    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name domains domain-name]
    user@host# set pcef-profile name
    
    Note:

    The PCEF profile must have been previously configured at the [unified-edge pcef] hierarchy level.

Configuring Access Interfaces

To configure the interfaces that face the access network and carry traffic to and from the IP-based subscribers that belong to the TDF domain:

Specify at least one interface. You can specify multiple interfaces.
content_copy zoom_out_map
[edit unified-edge gateways tdf gateway-name domains domain-name ip-subscriber]
user@host# set access-interfaces interface-name

Configuring Session Controls

To configure the TDF session controls for subscribers that belong to the TDF domain:

  1. Configure the idle timeout (in minutes) for the TDF subscriber session. The range is 0 through 300.
    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name domains domain-name ip-subscriber]
    user@host# set idle-timeout idle-timeout
    
  2. Configure the default TDF subscriber maximum bit rate (MBR) for uplink and downlink traffic.

    Uplink traffic originates from the subscriber towards the public data network (PDN), and downlink traffic comes from the PDN and is destined for the subscriber. The range is 0 through 6,144,000 Kbps.

    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name domains domain-name]
    user@host# set maximum-bit-rate uplink mbr-uplink-value downlink mbr-downlink-value
    
  3. Configure the default TDF subscriber allowed burst size for uplink and downlink traffic.

    Uplink traffic originates from the subscriber towards the public data network (PDN), and downlink traffic comes from the PDN and is destined for the subscriber. The range is 1500 through 1,500,000,000 bytes.

    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name domains domain-name]
    user@host# set burst-size uplink uplink-burst-size downlink downlink-burst-size
    
  4. Configure the maximum number of subscriber sessions allowed (in thousands) for the TDF domain. The range is 100 thousands through 5000 thousands.
    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name domains domain-name ip-subscriber]
    user@host# set maximum-subscribers number
    

Configuring Default Policy

To configure the default local policy for handling subscriber traffic entering the access interface of the TDF domain if a TDF subscriber session does not exist:

  1. Configure the flow action to take on the subscriber’s traffic.
    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name domains domain-name ip-subscriber]
    user@host# set default-local-policy flow-action (drop | forward)
    
  2. Configure the maximum bit rate for the subscriber’s traffic.
    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name domains domain-name ip-subscriber]
    user@host# set default-local-policy maximum-bit-rate uplink mbr-uplink-value downlink mbr-downlink-value
    

    Uplink traffic originates from the subscriber towards the public data network (PDN); downlink traffic comes from the PDN and is destined for the subscriber. The range is 0 through 6144000 Kbps.

  3. Configure the allowed burst size for the subscriber’s traffic.
    content_copy zoom_out_map
    [edit unified-edge gateways tdf gateway-name domains domain-name ip-subscriber]
    user@host# set default-local-policy burst-size uplink uplink-burst-size downlink downlink-burst-size
    

    Uplink traffic originates from the subscriber towards the public data network (PDN); downlink traffic comes from the PDN and is destined for the subscriber. The range is 1500 through 1,500,000,000 bytes.

footer-navigation