D-Link DGS-3024 Product Manual - Page 53

STP Loopback Detection, Setting the Loopback Timer - reset

Page 53 highlights

DGS-3024 Gigabit Ethernet Switch Manual STP Loopback Detection When connected to other switches, STP is an important configuration in consistency for delivering packets to ports and can greatly improve the throughput of your switch. Yet, even this function can malfunction with the emergence of STP BPDU packets that occasionally loop back to the Switch, such as BPDU packets looped back from an unmanaged switch connected to the DGS3024. To maintain the consistency of the throughput, the DGS-3024 switch implements the STP Loopback Detection function. When the STP Loopback Detection function is enabled, the Switch will be protected against a loop occurring between switches. Once a BPDU packet returns to the Switch, this function will detect that there is an anomaly occurring and will place the receiving port in an error-disabled state. Consequentially, a message will be placed in the Switch's Syslog and will be defined there as "BPDU Loopback on Port #". Setting the Loopback Timer The Loopback timer plays a key role in the next step the switch will take to resolve this problem. Choosing a non-zero value on the timer will enable the Auto-Recovery Mechanism. When the timer expires, the switch will again look for its returning BPDU packet on the same port. If no returning packet is received, the switch will recover the port as a Designated Port in the Discarding State. If another returning BPDU packet is received, the port will remain in a blocked state, the timer will reset to the specified value, restart, and the process will begin again. For those who choose not to employ this function, the Loopback Recovery time must be set to zero. In this case, when a BPDU packet is returned to the Switch, the port will be placed in a blocking state and a message will be sent to the Syslog of the switch. To recover the port, the administrator must disable the state of the problematic port and enable it again. This is the only method available to recover the port when the Loopback Recover Time is set to 0. Regulations and Restrictions for the Loopback Detection Function • All three versions of STP (STP, RSTP and MSTP) can enable this feature. • May be configured globally (STP Global Bridge Settings), or per port (MSTP Port Information). • Neighbor switches of the DGS-3024 switch must have the capability to forward BPDU packets. Switches the fail to meet this requirement will disable this function for the port in question on the DGS-3024 switch. • Loopback Detection is globally enabled for the Switch, yet the port-by-port default setting is disabled. • The default setting for the Loopback timer is 60 seconds. • This setting will only be operational if the interface is STP-enabled. The Loopback Detection feature can only prevent BPDU loops on the DGS-3024 designated ports. It can detect a loop condition occurring on the user's side connected to the edge port, but it cannot detect the Loopback condition on the elected root port of STP on another switch. 39

  • 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
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208

DGS-3024 Gigabit Ethernet Switch Manual
STP Loopback Detection
When connected to other switches, STP is an important configuration in consistency for delivering packets to ports and can
greatly improve the throughput of your switch. Yet, even this function can malfunction with the emergence of STP BPDU packets
that occasionally loop back to the Switch, such as BPDU packets looped back from an unmanaged switch connected to the DGS-
3024. To maintain the consistency of the throughput, the DGS-3024 switch implements the STP Loopback Detection function.
When the STP Loopback Detection function is enabled, the Switch will be protected against a loop occurring between switches.
Once a BPDU packet returns to the Switch, this function will detect that there is an anomaly occurring and will place the
receiving port in an error-disabled state. Consequentially, a message will be placed in the Switch’s Syslog and will be defined
there as “BPDU Loopback on Port #”.
Setting the Loopback Timer
The Loopback timer plays a key role in the next step the switch will take to resolve this problem. Choosing a non-zero value on
the timer will enable the Auto-Recovery Mechanism. When the timer expires, the switch will again look for its returning BPDU
packet on the same port. If no returning packet is received, the switch will recover the port as a Designated Port in the Discarding
State. If another returning BPDU packet is received, the port will remain in a blocked state, the timer will reset to the specified
value, restart, and the process will begin again.
For those who choose not to employ this function, the Loopback Recovery time must be set to zero. In this case, when a BPDU
packet is returned to the Switch, the port will be placed in a blocking state and a message will be sent to the Syslog of the switch.
To recover the port, the administrator must disable the state of the problematic port and enable it again. This is the only method
available to recover the port when the Loopback Recover Time is set to 0.
Regulations and Restrictions for the Loopback Detection Function
All three versions of STP (STP, RSTP and MSTP) can enable this feature.
May be configured globally (STP Global Bridge Settings), or per port (MSTP Port Information).
Neighbor switches of the DGS-3024 switch must have the capability to forward BPDU packets. Switches the fail to meet
this requirement will disable this function for the port in question on the DGS-3024 switch.
Loopback Detection is globally enabled for the Switch, yet the port-by-port default setting is disabled.
The default setting for the Loopback timer is 60 seconds.
This setting will only be operational if the interface is STP-enabled.
The Loopback Detection feature can only prevent BPDU loops on the DGS-3024 designated ports. It can detect a loop condition
occurring on the user’s side connected to the edge port, but it cannot detect the Loopback condition on the elected root port of
STP on another switch.
39