< Home

stp agreement-legacy

Function

The stp agreement-legacy command configures an interface to discard non-standard STP/RSTP packets sent by the HanDreamnet switch.

The undo stp agreement-legacy command cancels the configuration.

By default, an interface does not discard non-standard STP/RSTP packets sent by the HanDreamnet switch.

Format

stp agreement-legacy

undo stp agreement-legacy

Parameters

None

Views

Ethernet interface view, GE interface view, XGE interface view, MultiGE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, port group view, 25GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If Huawei datacom device and HanDreamnet switch are deployed on the VBST network, non-standard STP/RSTP packets sent by the HanDreamnet switch may cause temporary loops. You can run the stp agreement-legacy command to configure the interface to discard non-standard STP/RSTP packets to prevent temporary loops.

Example

# Configure the GE0/0/1 to discard non-standard STP/RSTP packets sent by the HanDreamnet switch.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] stp agreement-legacy
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >