Brocade Converged Enhanced Ethernet Administrator's Guide v6.1.2_cee (53-1001258-01, June 2009)

Table Of Contents
56 Converged Enhanced Ethernet Administrator’s Guide
53-1001258-01
STP, RSTP, and MSTP configuration procedures
4
Configuring the path cost
From the CEE interface, use this command to configure the path cost for spanning-tree
calculations. The lower the path cost means there is a greater chance of the interface becoming
the root.
To configure the path cost for spanning-tree calculations on the CEE interface, perform the
following steps:
Enabling a port (interface) as an edge port
From the CEE interface, use this command to enable the port as an edge port to allow the port to
quickly transition to the forwarding state. To configure a port as an edge port, follow these
guidelines:
A port can become an edge port if no BPDU is received.
When an edge port receives a BPDU, it becomes a normal spanning-tree port and is no longer
an edge port.
Because ports that are directly connected to end stations cannot create bridging loops in the
network, edge ports transition directly to the forwarding state and skip the listening and
learning states.
This command is only for RSTP and MSTP. Use the spanning-tree portfast command for STP
(see “Enabling port fast on page 60).
Step Task Command
1. Enter global configuration mode. switch>#config t
Enter configuration commands, one
per line. End with CNTL/Z.
switch(config)#
2. Specify the CEE interface (interface 0/1 is used in
this example).
switch(config)#interface
tengigabitethernet 0/1
switch(conf-if-te-0/1)#
3. Enable the CEE interface. switch(conf-if-te-0/1)#no shutdown
switch(conf-if-te-0/1)#
4. Configure the path cost for spanning-tree
calculations on the CEE interface. The range is 1
through 200000000. The default path cost is 2000.
switch(conf-if-te-0/1)#spanning-tree
cost cost
5. Display the spanning-tree configuration. switch(conf-stp)#do show
spanning-tree