Configuring stp encoding mode – ATL Telecom R1-SW Ethernet Switch User Manual

Page 274

Advertising
background image

R1-SW24L2B User’s Manual

13-16

Configuring STP Encoding Mode

While STP calculates path cost using 16 bits (1~65,535), RSTP calculates path cost using 32 bits
(1~200,000,000). Therefore the path cost is not compatible between STP and RSTP. You can not
configure the STP encoding mode for individual VLANs and the change affects to all spanning
trees.

By default, RSTP is enabled on the Corecess R1-SW24L2B and the default STP encoding mode is
32 bits. To configure the type of STP encoding mode, perform this task in Privileged mode:

Table 13-8 Configuring STP encoding mode

Command

Task

configure terminal

1.

Enter global configuration mode.

stp pathcost-encoding

stp8021d1998

2. Configure the type of STP encoding mode.

y stp8021d1998

: Calculates STP cost using 16 bits.

end

3. Return to privileged mode.

show stp vlan id

<vlan-id>

4. Verify the STP configuration change.

y <vlan-id>

: VLAN ID (1 ~ 4094)


The following example shows how to configure the type of STP encoding mode to 16 bits:

(config)# stp pathcost-encoding stp8021d1998

(config)# end

# show stp vlan id 1

VLAN ID:

1

Protocol Operation:

enabled

Root Bridge:

yes

STP version: stpCompatible(0)

Pathcost Encoding:

16bit

BridgeID: 0x8000-00905ACC0201

.

.

#

Advertising