Monitoring the Subscriber Session
To monitor the subscriber in the SMF, use the following CLI command:
monitor subscriber [ capture-duration duration | dump filename file_name | gr-instance gr_instance_id | imei imei_id | imsi imsi_value | internal-messages [ yes ] | list file_list | nf-service [ sgw | smf ] | supi supi_id | transaction-logs [ yes | no ] ]
NOTES:
-
capture-duration duration : Specify the duration in seconds during which a monitor subscriber is enabled. The default value is 300 seconds (5 minutes). This is an optional parameter.
-
dump filename file_name : Specify the file name to view the sorted file on the SMF Ops Center.
-
gr-instance gr_instance_id : Specify the GR instance ID. The instance ID 1 denotes the local instance ID.
-
imei imei_id : Specify the subscriber IMEI. For example: 123456789012345, *
-
imsi imsi_value : Specify the subscriber IMSI. For example: 123456789, *
-
internal-messages [ yes | no ] : Enable or disable viewing the internal messages. By default, yes option is disabled. This is an optional parameter.
-
nf-service [ sgw | smf ] : Enable the specified NF service. By default, nf-service is set to none. This is an optional parameter.
ImportantThe nf-service keyword replaces the namespace keyword in Release 2021.02 and beyond.
-
supi supi_id : Specify the subscriber identifier. For example: imsi-123456789, imsi-123*
-
transaction-logs [ yes | no ] : Enable transaction logs when set to yes . By default, this parameter is disabled. This is an optional parameter.
To view the transaction history logs, use the dump transactionhistory command.
NoteThe most recent transaction logs are stored in a circular queue of size 1024 transaction logs.