Configuring the LTE Interface as a Dial-on-Demand Interface

 

When the LTE interface is configured as a primary interface, it can function either in always-on mode or in dial-on-demand mode. In always-on mode, the interface remains connected to the network whereas In dial-on-demand mode, the connection is established only when needed.

In dial-on-demand mode, the dialer interface is enabled only when network traffic configured as an “interesting traffic” arrives on the network. Interesting traffic triggers or activates the wireless WAN connection. You define an interesting packet by using the dialer filter. To configure dial-on-demand by using a dialer filter, you first configure the dialer filter and then apply the filter to the dialer interface. Once the traffic is sent over the network, an inactivity timer is triggered and the connection is closed after the timer expires.

Note

The dial-on-demand mode is supported only if the LTE Mini-PIM is configured as a primary interface.

Figure 1 illustrates a scenario where the LTE Mini-PIM is installed on a SRX320 Services Gateway and functions as the primary interface. This procedure assumes that the LTE Mini-PIM is installed in slot 1 on the SRX320 Services Gateway.

Note

The LTE Mini-PIM can be installed in any of the Mini-PIM slots on the SRX320, SRX340, SRX345, and SRX550M Services Gateways.

Figure 1: LTE Mini-PIM Used as a Dial-on-Demand Interface
LTE
Mini-PIM Used as a Dial-on-Demand Interface

To configure the LTE Mini-PIM as a dial-on-demand interface:

  1. Configure the dialer interface:
    user@host# set interfaces dl0 unit 0 family inet negotiate-address
    user@host# set interfaces dl0 unit 0 family inet6 negotiate-address
    user@host# set interfaces dl0 unit 0 family inet filter dialer dialer-filter-name
    user@host# set interfaces dl0 unit 0 dialer-options pool dialer-pool-number
    user@host# set interfaces dl0 unit 0 dialer-options dial-string dial-number
    Note

    Optionally, you can configure the idle-timeout value, which determines the duration for which the connection will remain enabled in the absence of interesting traffic.

    user@host# set interfaces dl0 unit 0 dialer-options idle-timeout idle-timeout-value
  2. Configure the dialer pool for the LTE Mini-PIM physical interface:
    user@host# set interfaces cl-1/0/0 dialer-options pool number
  3. Create the dialer filter rule:
    user@host# set firewall family inet dialer-filter dialer-filter-name term term1 from destination-address ip-address then note
  4. Set the default route:
    set routing-options static route ip-address next-hop dl0.0
  5. Configure the profile. The Subscriber Identity Module (SIM) uses a profile to establish a connection with the network. You can configure up to 16 profiles for each SIM card. The LTE Mini-PIM supports two SIM cards and so you can configure a total of 32 profiles, although only one profile can be active at a time.
    user@host# run request modem wireless create-profile profile-id profile-id cl-1/0/0 slot sim-slot-number access-point-name apn-name authentication-method none
    Note

    sim-slot-number is the slot on the Mini-PIM in which the SIM card is inserted.

  6. Verify that the profile is configured successfully:
    user@host# run show modem wireless profiles cl-1/0/0 slot 1
  7. Activate the SIM card:
    user@host# set interfaces cl-1/0/0 act-sim sim-slot-number
  8. Select the profile and configure the radio access type for the SIM card:
    user@host# set interfaces cl-1/0/0 cellular-options sim sim-slot-number select-profile profile-id profile-id
    user@host# set interfaces cl-1/0/0 cellular-options sim sim-slot-number radio-access automatic
    Note

    If a SIM card is installed in the second slot, then select the profile and configure the radio access type for the secondary SIM card as well.

  9. Verify the configuration by sending traffic to the destination address. The traffic is routed to the dl0 interface and if it matches the dialer filter rule, then the dl0 is triggered to dial.
  10. Verify the status of the wireless network and dialer interface:
    user@host# run show modem wireless network
    user@host# run show interfaces dl0.0