Configuring the Monitor Subscriber
Following are the various CLI options available for the monitor subscriber.
Option: 1
[amf-ops-center] amf# monitor subscriber supi imsi-123456789012345 capture-duration 200 internal-messages yes
With the preceding CLI option, both internal and external messages are logged for duration of 200 seconds. To explicitly record N1N2 messages, you must configure the 'internal-messages' option with the value "yes."
Option: 2
monitor subscriber supi imsi-123456789012345
With the preceding CLI option, only N26 and rest API messages are logged for a duration of 300 secs (default capture duration).
Option: 3
[amf-ops-center] amf# monitor subscriber supi imsi-123456789012345 capture-duration 50000 transaction-logs yes
logging transaction message enable.
With the preceding CLI option, transaction level messages are logged which are used for internal debugging.
Option: 4
[amf] amf# monitor subscriber supi imsi-123456789012345 capture-duration 3000 internal-messages yes file-name amf
With the preceding CLI option, MonSub file is generated with provided file-name in CLI.