stp log enable tc

Use stp log enable tc to enable the device to log events of detecting or receiving TC BPDUs.

Use undo stp log enable tc to restore the default.

Syntax

stp log enable tc

undo stp log enable tc

Default

In PVST mode, the device does not generate logs when it detects or receives TC BPDUs.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

This command applies only to PVST mode.

Examples

# In PVST mode, enable the device to log events of detecting or receiving TC BPDUs.

<Sysname> system-view
[Sysname] stp log enable tc