Configuring the Monitor Subscriber Logs
To configure this feature, use the following configuration:
config
monitor subscriber [ supi supi_id | imsi imsi_value | imei imei_id | capture-duration capture_duration | dump dump_name | gr-instance gr_instance_id | internal-messages internal_messages | list list_details | namespace namespace_details | nf-service nf_service_details | transaction-logs transaction_logs ]
end
NOTES:
-
supi supi_id —Specify the subscriber identifier. For example, imsi-123456789, imsi-123*
-
imsi imsi_value —Specify the subscriber IMSI. For example: 123456789, *
-
imei imei_id —Specify the subscriber IMEI. For example: 123456789012345, *
-
capture-duration capture_duration —Specify the duration in seconds during which the monitor subscriber activity gets captured. The default is 300 seconds (five minutes). It's an optional parameter.
-
dump dump_filename —Specify the name of the dump filename. Example: monitor subscriber-dump [filename]
-
gr-instance gr_instance_id —Specify the GR instance ID. It's an optional parameter. It's a monitor subscriber for the given gr-instance only. The instance ID 1 denotes the local instance ID.
-
internal-messages internal_messages —When set to yes, it enables internal messaging. By default, a disabled value It's an optional parameter.
-
list list_details —Specify the details of the list. It includes the monitor subscriber list files.
-
namespace namespace_details —Enable the specified namespace. By default, the namespace is set to none. It's an optional parameter.
NoteA deprecated keyword in the release 2021.02.0 and replaced with nf-service as the keyword
-
nf-service nf_service_details —Enable the specified NF service. By default, nf-service is set to none. It's an optional parameter. The possible values: sgw, smf, pgw
NoteThe nf-service keyword replaces the namespace keyword in the release 2021.02 and onwards.
-
transaction-logs transaction_logs —Enable transaction logs when set to yes. By default, a disabled value. It's an optional parameter.
NoteTo view the transaction history logs, use the dump transaction history command. The latest transaction logs get stored in a circular queue of size 1024 transaction logs.
-
For more information, see Troubleshooting Information > Logs.
Important | The MonSub needs subscriber SUPI or IMSI in monitor subscriber command. The following are important actions:
|