sample-recording

Configures the template to record the sample history.

Syntax

sample-recording [ disable | enable ]
no sample-recording

Command Default

The command is disabled by default.

Parameters

disable
Removes the setting for the sample recording for the selected LSP or autobw-template.
enable
Sets the sample recording for ththe selected LSP or autobw-template.

Modes

MPLS sub-configuration modes.

config-router-mpls-autobw-template-template1

config-router-mpls-lsp-lsp1

Usage Guidelines

The no function of the command disables the option.

MPLS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".

Examples

The following example shows a configuration to record the sample history for template1.

device>configure
device(config)# router mpls
device(config-router-mpls)# autobw
device(config-router-mpls-autobw)# template template1
device(config-router-mpls-autobw-template-template1)# sample-recording enable

The following example shows a configuration to stop recording sample history for LSP1.

device>configure
device(config)# router mpls
device(config-router-mpls)# lsp lsp1
device(config-router-mpls-lsp-lsp1)# autobw
device(config-router-mpls-lsp-lsp1-autobw)# sample-recording disable