152
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp tc-restriction
stp tc-snooping
Use stp tc-snooping to enable TC Snooping.
Use undo stp tc-snooping to disable TC Snooping.
Syntax
stp tc-snooping
undo stp tc-snooping
Default
TC Snooping is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
TC Snooping and the spanning tree feature are mutually exclusive. You must globally disable the
spanning tree feature before enabling TC Snooping.
Examples
# Globally disable the spanning tree feature and enable TC Snooping.
<Sysname> system-view
[Sysname] undo stp global enable
[Sysname] stp tc-snooping
Related commands
stp global enable
stp timer forward-delay
Use stp timer forward-delay to set the forward delay timer.
Use undo stp timer forward-delay to restore the default.
Syntax
stp [ vlan vlan-id-list ] timer forward-delay time
undo stp [ vlan vlan-id-list ] timer forward-delay
Default
The forward delay timer is 1500 centiseconds.
Views
System view
Predefined user roles
network-admin