27.03.2014 Views

Intel® NetStructure™ 6000 Switch

Intel® NetStructure™ 6000 Switch

Intel® NetStructure™ 6000 Switch

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

C H A P T E R 5<br />

Managing the <strong>Switch</strong><br />

The Spanning Tree protocol:<br />

• Assigns a unique address to each switch (usually the MAC<br />

address of the Control Processor).<br />

• Assigns a priority value to each switch.<br />

• Selects a root switch. This is the starting point for the Spanning<br />

Tree.<br />

• Assigns a unique address to each port on each switch.<br />

• Calculates a path cost for each port on each switch.<br />

• Assigns the root port of the switch based on path cost.<br />

To configure the Spanning Tree protocol<br />

1 The Root <strong>Switch</strong><br />

The bridge with the lowest identifier (usually the MAC address) is the<br />

root switch. The MAC address is assigned when the IP address is<br />

assigned for the switch.<br />

2 Assign the <strong>Switch</strong>’s Priority.<br />

Type the privileged set spantree priority value command. The range<br />

is from 0 to 65,335. The default is 32,768.<br />

<strong>6000</strong> <strong>Switch</strong>>set spantree priority 1<br />

3 Assign the Root Port.<br />

Type the set spantree portpri port_number value command to<br />

assign a priority value to a port. The range is from 1 to 255. The<br />

default is 128.<br />

After the root switch is selected, the other switches determine which<br />

port is the most cost-effective path to the root switch. This port<br />

becomes the root port.<br />

The command line below sets the priority of port 3 to 1.<br />

<strong>6000</strong> <strong>Switch</strong>>set spantree portpri 3 1<br />

4 Set the Port Cost.<br />

Finally, the Spanning Tree protocol detects the switch and switch<br />

ports that have access to the root. The bridge then enables those ports<br />

to be used for forwarding packets and disables others ports to prevent<br />

loops. These disabled ports are kept in backup mode in case a primary<br />

port or link fails.<br />

168

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!