To enable rapid spanning tree, Port path cost – Znyx Networks bh5700 User Manual

Page 51

Advertising
background image

To Enable Rapid Spanning Tree:

Create a VLAN containing the ports that will be a part of the Linux bridge running Rapid
Spanning Tree. This example will use ports 0-3 (untagged):

zconfig zhp0: vlan1=zre0..3

zconfig zre0..3=untag1

Create a bridge device from the zhp device,

zl2d start zhp0

A Bridge device named bzhp0 should now exist consisting of ports zre0 through zre3 with
Spanning Tree enabled. To view the bridge device, use the brctl command,

brctl show

brctl showbr bzhp0

Port Path Cost

Each port has an associated cost that contributes to the total cost of the path to the Root Bridge
when the port is the root port. The smaller the cost, the better the path. The Ethernet Switch Blade
uses the following IEEE 802.1D recommendations based on the connection speed of your port:

Port Path Cost

Link Speed

Recommended Value

Recommended Range

10 Mb/s

100

50-600

100 Mb/s

19

10-60

1 Gb/s

4

3-10

10 Gb/s

TBD

TBD

To change the port path, use the brctl setpathcost option. For example, to set the port
priority to a value consistent with a gigabit interface,

brctl setpathcost bzhp0 zre1 4

Ethernet Switch Blade User's Guide

release 3.2.2j

page 51

Advertising