--- tags: 5GC, UPF --- UPF PFCP References =================== [ToC] ## 3GPP TS 23.501 - 5G System Architecture ### 5.7.6 Packet Filter Set 5.7.6.1 General 5.7.6.2 IP Packet Filter Set ### 5.8.2 Functional Description 5.8.2.10 UP Tunnel Management 5.8.2.11 Parameters for N4 session management - 5.8.2.11.1 General - 5.8.2.11.2 N4 Session Context - 5.8.2.11.3 Packet Detection Rule (PDR) - 5.8.2.11.4 QoS Enforcement Rule (QER) - 5.8.2.11.5 Usage Reporting Rule (URR) - 5.8.2.11.6 Forwarding Action Rule (FAR) - 5.8.2.11.7 Usage Report generated by UPF ## 3GPP TS 23.502 - Procedures for the 5G System ### 4.3.5 Session continuity, service continuity and UP path management 4.3.5.4 Addition of additional PDU Session Anchor and Branching Point or UL CL ![](https://i.imgur.com/TmQXO31.png) 4.3.5.5 Removal of additional PDU Session Anchor and Branching Point or UL CL ![](https://i.imgur.com/eFPcHlt.png) ### 5.6.4 Single PDU Session with multiple PDU Session Anchors 5.6.4.2 Usage of an UL Classifier for a PDU Session ![](https://i.imgur.com/dF3epiR.png) 5.6.4.3 Usage of IPv6 multi-homing for a PDU Session ![](https://i.imgur.com/gh8dFxr.png) ![](https://i.imgur.com/QbzUYyG.png) 5.6.8 Selective activation and deactivation of UP connection of existing PDU Session ## 3GPP TS 29.244 - PFCP ### 5. General Descriptions 5.2 Packet Forwarding Modal - Description of PDR, FAR, BAR, QER, URR - Packet processing flow in the user plane function ![](https://i.imgur.com/WaCJg3x.png) 5.2.1 ~ 5.2.5 Handling PDR, FAR, BAR, QER, URR - **PDR** (packet detection rule): matching an incoming packet - **PDI** (packet detection information): fields for packet matching - **FAR** (forwarding action rule): packet forwarding - **BAR** (buffering action rule): traffic buffering (used when radio link released, paging, handovering...) - QER (QoS enforcement rule): QoS management - URR (usage reporting rule): accounting 5.17.2 Uplink Classifier (UL CL) and Branch Point ### 6. PFCP Procedures 6.2.2 Heartbeat Procedure 6.2.6 PFCP Association Setup Procedure 6.2.8 PFCP Association Release Procedure 6.3.2 PFCP Session Establishment Procedure 6.3.3 PFCP Session Modification Procedure 6.3.4 PFCP Session Deletion Procedure 6.3.5 PFCP Session Report Procedure ### 7.1 PFCP Packet Format and Message Types 7.2.1-7.2.3 PFCP Packet Formats 7.3 PFCP Message Formats 7.5 PFCP Session Related Messages - 7.5.2.2 Create PDR IE within PFCP Session Establishment Request - 7.5.2.3 Create FAR IE within PFCP Session Establishment Request - 7.5.2.4 Create URR IE within PFCP Session Establishment Request - 7.5.2.5 Create QER IE within PFCP Session Establishment Request - 7.5.2.6 Create BAR IE within PFCP Session Establishment Request ### 8. Information Element Format Bit format of each IEs. ## Commonly Used PDR Fields in TS 29.244 - PDR - Precedence - PDI - source interface (`8.2.2`) - interface value - 0: Access - 1: Core - 2: SGi-LAN/N6-LAN - 3: CP-function - UE ip address (`8.6.62`) - ipv4 addr - ipv6 addr - local f-teid (`8.2.3`) - teid (in teid) - ipv4 addr (local upf gtpu ip) - ipv6 addr (local upf gtpu ip) - outer header removal (`8.2.64`) - 0: GTP-U/UDP/IPv4 - 1: GTP-U/UDP/IPv6 - 2: UDP/IPv4 - 3: UDP/IPv6 - FAR - apply action (`8.2.26`) - Bit 1: drop - Bit 2: forw - Bit 3: buff - Bit 4: nocp (notify CP, usually used with buff) - Bit 5: dupl - forwarding parameters - destination interface - outer header creation (`8.2.56`) - teid (out teid) - ipv4 addr - ipv6 addr - port number