stp tc-restriction enable

Function

The stp tc-restriction enable command enables TC/TCN packet suppression.

The undo stp tc-restriction enable command disables TC/TCN packet suppression.

By default, TC/TCN packet suppression is disabled.

Format

stp tc-restriction enable

undo stp tc-restriction enable

Parameters

None

Views

100GE interface view, 10GE interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, Eth-Trunk interface view, GE optical interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mstp write

Usage Guidelines

Usage Scenario

If TC/TCN packets do not need to be flooded, you can run the stp tc-restriction enable command to enable TC/TCN packet suppression. In this way, after receiving TC/TCN packets, an interface neither updates local ARP and MAC entries nor floods the packets to other interfaces on the device.

Example

# Enable TC/TCN packet suppression.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/1
[*HUAWEI-GigabitEthernet0/1/1] stp tc-restriction enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >