4-34
z
After specifying the current device as a secondary root bridge, you cannot change the priority of
the device.
Related commands:
stp priority
,
stp root primary
.
Examples
# Specify the current device as a secondary root bridge of MSTI 0.
<Sysname> system-view
[Sysname] stp instance 0 root secondary
stp root-protection
Syntax
stp root-protection
undo stp
root-protection
View
Ethernet interface view, port group view, Layer 2 aggregate interface view
Default Level
2: System level
Parameters
None
Description
Use the
stp root-protection
command to enable the root guard function on the port(s).
Use the
undo stp root-protection
command to restore the default.
By default, the root guard function is disabled.
Note that:
z
Configured in Ethernet interface view, the setting takes effect on the current interface only;
configured in port group view, the setting takes effect on all ports in the port group.
z
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate
interface. Configured on the member port in an aggregation group, the setting can take effect only
after the port leaves the aggregation group.
Examples
# Enable the root guard function for GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp root-protection
stp tc-protection
Syntax
stp tc-protection enable
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...