Configure AGF Services
This example describes how to configure the Access Gateway Function (AGF) services to support residential gateways that connect to the 5G core (5GC).
Procedure
CLI Quick Configuration
To quickly configure this example:
-
Copy the following commands and paste them into a text file.
-
Remove any line breaks and change any details necessary to match your network configuration
-
Copy and paste the commands into the CLI at the
[edit]
hierarchy level
set services agf node-name AGF-NODE1 set services agf node-id 1 set services agf plmn te-plmn mcc 123 set services agf plmn te-plmn mnc 456 set services agf tracking-area 0 plmn te-plmn s-nssai 0 sst v2x sd 5 set services agf tracking-area 0 plmn te-plmn s-nssai 1 sst miot sd4 set services agf amf AMF1 node-id 1 set services agf amf AMF1 ip-address 10.1.1.7 port 38412 set services agf amf AMF1 local-endpoint ip-address 10.1.1.1 primary set services agf amf AMF1 local-endpoint ip-address 10.20.1.1 set services agf amf AMF1 default-amf set services agf user-planes UPF_DEFAULT ip-address 10.1.7.1 set services agf user-planes UPF_DEFAULT data-network-name DEFAULT-DN set services agf user-planes UPF_COLOCATED 10.255.20.149 set services agf user-planes UPF_COLOCATED data-network-name COLOCATED-DN set services agf user-planes UPF_COLOCATED colocated-user-plane ip-endpoint-address 10.255.20.149 set routing-instances AMF-RI instance-type virtual-router set routing-instances AMF-RI interface xe-2/0/2.1
Step-by-Step Procedure
-
Configure the AGF node.
[edit services agf] user@host# set node-name AGF-NODE1 user@host# set node-id 1
-
Configure the supported public land mobile network (PLMN) and tracking area.
[edit services agf] user@host# set plmn te-plmn mcc 123 user@host# set plmn te-plmn mnc 456 user@host# set tracking-area 0 plmn te-plmn s-nssai 0 sst v2x sd 5 user@host# set tracking-area 0 plmn te-plmn s-nssai 1 sst miot sd4
-
Configure the connection to the Access Management and Mobility Function (AMF). The AMF IP address must be reachable in the configured AMF routing instance. Configure the Stream Control Transmission Protocol (SCTP) local endpoint on the AGF. If you are configuring a multihoming association, specify one local endpoint as a primary endpoint.
[edit services agf] user@host# set services agf amf AMF1 node-id 1 user@host# set services agf amf AMF1 ip-address 10.1.1.7 port 38412 user@host# set services agf amf AMF1 local-endpoint ip-address 10.1.1.1 primary user@host# set services agf amf AMF1 local-endpoint ip-address 10.20.1.1 user@host# set services agf amf AMF1 default-amf user@host# set services agf amf AMF1 routing-instance AMF1-RI-1
-
Configure the user plane information. If you are configuring an user plane function (UPF) on the MX router, you must specify that the UPF is colocated and configure the
colocated-user-plane
information.[edit services agf] user@host# set services agf user-planes UPF_DEFAULT ip-address 10.1.7.1 user@host# set services agf user-planes UPF_DEFAULT data-network-name DEFAULT-DN user@host# set services agf user-planes UPF_COLOCATED 10.255.20.149 user@host# set services agf user-planes UPF_COLOCATED data-network-name COLOCATED-DN user@host# set services agf user-planes UPF_COLOCATED colocated-user-plane ip-endpoint-address 10.255.20.149
-
Configure the routing instance to the AMF.
[edit] user@host# set routing-instances AMF-RI instance-type virtual-router user@host# set routing-instances AMF-RI interface xe-2/0/2.1