< Home

stp snooping enable

Function

The stp snooping enable command enables STP snooping.

The undo stp snooping enable command disables STP snooping.

By default, STP snooping is disabled on interfaces.

Format

stp snooping enable

undo stp snooping enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After you run the l2protocol-tunnel command to enable transparent transmission of Layer 2 protocol packets on untagged interfaces or the l2protocol-tunnel vlan command to enable transparent transmission of Layer 2 protocol packets on tagged interfaces, the untagged or tagged interfaces directly forward Layer 2 protocol packets sent from user networks over the ISP network but not send them to the CPU for processing. When a device enabled with Layer 2 protocol tunneling receives TC packets, the device clears the MAC entries and ARP entries and updates the forwarding table after the stp snooping enable command is executed.

Example

# Enable STP snooping.

<HUAWEI> system-view
[HUAWEI] stp snooping enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic