The following output displays a configuration example used in logging and accounting for video.
*A:SR-7/Dut-C>config>log# info
----------------------------------------------
file-id 1
location cf3:
exit
accounting-policy 1
shutdown
record video
collection-interval 5
to file 1
exit
...
----------------------------------------------
*A:SR-7/Dut-C>config>log#
Use the following CLI to enable logging and accounting to a service to collect stats for that particular service.
Example:
*A:SR-7/Dut-C>config>service>ies# video-interface "vi" accounting-policy 1
*A:SR-7/Dut-C>config>service>ies# info
video-interface "vi" create
accounting-policy "1"
exit
Starting stats collection can be enabled by executing a no shutdown command on the accounting policy. This starts the recording of stats and the stats are written in an act-collect directory and a shutdown command on the accounting policy moves the recorded file to act directory.