Configuring Interfaces
To configure the endpoints for the SMF service and the interfaces to facilitate communication with other network functions, use the following sample configuration:
config
instance instance-id instance_id
endpoint { bgpspeaker | dns-proxy | geo | gtp | gtpprime | li | nodemgr | pfcp | protocol | radius | radius-dns | sbi | service | sgw-service }
replicas replica_id
instancetype Dual
nodes node_id
interface { bfd | bgp | coa-nas | geo-external | geo-internal | gtpu | n4 | n7 | n10 | n11 | n16 | n40 | nrf | s2b | s5 | s5e | s8 | s11 | sxa }
loopbackPort port_number
vip-ip ipv4_address vip-port ipv4_port_number
vip-ip6 ipv6_address vip-ipv6-port ipv6_port_number
end
NOTES:
-
endpoint { bgpspeaker | dns-proxy | geo | gtp | gtpprime | li | nodemgr | pfcp | protocol | radius | radius-dns | sbi | service | sgw-service } : Configure the endpoint based on the desired service.
-
interface { bfd | bgp | coa-nas | geo-external | geo-internal | gtpu | n4 | n7 | n10 | n11 | n16 | n40 | nrf | s2b | s5 | s5e | s8 | s11 | sxa } : Specify the interface for the configured endpoint.
-
vip-ip ipv4_address vip-port ipv4_port_number : Specify the IPv4 address and port of the interface.
ipv4_address must be an IPv4 address in a dotted decimal notation.
-
vip-ip6 ipv6_address vip-ipv6-port ipv6_port_number : Specify the IPv6 address and port of the interface.
ipv6_address must be an IPv6 address in colon-separated hexadecimal notation.
At a given time, the SBI interfaces (N7, N10, N11, and N40) support only the IPv4 or IPv6 address. However, the N3, N4 and GTPC interfaces support either IPv4 or IPv6 address or both.
NoteFor 4G calls with legacy interfaces, peer SGW IPv4, IPv6, or IPv4v6 data address is supported.
ImportantInstance type must be configured as Dual to configure IPv6 for any interface, regardless of the interface supporting IPv4 or IPv6 at a time, or both IPv4 and IPv6 at the same time. This should be configured only at the endpoint level. All the interfaces configured under that endpoint will implicitly be configured as Dual type instance.
VIP IP or VIP IPv6 configured under SBI interfaces always override the VIP IP and VIP IPv6 configured at the endpoint level.
For the N4 and GTPC interfaces, the IP addresses (either IPv4 or IPv6 or both) configured under the interfaces overrides only the same type of IP address configured under an endpoint.
-
Since simultaneous IPv4 and IPv6 addresses aren’t supported for SBI interfaces, the discovery address transport type should be the same as the transport type configured at the endpoint or interface configuration.
-
Configure the ports, IPv4, and IPv6 addresses at both endpoint and interface levels. The VIP IP and port combination must be unique across the interfaces. If the interface level configuration isn’t available, the endpoint level configuration is considered.