settings

This command configures debug recording settings.

Syntax

(config-troubleshoot)# logging settings
(logging-settings)# 

Command

Description

dbg-rec-blob-account-key

Defines the SAS token key of the Azure Blob storage container for storing debug recording files.

dbg-rec-blob-container

Defines the name of the Azure Blob storage container for storing debug recording files.

dbg-rec-blob-storage-url

Defines the URL of the Azure Blob storage account for storing debug recording files.

dbg-rec-dest-ip

Defines the destination IP address for debug recording.

dbg-rec-dest-port

Defines the destination UDP port for debug recording.

dbg-recint-name

Defines the local interface name.

network-source

Defines the alias name representing a VRF or an IP address of the source network interface that is used to bind to the Debug Recording application (the interface that the listening socket opens).

dbg-rec-status {start|stop|timer-restart}

Displays current debug recording status (Started or Stopped), starts or stops debug recording, and resets the debug recording duration.

dbg-rec-timeout

Defines the maximum duration (in minutes) of the debug recording process, after which it automatically stops.

dbg-rec-local-storage {disable|enable}

Enables storage of debug recording files.

dbg-rec-local-storage-file-size

Defines the maximum size (in megabytes) of the debug recording file (compressed) for storage.

dbg-rec-local-storage-files-count

Defines the maximum number of debug recording files that can be stored locally.

dbg-rec-local-storage-filename-prefix

Defines a prefix for the debug recording file name for file storage.

dbg-rec-local-storage-location {azure-blob}

Defines the type of storage (Azure Blob Storage) for debug recording files.

dbg-rec-local-storage-mode {cyclic|non-cyclic}

Defines the file creation method when the number of maximum files is reached (as configured by the 'Number of Files' parameter) for local storage.

dbg-rec-local-storage-recording {off|on}

Starts debug recording file creation and storage.

dbg-rec-local-storage-rotation-period

Defines the periodic duration (in minutes) of how often a debug recording file is created from the Current file (even if empty) for file storage.

Command Mode

Privileged User

Example

This example configures the debug recoding server at 10.13.28.10 and starts the recording:

(config-troubleshoot)# logging settings
(logging-settings)# dbg-rec-dest-ip 10.13.28.10
(logging-settings)# dbg-rec-status start
(logging-settings)# network-source debug1