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 : NOCONNrat : NR5G-SAduplex : TDDmcc : 460mnc : 00cellid : A0117F001pcid : 286tac : 1000D7arfcn : 504990band : 41bandwidth : 12rsrp : -84sinr : -10rsrq : 10----------------------------------------dial-up apn
Section titled “dial-up apn”[Command]
dial-up apnstring**[userusername] [passwordpassword] [authauth] [ipv4] [ipv6] [ipv4v6] [pincodepincode]**
[Purpose]
Dial-up Configuration
[Parameter]
| Parameter | Description |
|---|---|
| apn | Access Point Name |
| user | dial-up username |
| password | dial-up password |
| auth | Authentication Type |
| ipv4 | Request an IPv4 address |
| ipv6 | Request an IPv6 address |
| ipv4v6 | Request both IPv4 and IPv6 addresses |
| pincode | SIM card PIN |
[View]
Interface configuration view
[Use Cases]
sonic(config)# interface cellular 1sonic(config-cellular-1)# dial-up apn 3gnet[Command]
acltable_namepriority1-65535
[Purpose]
Configure an ACL on the 5G interface
[Parameter]
| Parameter | Description |
|---|---|
| acl | Access-list table name |
| priority | ACL Priority Configuration |
[View]
Interface configuration view
[Use Cases]
sonic(config-cellular-1)# acl test priority 1nat-zone
Section titled “nat-zone”[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 1network-mode [LTE] [NR5G] [WCDMA] [AUTO]
Section titled “network-mode [LTE] [NR5G] [WCDMA] [AUTO]”[Command]
network-mode [LTE] [NR5G] [WCDMA] [AUTO]
[Purpose]
Network mode, supports 3G/4G/5G
[Parameter]
| Parameter | Description |
|---|---|
| LTE | 4G network |
| NR5G | 5G network |
| WCDMA | 3G network |
| AUTO | Automatically select the best network |
[View]
Interface configuration view
[Use Cases]
sonic(config-cellular-1)# network-mode NR5Gsim-slot
Section titled “sim-slot”[Command]
sim-slot1-2
[Purpose]
Switch SIM card slots
[View]
Interface configuration view
[Use Cases]
sonic(config-cellular-1)# sim-slot 2network-reset
Section titled “network-reset”[Command]
network-reset
[Purpose]
Reset the 5G interface module
[View]
Interface configuration view
[Use Cases]
sonic(config-cellular-1)# network-reset