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-profiles 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-profiles chf command.
pcf# show rest-endpoint discover-profiles chf NF Type NF INSTANCE ID NF STATUS IPV4 ADDRESS PORT EXPIRY CHF bdb743fc-80fd-49e4-8563-ab54f24ba019 REGISTERED 192.168.103.150 5082 175 [] CHF 95430d8c-68d4-48a5-9e6a-9915f94eee52 REGISTERED 192.168.103.150 5083 175 [] CHF a3a454a2-0ead-4d0e-bc5b-b34dd8d7bac9 REGISTERED 192.168.103.150 5084 175 []
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-profiles 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-profiles udr command.
pcf# show rest-endpoint discover-profiles udr NF Type NF INSTANCE ID NF STATUS IPV4 ADDRESS PORT EXPIRY UDR 66bf4f8b-02ea-48af-84ed-4494764f9921 REGISTERED 192.168.103.50 5183 0 - UDR cff06a6d-b89a-4895-bbd7-edad8b4813f7 REGISTERED 192.168.103.50 5184 0 - UDR bf3941b9-8fd8-4c49-a4c2-5ad0b038ed72 REGISTERED 192.168.103.50 5182 0 -
-
To view the consolidated list of endpoints that PCF has discovered, use the following configuration:
show rest-endpoint discover-profiles
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-profiles command.
pcf# show rest-endpoint discover-profiles NF Type NF INSTANCE ID NF STATUS IPV4 ADDRESS PORT EXPIRY UDR 66bf4f8b-02ea-48af-84ed-4494764f9921 REGISTERED 192.168.103.50 5183 0 - UDR cff06a6d-b89a-4895-bbd7-edad8b4813f7 REGISTERED 192.168.103.50 5184 0 - UDR bf3941b9-8fd8-4c49-a4c2-5ad0b038ed72 REGISTERED 192.168.103.50 5182 0 -