beautypg.com

Appendix e cli configuration examples, Bridging configuration example – Intel IXM5414E User Manual

Page 259

background image

249

Appendix E CLI Configuration Examples

This appendix provides examples of using the CLI to configure the Intel® Blade Server Ethernet
Switch Module IXM5414E for some key functions.

Bridging configuration example

This section provides sample CLI commands showing how to configure the Intel® Blade Server
Ethernet Switch Module IXM5414E for basic bridging support. Bridging support, conforming to the
IEEE 802.1D compatibility mode specified in IEEE 802.1s, is enabled for the switch and for all
ports by default. All ports are enabled by default, and defaults are also provided for timers and
protocol parameters.

Although the switch will operate correctly as a bridge implementing the base Spanning Tree
Protocol (STP) as configured at the factory, the configuration script in this section will show you
how to override the defaults. Before you do so, make sure that you fully understand the protocol and
that the values you provide are consistent with each other.

Set a new bridge priority level. Setting the priority level affects the likelihood of the bridge
being elected as the root of the spanning tree (the lower the number the greater the probability).
It is the only way to change the bridge identifier, which consists of the bridge priority
concatenated with the switch’s base MAC address. The default value is 32768. If all bridges
retain their default priority values, the bridge with the lowest MAC address will become the root
bridge.

config spanningtree bridge priority 7680

Set new port priority levels. Setting the priority level affects the likelihood of the port being
elected as the root port of the spanning tree (the lower the number the greater the probability). It
is the only way to change the port identifier, which consists of the port priority concatenated
with the port’s interface number. The default value is 128.

config spanningtree port priority ext.1 16

config spanningtree port priority ext.2 32

Set new timer values. The timer values will only take effect if the bridge becomes the root
bridge, in which case they will take effect for all bridges in the network.

config spanningtree bridge maxage 30

config spanningtree bridge forwarddelay 16

config spanningtree bridge hellotime 14

Assign new path cost values to the ports whose priority values were changed. The lower the path
cost the more likely that a port will be elected as the root port.

config spanningtree port pathcost ext.1 8

config spanningtree port pathcost ext.2 16

In addition to the parameters that affect the Spanning Tree Protocol, other parameters and
protocols are defined in IEEE 802.1D which you may also change. For example, IEEE 802.1p
has been included in the latest version of 802.1D. Use the following commands to change the