Viewing the Discovered Endpoint
This section describes how to view the discovered endpoint details such as the NF type, IP address, and the port number of the endpoint.
Based on the endpoint that you want to view, use the following configuration:
-
To view the discovered endpoints associated to the CHF service, use the following configuration:
show rest-endpoint discover-cache chf
The output of this command displays the NF type, NF instance ID, NF status, IPv4 address, port number, and the expiry date of the CHF’s discovered profiles.
The following is a sample output of the show rest-endpoint discover-cache chf command.
pcf# show rest-endpoint discover-cache chf NF Type NF INSTANCE ID NF STATUS IPV4 ADDRESS PORT EXPIRY CHF 6DDF833D6-b0c9-5503-9800=e806cff43941 Registered 192.0.2.18 4001.0 0.0 CHF 6DDF833D6-b0c9-5503-9800=e806cff43943 Registered 192.0.2.19 4003.0 0.0 CHF 6DDF833D6-b0c9-5503-9800=e806cff43942 Registered 192.0.2.20 4002.0 0.0
NoteThe NF Status indicates the discovered NFs registration status with NRF.
-
To view the discovered endpoints associated to the UDR service, use the following configuration:
show rest-endpoint discover-cache udr
The output of this command displays the NF type, NF instance ID, NF status, IPv4 address, port number, and the expiry date of the UDR’s discovered profiles.
The following is a sample output of the show rest-endpoint discover-cache udr command.
pcf# show rest-endpoint discover-cache udr NF Type NF INSTANCE ID NF STATUS IPV4 ADDRESS PORT EXPIRY UDR 6DDF833D6-b0c9-5503-9800=e806cff43941 Registered 192.0.2.21 2001.0 0.0 UDR 6DDF833D6-b0c9-5503-9800=e806cff43943 Registered 192.0.2.22 2003.0 0.0 UDR 6DDF833D6-b0c9-5503-9800=e806cff43942 Registered 192.0.2.12 2002.0 0.0
-
To view the consolidated list of endpoints that PCF has discovered, use the following configuration:
show rest-endpoint discover-cache
The output of this command displays the NF type, NF instance ID, NF status, IPv4 address, port number, and the expiry date of both, CHF and UDR discovered profiles.
The following is a sample output of the show rest-endpoint discover-cache command.
pcf# show rest-endpoint discover-cache chf NF Type NF INSTANCE ID NF STATUS IPV4 ADDRESS PORT EXPIRY CHF 6DDF833D6-b0c9-5503-9800=e806cff43941 Registered 192.0.2.18 4001.0 0.0 CHF 6DDF833D6-b0c9-5503-9800=e806cff43943 Registered 192.0.2.19 4003.0 0.0 CHF 6DDF833D6-b0c9-5503-9800=e806cff43942 Registered 192.0.2.20 4002.0 0.0
pcf# show rest-endpoint discover-cache udr NF Type NF INSTANCE ID NF STATUS IPV4 ADDRESS PORT EXPIRY UDR 6DDF833D6-b0c9-5503-9800=e806cff43941 Registered 192.0.2.21 2001.0 0.0 UDR 6DDF833D6-b0c9-5503-9800=e806cff43943 Registered 192.0.2.22 2003.0 0.0 UDR 6DDF833D6-b0c9-5503-9800=e806cff43942 Registered 192.0.2.12 2002.0 0.0