Monitoring the Interface Protocol
To monitor the interface protocol on the SMF, use the following CLI command:
monitor protocol { interface interface_name [ capture-duration duration | gr-instancegr_instance | pcacp yes | | ] | list [ | ] }
NOTES:
-
interface interface_name —Specify the interface name on which PCAP is captured. This CLI allows the configuration of multiple interface names in a single CLI command.
-
capture-duration duration —Specify the duration in seconds during which pcap is captured. The default is 300 seconds (5 minutes).
-
The configured interface names can be retrieved using the show endpoint CLI command.
-
gr-instance gr_instance_id —Specify the GR instance ID. The instance ID 1 denotes the local instance ID.
-
pcap yes —Configure this option to enable PCAP file generation. By default, this option is disabled.
Important | The monitor protocol command in Exec mode is restricted based on pod's CPU utilization configured through monitor protocol cpu-limit threshold_percentage command in the Global Configuration mode. |
The monitor protocol CLI can be run simultaneously on multiple terminals. Also, the interface interface_name CLI allows the configuration of multiple endpoint names in a single CLI command.
For example:
monitor protocol interface sbi,N4:209.165.200.241:8805,gtpc capture-duration 1000