Viewing the NFs Connected to PCF

This section describes how to view the NFs that are presently connected to PCF.

  • To view the NFs that are currently connected to PCF, use the following configuration:

    show rest-endpoint peer-status 

    The command displays the mapped port numbers only if you have configured the ports for the interface. After you configure the port and send a request to that port, then on running the show rest-endpoint peer-status command, the PCF displays the mapping details. If the request comes to the pcf-rest-ep external port, which is not associated with any configured interface port, then the NFName is displayed as “UNKNOWN”.

    For information on how to configure the NFs and the corresponding port numbers with PCF, see Configuring the External IP Address section in the Multiple Virtual IP Address chapter.

    The output of this command displays NF name, peer details, pod IP address, peer IP address, and the duration for which the connection is active.

    pcf# show rest-endpoint peer-status
    PEER  NF                                                                   
    PORT  NAME  POD IP        PEER IP     CONNECTION DURATION                     
    ---------------------------------------------------------------------------
    8142  AMF   192.0.2.255  192.0.2.254  1 days 17 hours 44 minutes 38 seconds   
    8147  AMF   192.0.2.255  192.0.2.254  1 days 17 hours 44 minutes 13 seconds   
    6082  CHF   192.0.2.255  192.0.2.254  1 days 17 hours 44 minutes 22 seconds   
    8042  SMF   192.0.2.255  192.0.2.252  1 days 17 hours 44 minutes 17 seconds   
    8043  SMF   192.0.2.255  192.0.2.252  1 days 17 hours 44 minutes 38 seconds   
    8044  SMF   192.0.2.255  192.0.2.252  1 days 17 hours 44 minutes 17 seconds   
    8045  SMF   192.0.2.255  192.0.2.252  1 days 17 hours 44 minutes 17 seconds   
    8046  SMF   192.0.2.255  192.0.2.252  1 days 17 hours 44 minutes 17 seconds   
    8047  SMF   192.0.2.255  192.0.2.252  1 days 17 hours 44 minutes 17 seconds