zNetLaB › Guided labs › Telecom
5G registration and PDU session, from the SIM to a web page
Telecom Intermediate 5 devices 8 checked tasks 100 points Plan lab
A phone, a gNodeB, a transport router and a 5G core in one box. The IP network is already routed. Bring up the cell (PLMN, TAC, cell id, the AMF it talks to), make the core serve it (PLMN, TAC, the functions that find each other, a subscriber and a DNN with an address pool), put the SIM in the phone, then read the call flow: registration, authentication, PDU session, GTP-U. Finish by fetching a page. You build it in a browser, type real commands at each device, and every task below is
checked against the running configuration — so you find out it is wrong before anybody else does.
Open this lab in the simulator
The simulator runs in your browser with nothing to install. This lab is part of the full simulator: open it free for 5 days with a new account, then with a plan. It needs an account, which keeps your progress.
The scenario
A phone, a gNodeB, a transport router and a 5G core in one box. The IP network is already routed. Bring up the cell (PLMN, TAC, cell id, the AMF it talks to), make the core serve it (PLMN, TAC, the functions that find each other, a subscriber and a DNN with an address pool), put the SIM in the phone, then read the call flow: registration, authentication, PDU session, GTP-U. Finish by fetching a page.
Your role: a network engineer. Level: Intermediate Done when: all 8 goals show as passed (100 points).
Network status
Devices: 4 routers, 1 server, cabled as drawn. No Layer 1 or Layer 2 faults: every link is connected and up. gNB-1 starts with addresses (G0/0 10.0.1.2/24) and static routes already configured. Transport starts with addresses (G0/0 10.0.1.1/24, G0/1 10.0.2.1/24, G0/2 10.0.3.1/24). 5GC starts with addresses (G0/0 10.0.2.2/24, G0/1 10.0.3.2/24, G0/2 192.0.2.1/24) and static routes already configured. Web is a host with 192.0.2.10/24, gateway 192.0.2.1. Phone starts with an empty configuration.
Known problems
None: nothing is misconfigured. The network is simply not finished: what the goals list is what you have to build or secure.
Goals
The cell broadcasts PLMN 001/01, TAC 1 and has a cell id (10 pts) The gNB points N2 at the AMF (10.0.2.2) (10 pts) The core serves PLMN 001/01 and TAC 1, and names its N2 and N3 addresses (10 pts) The UDM holds the subscriber (IMSI 001010000000001, DNN internet) (15 pts) The phone is registered (5GMM-REGISTERED) on the cell (20 pts) The SMF holds an active PDU session with an address from 10.45.0.0/24 (15 pts) The phone reaches 192.0.2.10 through the UPF (10 pts) The phone fetches the web page (10 pts)
The activity, in order
The cell broadcasts PLMN 001/01, TAC 1 and has a cell id The configuration of gNB-1 must contain the line: plmn 001 01[\s\S]*tac 1[\s\S]*cell-id \d+. Type it in the right mode (global, interface or line) and check it appears.Why: This is the task that checks your configuration directly: the line must really be there, not just look right. Verify with: show running-config The gNB points N2 at the AMF (10.0.2.2) The configuration of gNB-1 must contain the line: peer amf 10.0.2.2. Type it in the right mode (global, interface or line) and check it appears.Why: This is the task that checks your configuration directly: the line must really be there, not just look right. Verify with: show running-config The core serves PLMN 001/01 and TAC 1, and names its N2 and N3 addresses The configuration of 5GC must contain the line: plmn 001 01[\s\S]*tac[ \d]*1[\s\S]*local-address 10.0.2.2[\s\S]*gtpu-address 10.0.3.2. Type it in the right mode (global, interface or line) and check it appears.Why: This is the task that checks your configuration directly: the line must really be there, not just look right. Verify with: show running-config The UDM holds the subscriber (IMSI 001010000000001, DNN internet) On 5GC, run show subscribers and read the output: it must show 001010000000001[^\n]*internet.Why: Reading a show command is the core skill of troubleshooting: the output is the truth, not your configuration. Verify with: show subscribers The phone is registered (5GMM-REGISTERED) on the cell On Phone, run show ue and read the output: it must show 5GMM-REGISTERED.Why: Reading a show command is the core skill of troubleshooting: the output is the truth, not your configuration. Verify with: show ue The SMF holds an active PDU session with an address from 10.45.0.0/24 On 5GC, run show pdu-session and read the output: it must show ACTIVE[\s\S]*10.45.0.0/24|10.45.0.\d+[^\n]*ACTIVE.Why: Reading a show command is the core skill of troubleshooting: the output is the truth, not your configuration. Verify with: show pdu-session The phone reaches 192.0.2.10 through the UPF On Phone, run ping 192.0.2.10 and read the output: it must show 4 received.Why: Reading a show command is the core skill of troubleshooting: the output is the truth, not your configuration. Verify with: ping 192.0.2.10 The phone fetches the web page On Phone, run curl http://192.0.2.10 and read the output: it must show HTTP/1.1 200.Why: Reading a show command is the core skill of troubleshooting: the output is the truth, not your configuration. Verify with: curl http://192.0.2.10
Tips
Work in the order given: later goals depend on the earlier ones. After every change, run the verify command before moving on; do not guess. Stuck? Read the verify output first. It names the interface, neighbour or route that is wrong.
Why this matters
A phone, a gNodeB, a transport router and a 5G core in one box. The IP network is already routed. Bring up the cell (PLMN, TAC, cell id, the AMF it talks to), make the core serve it (PLMN, TAC, the functions that find each other, a subscriber and a DNN with an address pool), put the SIM in the phone, then read the call flow: registration, authentication, PDU session, GTP-U. Finish by fetching a page.
What you will be able to do
The cell broadcasts PLMN 001/01, TAC 1 and has a cell id
The gNB points N2 at the AMF (10.0.2.2)
The core serves PLMN 001/01 and TAC 1, and names its N2 and N3 addresses
The UDM holds the subscriber (IMSI 001010000000001, DNN internet)
The network
UE (phone), gNodeB (5G), ISR 2911, 5GC (AMF+SMF+UPF+AUSF+UDM+NRF), Server — 5 devices in all, already cabled.
Air0 Air0 Gi0/0 10.0.1.2/24 Gi0/0 10.0.1.1/24 Gi0/1 10.0.2.1/24 Gi0/0 10.0.2.2/24 Gi0/2 10.0.3.1/24 Gi0/1 10.0.3.2/24 Gi0/2 192.0.2.1/24 Fa0 Phone gNB-1 Transport 5GC Web 192.0.2.10/24 · gw 192.0.2.1 Drawn from this lab: devices, cables, ports and the addresses already set.
Device Model Address already set
Phone UE (phone) configure it
gNB-1 gNodeB (5G) configure it
Transport ISR 2911 configure it
5GC 5GC (AMF+SMF+UPF+AUSF+UDM+NRF) configure it
Web Server 192.0.2.10 / 255.255.255.0 gw 192.0.2.1
Cabling
Phone Air0 ↔ gNB-1 Air0
gNB-1 Gi0/0 ↔ Transport Gi0/0
Transport Gi0/1 ↔ 5GC Gi0/0
Transport Gi0/2 ↔ 5GC Gi0/1
5GC Gi0/2 ↔ Web Fa0
What is configured at the start
These are already configured when the lab opens — including, where this is a troubleshooting lab, the fault itself:
Transport interface GigabitEthernet0/0
ip address 10.0.1.1 255.255.255.0
no shutdown
exit
interface GigabitEthernet0/1
ip address 10.0.2.1 255.255.255.0
no shutdown
exit
interface GigabitEthernet0/2
ip address 10.0.3.1 255.255.255.0
no shutdown
exit
gNB-1 interface GigabitEthernet0/0
ip address 10.0.1.2 255.255.255.0
no shutdown
exit
ip route 10.0.2.0 255.255.255.0 10.0.1.1
ip route 10.0.3.0 255.255.255.0 10.0.1.1
5GC interface GigabitEthernet0/0
ip address 10.0.2.2 255.255.255.0
no shutdown
exit
interface GigabitEthernet0/1
ip address 10.0.3.2 255.255.255.0
no shutdown
exit
interface GigabitEthernet0/2
ip address 192.0.2.1 255.255.255.0
no shutdown
exit
ip route 0.0.0.0 0.0.0.0 10.0.2.1
Tasks, and how each one is checked
Every task is decided by reading the live network — a neighbour in FULL, a ping that succeeds, a line in the running configuration — not by looking for a keyword you typed. The same command shows you what the lab sees.
# Task Pts How to verify it yourself
1 The cell broadcasts PLMN 001/01, TAC 1 and has a cell id 10 On gNB-1: show running-config contains the line(s) matching plmn 001 01[\s\S]*tac 1[\s\S]*cell-id \d+.
2 The gNB points N2 at the AMF (10.0.2.2) 10 On gNB-1: show running-config contains the line(s) matching peer amf 10\.0\.2\.2.
3 The core serves PLMN 001/01 and TAC 1, and names its N2 and N3 addresses 10 On 5GC: show running-config contains the line(s) matching plmn 001 01[\s\S]*tac[ \d]*1[\s\S]*local-address 10\.0\.2\.2[\s\S]*gtpu-address 10\.0\.3\.2.
4 The UDM holds the subscriber (IMSI 001010000000001, DNN internet) 15 On 5GC: show subscribers output matches 001010000000001[^\n]*internet.
5 The phone is registered (5GMM-REGISTERED) on the cell 20 On Phone: show ue output matches 5GMM-REGISTERED.
6 The SMF holds an active PDU session with an address from 10.45.0.0/24 15 On 5GC: show pdu-session output matches ACTIVE[\s\S]*10\.45\.0\.0/24|10\.45\.0\.\d+[^\n]*ACTIVE.
7 The phone reaches 192.0.2.10 through the UPF 10 On Phone: ping 192.0.2.10 output matches 4 received.
8 The phone fetches the web page 10 On Phone: curl http://192.0.2.10 output matches HTTP/1\.1 200.
Stuck? Ask the coach
Tell the coach what you see or what you tried. It gives you a hint, not the answer, the way a senior engineer would. Included with a free trial or any plan.
Ask the coach
Reference solution
Try it yourself first — the lab checks your work either way. This is one configuration that makes every task pass, device by device:
gNB-1 plmn 001 01
tac 1
cell-id 7
pci 21
band n78
peer amf 10.0.2.2
gtpu-address 10.0.1.2
5GC plmn 001 01
tac 1
local-address 10.0.2.2
gtpu-address 10.0.3.2
peer ausf 10.0.2.2
peer smf 10.0.2.2
peer udm 10.0.2.2
peer upf 10.0.2.2
subscriber 001010000000001 key 465b5ce8b199b49faa5f0a2ee238a6bc opc e8ed289deba952e4283b54e88e6183ca dnn internet
dnn internet pool 10.45.0.0/24
Phone imsi 001010000000001
key 465b5ce8b199b49faa5f0a2ee238a6bc
opc e8ed289deba952e4283b54e88e6183ca
apn internet
Related labs
Where to start
The lessons are open to everyone, all guided labs are listed by track, and
plans explains what is free and what is not.
CCNA®, CCNP® and Cisco® are trademarks of Cisco Systems, Inc. zNetLaB is not affiliated with or endorsed by Cisco.
Try the simulator in your browser, no sign-up