logging filter enable | disable

Syntax

logging filter <NAME> enable | disable

no logging filter <NAME> enable | disable

Description

Enables a log filter. In case of global filter, only one filter can be enabled at a time. An enabled filter automatically disables a previously enabled filter.

The no form of this command will remove the enable | disable filter.

Command context

Config

Parameters

<NAME>

Specifies the name that identifies the filter.

Examples

switch# logging filter <NAME> enable | disable
logging filter cppm_filter enable