Check Op Commands

This scenario shows how to configure a cellular interface and demonstrates how to use some useful operational commands.

../../../_images/commands.svg

Test Cellular Commands

Description

A cellular profile is defined and a cellular interface is created in DUT0. Once it’s configured, some operational commands are executed to retrieve useful information about this interface.

Scenario

Step 1: Set the following configuration in DUT0:

set interfaces cellular cell0 profile CELPROFILE
set interfaces cellular cell0 address dhcp
set cellular profile CELPROFILE apn movistar.es
set cellular profile CELPROFILE pin 9922

Step 2: Run command interfaces cellular cell0 show signal-quality at DUT0 and check if output matches the following regular expressions:

\s+RSSI \(dBm\) = -\d+
Show output
LTE:
   RSSI (dBm) = -64
   RSRP (dBm) = -90
   RSRQ (dB)  = -9
   SNR (dB)   = 10.400000
Rx Chain #0
   Radio tuned    = yes
   Rx Level (dBm) = -62.900000
   ECIO (dB)      = 11.600000
   RSRP (dBm)     = 91.400000
   Phase (deg)    = 0.000000
Rx Chain #1
   Radio tuned    = yes
   Rx Level (dBm) = -62.400000
   ECIO (dB)      = 11.300000
   RSRP (dBm)     = 90.600000
   Phase (deg)    = 0.000000

Step 3: Run command interfaces cellular cell0 show device-info at DUT0 and check if output matches the following regular expressions:

Temperature\s+ = \d+
Show output
Module Manufacturer          = Quectel
Module Model                 = EM06E
Module Firmware              = EM06ELAR04A01M4G
Hardware Revision            = 20000
IMEI                         = 866680040655021
IMSI                         = 214075519082727
ICCID                        = 8934076700110220643F
Radio Interfaces             = umts, lte
Data Service Capability      = non-simultaneous-cs-ps
Maximum TX/RX rate supported = 50000/100000 Kbps
Temperature                  = 36

Step 4: Run command interfaces cellular cell0 show network-data-connection at DUT0 and check if output matches the following regular expressions:

IPv4 address\s+ = \d+\.\d+\.\d+\.\d+
Show output
Connection status               = connected
Radio Access Technology         = lte
Traffic channel status          = active
Max. TX channel rate (bps)      = 50000000
Max. RX channel rate (bps)      = 300000000
IPv4 address                    = 37.13.148.94
IPv4 mask                       = 255.255.255.252
IPv4 gateway                    = 37.13.148.93
IPv4 primary DNS                = 80.58.61.250
IPv4 secondary DNS              = 80.58.61.254