Skip to content
Ask AI

5G Interface Configuration

[Command]

show cellular status 1

[Purpose]

Display SIM card information

[View]

System view

[Use Cases]

sonic# show cellular status
5G Serving Cell Info
----------------------------------------
state : NOCONN
rat : NR5G-SA
duplex : TDD
mcc : 460
mnc : 00
cellid : A0117F001
pcid : 286
tac : 1000D7
arfcn : 504990
band : 41
bandwidth : 12
rsrp : -84
sinr : -10
rsrq : 10
----------------------------------------

[Command]

dial-up apnstring**[userusername] [passwordpassword] [authauth] [ipv4] [ipv6] [ipv4v6] [pincodepincode]**

[Purpose]

Dial-up Configuration

[Parameter]

ParameterDescription
apnAccess Point Name
userdial-up username
passworddial-up password
authAuthentication Type
ipv4Request an IPv4 address
ipv6Request an IPv6 address
ipv4v6Request both IPv4 and IPv6 addresses
pincodeSIM card PIN

[View]

Interface configuration view

[Use Cases]

sonic(config)# interface cellular 1
sonic(config-cellular-1)# dial-up apn 3gnet

[Command]

acltable_namepriority1-65535

[Purpose]

Configure an ACL on the 5G interface

[Parameter]

ParameterDescription
aclAccess-list table name
priorityACL Priority Configuration

[View]

Interface configuration view

[Use Cases]

sonic(config-cellular-1)# acl test priority 1

[Command]

nat-zone0-3

[Purpose]

Enable NAT for the 5G interface

[View]

Interface configuration view

[Notes]

The default value is 0, which disables NAT. When set to 1–3, NAT is enabled.

[Use Cases]

sonic(config-cellular-1)# nat-zone 1

[Command]

network-mode [LTE] [NR5G] [WCDMA] [AUTO]

[Purpose]

Network mode, supports 3G/4G/5G

[Parameter]

ParameterDescription
LTE4G network
NR5G5G network
WCDMA3G network
AUTOAutomatically select the best network

[View]

Interface configuration view

[Use Cases]

sonic(config-cellular-1)# network-mode NR5G

[Command]

sim-slot1-2

[Purpose]

Switch SIM card slots

[View]

Interface configuration view

[Use Cases]

sonic(config-cellular-1)# sim-slot 2

[Command]

network-reset

[Purpose]

Reset the 5G interface module

[View]

Interface configuration view

[Use Cases]

sonic(config-cellular-1)# network-reset