stp tc-restriction enable(VSI-LDP-PW view)

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

VSI-LDP-PW 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] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi 1
[*HUAWEI-vsi-1] pwsignal ldp
[*HUAWEI-vsi-1-ldp] vsi-id 33
[*HUAWEI-vsi-1-ldp] peer 1.1.1.1
[*HUAWEI-vsi-1-ldp] peer 1.1.1.1 pw pw1
[*HUAWEI-vsi-1-ldp-pw-pw1] quit
[*HUAWEI-vsi-1-ldp] pw pw1
[*HUAWEI-vsi-1-ldp-pw-pw1] stp tc-restriction enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >