Setting the bridge id (priority) – ATL Telecom R1-SW Ethernet Switch User Manual

Page 270

Advertising
background image

R1-SW24L2B User’s Manual

13-12

To disable STP on a specific port, enter the no stp port command in Global configuration
mode. The following example disables STP on the Fast Ethernet port 2/1:

(config)# no stp port fastethernet 2/1

(config)#

Setting the Bridge ID (Priority)

You can configure the bridge ID for individual VLANs. Bridge ID is used to identify the root
bridge in a spanning tree. The default bridge priority for all VLANs on the Corecess R1-
SW24L2B is ‘32768’. The bridge with the lowest value has the highest priority and is the root. To
make the switch the root bridge, set the bridge ID to the lowest value. If you change the bridge
ID, the spanning tree for the VLAN is reconfigured.

To change the bridge ID of a VLAN, perform this task in Privileged mode:

Table 13-6 Configuring the bridge ID for a VLAN

Command

Task

configure terminal

1. Enter global configuration mode.

stp bridge-priority

<priority> vlan id

<vlan-id>

2. Set the bridge ID for a specific VLAN.

y

<priority>

: Bridge ID (0 ~ 65535). A higher numerical value means

a lower priority; thus, the highest priority is 0.

y

<vlan-id>

: VLAN ID (1 ~ 4094)

end

3. Return 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 set bridge ID for a VLAN to 3000 (hexa-decimal : 0x0BB8):

# configure terminal

(config)# stp bridge-priority 3000 vlan id 2

(config)# end

# show stp vlan id 2

VLAN ID:

2

Protocol Operation:

enabled

Root Bridge:

yes

STP version:

rstp(2)

Pathcost Encoding:

32bit

BridgeID:

0x0BB8-00905ACC0202

Time since topology change:

281(s)

Advertising