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

Displaying STP, RSTP, and MSTP-related information, Configuring STP, or MSTP on CEE interface ports

Page 84 highlights

5 Configuring STP, RSTP, or MSTP on CEE interface ports To restart the protocol migration process, perform the following tasks from Privileged EXEC mode. 1. Enter the appropriate form of the clear command based on what you want to clear: • To clear all spanning tree counters on all interfaces: switch#clear spanning-tree detected-protocols • To clear the spanning tree counters associated with a specific port-channel or CEE port interface: switch#clear spanning-tree detected-protocols interface tengigabitethernet 0/1 Displaying STP, RSTP, and MSTP-related information To display STP, RSTP, and MSTP-related information, perform the following tasks from Privileged EXEC mode. 1. Enter the show spanning tree command to display all STP, RSTP, and MSTP-related information. switch#show spanning-tree brief Configuring STP, RSTP, or MSTP on CEE interface ports This section details the commands for enabling and configuring STP, RSTP, or MSTP on individual 10-Gigabit Ethernet CEE interface ports on Brocade FCoE hardware. Enabling automatic edge detection From the CEE interface, use this command to automatically identify the edge port. The port can become an edge port if no BPDU is received. By default, automatic edge detection is disabled. To enable automatic edge detection on the CEE interface, perform the following steps from Privileged EXEC mode. 1. Enter the configure terminal command to enter global configuration mode. 2. Enter the interface command to specify the CEE interface type and slot/port number. switch(config)#interface tengigabitethernet 0/1 3. Enter the no shutdown command to enable the CEE interface. 4. Enter the spanning-tree command to enable automatic edge detection on the CEE interface. switch(conf-if-te-0/1)#spanning-tree autoedge 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. The range is 1 through 200000000. The default path cost is 2000. 64 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

64
Converged Enhanced Ethernet Administrator’s Guide
53-1001346-01
Configuring STP, RSTP, or MSTP on CEE interface ports
5
To restart the protocol migration process, perform the following tasks from Privileged EXEC mode.
1.
Enter the appropriate form of the
clear
command based on what you want to clear:
To clear all spanning tree counters on all interfaces:
switch#
clear spanning-tree detected-protocols
To clear the spanning tree counters associated with a specific port-channel or CEE port
interface:
switch#
clear spanning-tree detected-protocols interface tengigabitethernet
0/1
Displaying STP, RSTP, and MSTP-related information
To display STP, RSTP, and MSTP-related information, perform the following tasks from Privileged
EXEC mode.
1.
Enter the show spanning tree command to display all STP, RSTP, and MSTP-related information.
switch#
show spanning-tree brief
Configuring STP, RSTP, or MSTP on CEE interface ports
This section details the commands for enabling and configuring STP, RSTP, or MSTP on individual
10-Gigabit Ethernet CEE interface ports on Brocade FCoE hardware.
Enabling automatic edge detection
From the CEE interface, use this command to automatically identify the edge port. The port can
become an edge port if no BPDU is received. By default, automatic edge detection is disabled.
To enable automatic edge detection on the CEE interface, perform the following steps from
Privileged EXEC mode.
1.
Enter the
configure terminal
command to enter global configuration mode.
2.
Enter the
interface
command to specify the CEE interface type and slot/port number.
switch(config)#
interface tengigabitethernet 0/1
3.
Enter the
no shutdown
command to enable the CEE interface.
4.
Enter the
spanning-tree
command to enable automatic edge detection on the CEE interface.
switch(conf-if-te-0/1)#
spanning-tree autoedge
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. The range is 1 through 200000000. The default path cost is 2000.