5G Core 21.1 Session Management ISSUE 1.0
5G Core 21.1 Session Management ISSUE 1.0
5G Core 21.1 Session Management ISSUE 1.0
Configuration
www.huawei.com
APN
APNNetwork
Network APN
APNOperator
Operator
Identifier
Identifier Identifier
Identifier
APN-NI defines the external networks or services that mobile subscribers access through the gateway.
APN-OI defines the GPRS/UMTS/EPC where the gateway is located.
On the EPC network, you need to insert "apn.epc" between the APN-NI and APN-OI and replace "gprs" with
"3gppnetwork.org" for the APN official domain name APNFQDN.
For example, on the EPC network, the official domain name of the APN internet.mnc015.mcc234.gprs is
internet.apn.epc.mnc015.mcc234.3gppnetwork.org.
The 5G core network supports a packet data unit (PDU) connectivity service, that is, a service that exchanges PDUs between a UE
and a DN identified by a data network name (DNN).
The 5GC Session Management feature involves the following procedures:
PDU session establishment: This procedure involves UE IP address assignment, UPF selection, PCC policy acquisition, and
permission check for a UE to access an external network.
PDU session modification: A UE or the network initiates this procedure to update QoS parameter when one or more QoS
parameters exchanged between the UE and network are modified or the UE capability changes.
PDU session release: A UE or the network initiates this procedure to release session resources when the UE does not require
related services, and the PCF or the SMF locally configures the release policy.
Traffic
eNodeB Signaling
MS
SAEGW
APN->PGW IP IP address=
MME 211.*.*.*
Traffic
gNodeB
MS UPF
Signaling
IP address=
211.*.*.*
AMF
DNN,Snssai->SMF IP
SMF
DNN/TAI->UPF IP
www.yahoo.com
NRF
A DNN defined in 3GPP TS 23.501 R15 is equivalent to an APN. Both identifiers have an equivalent
meaning and carry the same information. In addition, in R15, a DNN is equivalent to an APN.
A DNN may be used to:
Address assignment by the SMF: applicable to simple networking using one SMF and multiple UPFs
Address assignment by the UPF: applicable to complex networking using multiple SMFs and UPFs
Commercial deployment
Address assignment by the SMF: complex planning and low address pool usage
Address assignment by the UPF: simple planning and high address pool usage
O&M scenarios
Address assignment by the SMF: SMF/UPF capacity expansion is complex and requires peripheral cooperation.
Address assignment by the UPF: SMF/UPF capacity expansion is simple and does not require peripheral cooperation.
Smooth evolution
Address assignment by the SMF: The address pools need to be replanned on the entire network for the evolved SMF set.
Address assignment by the UPF: The IP address planning does not need to be modified for the evolved SMF set.
The PGW-U/UPF reports its user plane address assignment capabilities to the PGW-C/SMF when they
exchange association messages, such as PFCP Association Setup Request/PFCP Association Setup
Response or PFCP Association Update Request/PFCP Association Update Response. The PGW-U/UPF
always includes a UP Function Flag IE in such a message. The ADUP bit in this IE is used to inform the
PGW-C/SMF of whether the UDG is capable of assigning user-plane addresses. This bit is set to 1 by
default, indicating that the UDG is capable of assigning user-plane addresses.
The PGW-C/SMF uses the UE IP Address IE in a PFCP Session Establishment Request message to notify the PGW-
U/UPF of a specific address assignment method. The PGW-U/UPF then selects the external or user plane address
assignment based on the extension UPA, V4, and V6 bits in the UE IP Address IE. The following figure shows the UE
IP Address IE.
IE Description
Create PDR
---PDI The information in the left column shows the
------UE IP Address structure of the UE IP Address IE in a PFCP
Session Establishment Request message. The
Huawei solution specifies that user plane address
assignment is used if both the UPA bit and the V4
Create Traffic Endpoint or V6 bit are set to 1. If the UPA bit is set to 0, IP
---UE IP Address addresses are assigned by the control plane.
The UDG uses a proprietary extension field in an association establishment request or response message over the N4
interface to inform the control plane of its local address assignment capabilities. The control plane then obtains the
capabilities.
A subscriber initiates a session establishment request to the control plane during the activation procedure, applying
for an IP address. The control plane then determines whether the user plane or control plane assigns an IP address of
the specified type (IPv4, IPv6, or IPv4v6). If the control plane determines that the user plane assigns an IP address, it
uses a PFCP Session Establishment Request message over the N4 interface to instruct the UDG to assign an IP
address. The UDG then assigns an IP address as instructed by the control plane, and sends a PFCP Session
Establishment Response message with the assigned IP address to the UE. After the UE obtains the IP address, it can
initiate an uplink or downlink data service request.
The Static Address User Routing Redundancy feature ensures non-stop services for subscribers with static IP addresses. In network
deployment, a pair of active/standby UDGs are deployed. If the active UDG becomes faulty, the standby UDG will take over
services through the backup GRE tunnel. This prevents network failures and allows subscribers with static IP addresses to continue
using services normally.
Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page22 Page 22
Implementation Principle
Uplink and downlink data flows in normal cases:
UDGs 1 and 2 both advertise a route destined for the
UE-subscribed static IP address segment to the Internet
over a routing protocol, such as Open Shortest Path
First (OSPF) or Border Gateway Protocol (BGP). UDG
1 has a higher route priority than UDG 2. If there is a
network fault, the functional UDG will take over
services from the faulty one to continue serving the UE.
Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page23 Page 23
Implementation Principle
If UDG 1 becomes faulty, UDG 2 will ensure service continuity by forwarding uplink and downlink data flows of subscribers
with static IP addresses.
Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page24 Page 24
Implementation Principle
After UDG 1 recovers, data of the UE with a static IP address will flow through the backup GRE tunnel to ensure proper service processing.
Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page25 Page 25
Contents
2.3 Data Configuration for the Static Address User Routing Redundancy Feature
Configure the supported address types based on the APN network planning.
SET APNADDRESSATTR: APN="INTERNET", SUPPORTIPV4=ENABLE, SUPPORTIPV4=ENABLE;
LST GLOBALDNS;
List the address attribute.
LST ADDRESSATTR
List APN-specific address assignment attribute.
LST APNADDRESSATTR
2.3 Data Configuration for the Static Address User Routing Redundancy Feature
The UDG can assign IP addresses based on any of following items or a combination of them (such as
location+APN/DNN and SMF+APN/DNN). The diverse set of address assignment methods can meet a variety of
address management and network O&M requirements of carriers:
Activating User Plane Address Assignment (Based on APN/DNN)
Activating Location-based Address Assignment (Based on Location)
Activating User Plane Address Assignment (Based on SMF)
Pool Group Name Local data plan (configurations on other NFs do not
poolgroup1 -
(POOLGRPNAME) need to be considered)
ADD IPv4 Address Allocation
Local data plan (configurations on other NFs do not This parameter must be set to ENABLE if an IPv4 address pool uses the
POOLGROU Priority Algorithm ENABLE
need to be considered) address pool priority-based algorithm.
P (IPV4ALLOCPRIALG)
IPv6 Address Allocation
Local data plan (configurations on other NFs do not This parameter must be set to ENABLE if an IPv6 address pool uses the
Priority Algorithm ENABLE
need to be considered) address pool priority–based algorithm.
(IPV6ALLOCPRIALG)
Pool Group Name
poolgroup1 Existing configuration You can run LST POOLGROUP to view the pool group name.
(POOLGRPNAME)
Local data plan (configurations on other NFs do not
Pool Name (POOLNAME) testpool1 You can run LST POOL to view the address pool name.
ADD need to be considered)
POOLBINDG
ROUP If multiple address pools are bound to an address pool group, IP addresses are
Local data plan (configurations on other NFs do not assigned based on the address pool priority. Priorities can be compared only
Priority of Pool (PRIORITY) 10
need to be considered) for address pools of the same type. For example, the priorities of an IPv4
address pool and an IPv6 address pool cannot be compared.
VPN Instance Name Local data plan (configurations on other NFs do not
vpn1 You can run LST VPNINST to view the VPN instance name.
(VPNINSTANCE) need to be considered)
Name of Pool Group You can run LST POOLGROUP to view the pool
poolgroup1 Existing configuration
(POOLGROUPNAME) group name.
ADD VPNINST:VPNINSTANCE="vpn1";
ADD POOL:POOLNAME="testpool",POOLTYPE=LOCAL,HASVPN=ENABLE,VPNINSTANCE="vpn1";
ADD SECTION:POOLNAME="testpool",SECTIONNUM=1,IPVERSION=IPV4,V4STARTIP="10.10.1.1",V4ENDIP="10.10.1.10";
ADD APN:APN="apn-test1",HASVPN=ENABLE,VPNINSTANCE="vpn1";
3. Run DSP SESSIONINFO to check the IP address type for the test UE.
If the IP address type is UDG ALLOC IP ADDRESS, go to the next step to collect required
information and contact Huawei technical support.
If the IP address type is EXTERNAL ALLOC IP ADDRESS, reconfigure the parameter.
2.3 Data Configuration for the Static Address User Routing Redundancy Feature
Page 51
Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page 51
Configuration Example
Configure an active UDG. (Static IPv4 addresses are used as examples. Follow the same procedure
to configure the standby UDG.)
Procedure Operation Command
6 Configure a static route whose ADD SRROUTE: AFTYPE=ipv4unicast, PREFIX="192.168.0.1", MASKLENGTH=32, VRFNAME=""vpn1",
destination IP address is the redirection IFNAME="Tunnel1";
IP address and next hop is the backup Note: For load balancing and reliability purposes, you are advised to configure multiple static routes whose destination
GRE tunnel. IP addresses are the redirection IP address and next hops are the backup GRE tunnel. Data of the standby UDG will
then be redirected to one GRE tunnel in the UP state following the load sharing rules.
Page 52
Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page 52
Commissioning
Prerequisites
You are familiar with the "GWFD-010107 Static Address User Routing Redundancy" feature.
Static Address User Routing Redundancy has been configured on the active and standby UDGs.
(For details, see CPI/GPI product documentation of the UDG.)
Tools
OM portal
Page 53
Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page 53
Commissioning
1. Create user trace tasks on the WebLMT of the active and standby UDGs. Enter the IMSI of the test UE in the Parameter Configuration
area and select GTPC, UP, and DOWN in Message Type.
2. Use the test UE to request access to the network of the active UDG with APN apn1, and view the user trace result on the OM portal.
If the test UE fails to access the network, commission the access function of the UDG.
If the test UE fails to access the web page, commission the web browsing function of the UDG.
4. View the value of 1914307822 User plane Current activated static backup sessions.
5. Simulate a fault on the active UDG, for example, reset it. Use the test UE to request access to the network of the standby UDG, and view
the user trace result on the OM portal. Then, use the test UE to visit www.huawei.com.
If the test UE fails to access the network, commission the access function of the UDG.
Page 54
Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page 54
Commissioning
6. Use the test UE to visit www.huawei.com.
If the test UE successfully accesses the web page, go to step 7.
If the test UE fails to access the web page, commission the web browsing function of the UDG.
7. After the active UDG recovers, view the following counters on the active and standby UDGs:
On the active UDG:
1914307630 User plane outgoing static backup users traffic in KB
1914307631 User plane outgoing static backup users traffic in packets
1914307632 User plane outgoing static backup users traffic peak in KB/s
1914307633 User plane outgoing static backup users traffic peak in packets/s
On the standby UDG:
1914307626 User plane incoming static backup users traffic in KB
1914307627 User plane incoming static backup users traffic in packets
1914307628 User plane incoming static backup users traffic peak in KB/s
1914307629 User plane incoming static backup users traffic peak in packets/s
1914307822 User plane Current activated static backup sessions
If the values are available on the active and standby UDGs, commissioning is complete, and no further action is required.
If the values are unavailable on the active or standby UDGs, go to step 8.
Page 55
Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page 55
Commissioning
8. Run LST REDUNDUSER to check whether the Static Address User Routing Redundancy feature has been enabled.
9. Run LST POOL to check whether the address pools configured on the active and standby UDGs are as planned.
Run LST GRETUNNEL to check whether the tunnel between the active and standby UDGs is as planned.
11. Run LST REDUNDRDTIP to check whether the redirection IP address of the backup channel between the active and
standby UDGs is as planned.
Page 56
Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page 56
Commissioning
12. Check whether the route of the backup GRE tunnel between the active and standby UDGs is operational.
Start the packet capture tool on the mirroring port or server. Perform steps 2 and 5, and save the captured packets on
the active and standby UDGs.
Run EXP MML to export the current configuration data into an MML script file and then save the file.
Page 57
Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page 57
Questions
This section mainly describes the functions of the 5G SA, APN, and DNN as well as the UE address
assignment principles. It also describes the data configuration for the user-plane IP addresses assignment.