---
title: 5G Interface Configuration
slug: routing/5g-interface-configuration
description: 5G Interface Configuration
createdAt: 2026-04-03T03:07:21.564Z
---

## <font color="#1d50a2">5G Interface Configuration</font>

### <font color="#1d50a2">1</font>

**\[Command]**

**show cellular status 1**

**\[Purpose]**

Display SIM card information

**\[View]**

System view

**\[Use Cases]**

```plaintext
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
----------------------------------------
```

### <font color="#1d50a2">dial-up apn *string* \[user *username*\] \[password *password*\] \[auth *auth*\] \[ipv4\] \[ipv6\] \[ipv4v6\] \[pincode *pincode*\]</font>

**\[Command]**

**dial-up apn *string* \[user *username*] \[password *password*] \[auth *auth*] \[ipv4] \[ipv6] \[ipv4v6] \[pincode *pincode*]**

**\[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]**

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

### <font color="#1d50a2">acl *table\_name* priority *1-65535*</font>

**\[Command]**

**acl *table\_name* priority *1-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]**

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

### <font color="#1d50a2">nat-zone *0-3*</font>

**\[Command]**

**nat-zone *0-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]**

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

### <font color="#1d50a2">network-mode \[LTE\] \[NR5G\] \[WCDMA\] \[AUTO\]</font>

**\[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]**

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

### <font color="#1d50a2">sim-slot *1-2*</font>

**\[Command]**

**sim-slot *1-2***

**\[Purpose]**

Switch SIM card slots

**\[View]**

Interface configuration view

**\[Use Cases]**

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

### network-reset

**\[Command]**

**network-reset**

**\[Purpose]**

Reset the 5G interface module

**\[View]**

Interface configuration view

**\[Use Cases]**

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

