HP StorageWorks 8/80 Brocade Converged Enhanced Ethernet Administrator's Guide - Page 70

Configuring STP on Brocade FCoE hardware, Enter Global Configuration mode.

Page 70 highlights

5 STP overview • Disabled-The interface is not participating in spanning tree because of a shutdown port, no link on the port, or no spanning tree instance running on the port. A port participating in spanning tree moves through these states: • From initialization to blocking. • From blocking to listening or to disabled. • From listening to learning or to disabled. • From learning to forwarding, blocking, or disabled. • From forwarding to disabled. The following STP features are considered optional features although you might use them in your STP configuration: • Root guard-For detailed information, see "Enabling the guard root" on page 65. • PortFast BPDU guard and BPDU filter-For detailed information, see "Enabling port fast (STP)" on page 67. Configuring STP on Brocade FCoE hardware The process for configuring STP on your Brocade FCoE hardware is as follows. 1. Enter Global Configuration mode. 2. Enable RSTP using the global protocol spanning-tree command. For details, see "Enabling STP, RSTP, or MSTP" on page 57. switch(config)#protocol spanning-tree rstp 3. Designate the root switch using the bridge-priority command. For details, see "Specifying the bridge priority" on page 58. The range is 0 through 61440 and the priority values can be set only in increments of 4096. switch(conf-stp)#bridge-priority 28582 4. Enable PortFast on switch ports using the spanning-tree portfast command. For details, see "Enabling port fast (STP)" on page 67. Note that this step is optional. NOTE PortFast only needs to be enabled on ports that connect to workstations or PCs. Repeat these commands for every port connected to workstations or PCs. Do not enable PortFast on ports that connect to other switches. switch(config)#interface tengigabitethernet 0/10 switch(conf-if-te-0/10)#spanning-tree portfast switch(conf-if-te-0/10)#exit switch(config)#interface tengigabitethernet 0/11 switch(conf-if-te-0/11)#spanning-tree portfast switch(conf-if-te-0/11)#exit Repeat these commands for every port connected to workstations or PCs. 5. Set the following ports to forwarding mode: - All ports of the root switch - The root port - The designated port 50 Converged Enhanced Ethernet Administrator's Guide 53-1001346-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162

50
Converged Enhanced Ethernet Administrator’s Guide
53-1001346-01
STP overview
5
Disabled—The interface is not participating in spanning tree because of a shutdown port, no
link on the port, or no spanning tree instance running on the port.
A port participating in spanning tree moves through these states:
From initialization to blocking.
From blocking to listening or to disabled.
From listening to learning or to disabled.
From learning to forwarding, blocking, or disabled.
From forwarding to disabled.
The following STP features are considered optional features although you might use them in your
STP configuration:
Root guard—For detailed information, see
“Enabling the guard root”
on page 65.
PortFast BPDU guard and BPDU filter—For detailed information, see
“Enabling port fast (STP)”
on page 67.
Configuring STP on Brocade FCoE hardware
The process for configuring STP on your Brocade FCoE hardware is as follows.
1.
Enter Global Configuration mode.
2.
Enable RSTP using the global
protocol spanning-tree
command. For details, see
“Enabling STP,
RSTP, or MSTP”
on page 57.
switch(config)#
protocol spanning-tree rstp
3.
Designate the root switch using the
bridge-priority
command. For details, see
“Specifying the
bridge priority”
on page 58. The range is 0 through 61440 and the priority values can be set
only in increments of 4096.
switch(conf-stp)#
bridge-priority 28582
4.
Enable PortFast on switch ports using the
spanning-tree portfast
command. For details, see
“Enabling port fast (STP)”
on page 67. Note that this step is optional.
NOTE
PortFast only needs to be enabled on ports that connect to workstations or PCs. Repeat these
commands for every port connected to workstations or PCs. Do not enable PortFast on ports
that connect to other switches.
switch(config)#
interface tengigabitethernet 0/10
switch(conf-if-te-0/10)#
spanning-tree portfast
switch(conf-if-te-0/10)#
exit
switch(config)#
interface tengigabitethernet 0/11
switch(conf-if-te-0/11)#
spanning-tree portfast
switch(conf-if-te-0/11)#
exit
Repeat these commands for every port connected to workstations or PCs.
5.
Set the following ports to forwarding mode:
-
All ports of the root switch
-
The root port
-
The designated port