Check Op Commands
This scenario shows how to configure a cellular interface and demonstrates how to use some useful operational commands.
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) = -54 RSRP (dBm) = -83 RSRQ (dB) = -13 SNR (dB) = 4.000000 Rx Chain #0 Radio tuned = yes Rx Level (dBm) = -62.200000 ECIO (dB) = 10.700000 RSRP (dBm) = 89.800000 Phase (deg) = 0.000000 Rx Chain #1 Radio tuned = yes Rx Level (dBm) = -57.600000 ECIO (dB) = 8.700000 RSRP (dBm) = 83.200000 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 = 38
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 = 176.82.166.234 IPv4 mask = 255.255.255.252 IPv4 gateway = 176.82.166.233 IPv4 primary DNS = 80.58.61.250 IPv4 secondary DNS = 80.58.61.254