This section describes how to verify the IPAM integration in the SMF feature configuration.
Use the show ipam pool command to view the summary of current threshold of each pool.
The following is a sample output of the show ipam pool command.
show ipam pool
================================================================
PoolName Ipv4Threshold Ipv6AddrThreshold Ipv6PrefixThreshold
================================================================
p1 80% 80% 0%
p2 75% 0% 70%
================================================================
Use the show ipam pool
pool_name command to view more details of a specific pool name.
The following is a sample output of the show ipam pool
pool_name command.
show ipam pool p1
--------------------------------------------------------
Ipv4Addr [Total/Used/Threshold] = 7680 / 7680 / 80%
Ipv6Addr [Total/Used/Threshold] = 512 / 512 / 80%
Ipv6Prefix [Total/Used/Threshold] = 0 / 0 / 0%
--------------------------------------------------------
Use the show ipam
pool_name
ipv4-addr command to view the IPv4-address ranges for the given pool-name. Based on the configuration, the address ranges are dynamically
split. You can also view whether the address range is free or allocated to a Data Plane (User Plane) using this command.
The following is a sample output of the show ipam
pool_name
ipv4-addr command.
show ipam pool p1 ipv4-addr
===========================================
StartAddress EndAddress AllocContext
===========================================
1.1.1.0 1.1.3.255 Upf-100
1.1.4.0 1.1.7.255 Upf-200
1.1.8.0 1.1.10.255 Free
2.2.1.0 2.2.3.255 Upf-100
2.2.4.0 2.2.7.255 Upf-300
2.2.8.0 2.2.10.255 Free
3.3.1.0 3.3.3.255 Free
3.3.4.0 3.3.7.255 Free
3.3.8.0 3.3.10.255 Free
===========================================
Use the show ipam pool
pool_name
ipv6-perfix command to view the prefix-ranges for the given pool-name. Based on the configuration, the address ranges are dynamically
split. You can also view whether the address range is free or allocated to a Data Plane (User Plane) using this command.
The following is a sample output of the show ipam pool
pool_name
ipv6-perfix command.
show ipam pool p2 ipv6-prefix
==============================================
Prefix AllocContext
==============================================
aaaa:bbbb:ccc0::/64 Upf-100
aaaa:bbbb:ccc1::/64 Free
aaaa:bbbb:dd00::/64 Upf-200
==============================================
Use the show ipam dp command to view the summary of the current threshold for each Data Plane (User Plane).
The following is a sample output of the show ipam dp command.
show ipam dp
================================================================
DpName Ipv4Threshold Ipv6AddrThreshold Ipv6PrefixThreshold
================================================================
UPF-100 20% 40% 70%
UPF-200 40% 20% 20%
================================================================
Use the show ipam dp
dataplane_name command to view more details of a specific Data Plane (User Plane).
The following is a sample output of the show ipam dp
dataplane_name command.
show ipam dp UPF-100
--------------------------------------------------------
Ipv4Addr [Total/Used/Threshold] = 512 / 100 / 20%
Ipv6Addr [Total/Used/Threshold] = 512 / 200 / 40%
Ipv6Prefix [Total/Used/Threshold] = 512 / 300 / 70%
--------------------------------------------------------
Use the show ipam dp
dataplane_name
ipv4-addr command to view the IPv4-address ranges assigned to a data plane.
The following is a sample output of the show ipam dp
dataplane_name
ipv4-addr command.
show ipam dp UPF-100 ipv4-addr
======================================================
StartAddress EndAddress AllocContext Route
======================================================
1.1.1.1 1.1.1.255 Pool-1 1.1.1.0/24
2.2.1.1 2.2.1.255 Pool-2 2.2.1.0/24
======================================================
Use the show ipam dp
dataplane_name
ipv6-addr command to view the IPv6-address ranges assigned to a data plane.
The following is a sample output of the show ipam dp
dataplane_name
ipv6-addr command.
show ipam dp UPF-100 ipv6-addr
========================================================
StartAddress EndAddress AllocContext Route
========================================================
100::1 100::100 Pool-1 100::/120
00::1 200::100 Pool-2 200::/120
========================================================
Use the show ipam dp
dataplane_name
ipv6-prefix command to view the IPv6-address ranges assigned to a data plane.
The following is a sample output of the show ipam dp
dataplane_name
ipv6-prefix command.
show ipam dp UPF-100 ipv6-prefix
============================================================
Prefix AllocContext Route
============================================================
aaaa:bbbb:cccc::/64 Pool-1 aaaa:bbbb:cccc::/48
aaaa:bbbb:dd00::/64 Pool-1 aaaa:bbbb:dd00::/40
============================================================