ON THIS PAGE
Example: Configure LTE Mini-PIM as a Backup Interface
This example shows how to configure the LTE Mini-PIM as a backup interface. If the primary interface fails, the Mini-PIM connects to the network and remains online only until the primary interface becomes functional. The dialer interface is enabled only when the primary interface fails. In this scenario, the Mini-PIM is installed on slot 1.
Configuration
CLI Quick Configuration
To quickly configure this example, copy the following command, paste it into a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the command into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.
Configure the LTE Mini-PIM as a Backup Interface
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 in the CLI User Guide.
To configure LTE Mini-PIM as a backup interface:
- Create the dialer interface.[edit interfaces]user@host# set interfaces dl0 unit 0 family inet negotiate-addressuser@host# set interfaces dl0 unit 0 family inet6 negotiate-addressuser@host# set interfaces dl0 unit 0 dialer-options pool dialer-pool-numberuser@host# set interfaces dl0 unit 0 dialer-options dial-string dial-number
- Define the dialer pool for the LTE Mini-PIM physical interface.user@host# set interfaces cl-1/0/0 dialer-options pool dialer-pool-number
- Create and configure the profile on the SIM cards.
sim-slot-number is the slot on the Mini-PIM in which the SIM card is inserted.
user@host# run request modem wireless create-profile profile-id profile-id cl-1/0/0 slot sim-slot-number access-point-name l3vpn.corp authentication-method none - Activate the SIM card.user@host# set interfaces cl-1/0/0 act-sim sim-slot-number
- 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-iduser@host# set interfaces cl-1/0/0 cellular-options sim sim-slot-number radio-access automatic
- Specify Ethernet interface as the primary interface, which
connects to the wireless network. Specify the dl0 interface as the
backup interface.user@host# set interfaces ge-0/0/1 unit 0 family inet address 192.168.2.1/24user@host# set interfaces ge-0/0/1 unit 0 backup-options interface dl0.0
Results
From configuration mode, confirm your configuration by entering the show interfaces dl0.0 command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
user@host>
Logical interface dl0.0 (Index 353) (SNMP ifIndex 559) Flags: Up Point-To-Point SNMP-Traps 0x4004000 Encapsulation: ENET2 Dialer: State: Active, Dial pool: pool1 Primary interface: ge-1/0/1.0 (Index 350) Dial strings: 1234 Subordinate interfaces: cl-1/1/0 (Index 161) Activation delay: 0, Deactivation delay: 0 Initial route check delay: 120 Redial delay: 120 Callback wait period: 5 Load threshold: 0, Load interval: 60 Input packets : 7 Output packets: 10 Protocol inet, MTU: 1490 Max nh cache: 0, New hold nh limit: 0, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0 Flags: Sendbcast-pkt-to-re, Negotiate-Address Addresses, Flags: Is-Preferred Is-Primary Destination: 100.100.60.208/29, Local: 100.100.60.212, Broadcast: 100.100.60.215 Protocol inet6, MTU: 1490 Max nh cache: 75000, New hold nh limit: 75000, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0 Flags: Is-Primary, Negotiate-Address Addresses, Flags: Is-Preferred Destination: fe80::/64, Local: fe80::5a00:bb0f:fcaa:7d00
Verification
Verification of the configured profile
Purpose
Verify that the profile is configured successfully.
Action
From operational mode, run the show modem wireless profiles cl-1/0/0 slot 1 command.
user@host> show modem wireless profiles cl-1/0/0
slot 1
Profile details Max profiles: 16 Default profile Id: 1 Profile 1: ACTIVE Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4V6 Profile 2: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 3: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 4: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 5: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 6: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 7: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 8: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 9: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 10: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 11: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 12: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 13: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 14: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 15: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4 Profile 16: Inactive Valid: TRUE Access point name (APN): airtelgprs.com Authentication: None IP Version: IPV4
Meaning
The output confirms the profile is active.
Verification of status of the dialer interface
Purpose
Verify that the dialer interface is configured successfully.
Action
From operational mode, run the show interfaces dl0.0 command.
user@host> show interfaces dl0.0
Logical interface dl0.0 (Index 353) (SNMP ifIndex 559) Flags: Up Point-To-Point SNMP-Traps 0x4004000 Encapsulation: ENET2 Dialer: State: Active, Dial pool: pool1 Primary interface: ge-1/0/1.0 (Index 350) Dial strings: 1234 Subordinate interfaces: cl-1/1/0 (Index 161) Activation delay: 0, Deactivation delay: 0 Initial route check delay: 120 Redial delay: 120 Callback wait period: 5 Load threshold: 0, Load interval: 60 Input packets : 7 Output packets: 10 Protocol inet, MTU: 1490 Max nh cache: 0, New hold nh limit: 0, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0 Flags: Sendbcast-pkt-to-re, Negotiate-Address Addresses, Flags: Is-Preferred Is-Primary Destination: 100.100.60.208/29, Local: 100.100.60.212, Broadcast: 100.100.60.215 Protocol inet6, MTU: 1490 Max nh cache: 75000, New hold nh limit: 75000, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0 Flags: Is-Primary, Negotiate-Address Addresses, Flags: Is-Preferred Destination: fe80::/64, Local: fe80::5a00:bb0f:fcaa:7d00
Meaning
The output confirms the interface dlo is configured and active.
Verification of status of the modem network and modem firmware
Purpose
Verify that the wireless network is configured, check the firmware, and check if the sim is active.
Action
From operational mode, enter the show modem wireless network cl-1/0/0 command to verify the network status and show modem wireless firmware cl-1/0/0 command to verify the firmware and sim status. Alternatively you can use the show configuration command to verify the complete status.
user@host> show modem wireless network cl-1/0/0
LTE Connection details Connected time: 147 IP: 172.16.52.4 Gateway: 172.16.52.5 DNS: 123.123.123.123 Input bps: 0 Output bps: 0 Bytes Received: 1308 Bytes Transferred: 1164 Packets Received: 10 Packets Transferred: 10 Wireless Modem Network Info Current Modem Status: Connected Current Service Status: Normal Current Service Type: PS Current Service Mode: LTE Current Band: B3 Network: UNICOM Mobile Country Code (MCC): 460 Mobile Network Code (MNC): 1 Location Area Code (LAC): 65534 Routing Area Code (RAC): 0 Cell Identification: 4865903 Access Point Name (APN): abcde Public Land Mobile Network (PLMN): CHN-UNICOM Physical Cell ID (PCI): 333 International Mobile Subscriber Identification (IMSI): *************** International Mobile Equipment Identification (IMEI/MEID): *************** Integrate Circuit Card Identity (ICCID): 89860114721100697502 Reference Signal Receiving Power (RSRP): -97 Reference Signal Receiving Quality (RSRQ): -16 Signal to Interference-plus-Noise Ratio (SiNR): 0 Signal Noise Ratio (SNR): 0 Energy per Chip to Interference (ECIO): 0
Meaning
The output here shows the wireless modem network is connected and IP address of the fimware connected.