Configuring STP/RSTP
13-27
Configuring Spanning Tree Protocol Type
The Corecess R1-SW24L2B supports both 802.1D STP and 802.1W RSTP. By default, spanning
tree protocol that is operating on a VLAN is 802.1W TSTP. For compatible of other device or
other reasons, you can set STP to operate on a particular VLAN.
To set spanning tree protocol to STP on a particular VLAN, use the following commands.
Table 13-14 Configuring Spanning Tree Protocol Type
Command
Task
configure terminal
1.
Enter Global configuration mode.
stp protocol-version
stp vlan id
<vlan-id>
2. Set spanning tree protocol to STP on the specified VLAN.
y
<vlan-id>
VLAN ID (1 ~ 4094)
end
3. Return to Privileged mode.
show stp vlan id
<vlan-id>
4. Verify the configuration result.
The following example shows how to set spanning tree protocol to STP on the VLAN whose ID
is 2:
(config)#
stp protocol-version stp vlan id 2
(config)#
end
#
show stp vlan id 2
VLAN ID:
2
Protocol Operation:
enabled
Root Bridge:
yes
STP version:
stpCompatible(0)
Pathcost Encoding:
32bit
BridgeID:
0x8000-0001AB0DEF11
.
.
.
#
Summary of Contents for R1-SW24L2B
Page 1: ...Edition 00 Distribution 2006 06 Corecess Layer2 Ethernet Switch R1 SW24L2B User s Manual...
Page 20: ...R1 SW24L2B User s Manual XX...
Page 27: ...Overview 1 7 E PON ONU...
Page 28: ...R1 SW24L2B User s Manual 1 8...
Page 42: ...R1 SW24L2B User s Manual 2 14...
Page 68: ...R1 SW24L2B User s Manual 4 16...
Page 112: ...R1 SW24L2B User s Manual 5 44...
Page 124: ...R1 SW24L2B User s Manual 6 12...
Page 134: ...R1 SW24L2B User s Manual 7 10...
Page 168: ...R1 SW24L2B User s Manual 8 34...
Page 207: ...Configuring QoS 9 39 8021p enable 8021p user priority 6 vlan 1 port fastethernet 2 1...
Page 210: ...R1 SW24L2B User s Manual 9 42...
Page 234: ...R1 SW24L2B User s Manual 10 24...
Page 258: ...R1 SW24L2B User s Manual 12 10...
Page 288: ...R1 SW24L2B User s Manual 13 30...
Page 300: ...R1 SW24L2B User s Manual B 8...