D-Link 3250TG Product Manual - Page 141

Packet Corruption, Resource Errors, Identifying a Data Loop

Page 141 highlights

D-Link DES-3250TG Standalone Layer 2 Switch In this example, port 2 on B can receive but not transmit packets. Port 2 on C should be in the blocking state, but since it can no longer receive BPDUs from port 2 on B, it will transition to the forwarding state. If the failure exists at boot, STP will not converge and rebooting the bridges will have no effect. (Note: Rebooting would help temporarily in the previous example). This type of failure is difficult to detect because the Link-state LEDs for Ethernet links rely on the transmit side of the cable to detect a link. If a unidirectional failure on a link is suspected, it is usually required to go to the console or other management software and look at the packets received and transmitted for the port. A unidirectional port will have many packets transmitted but none received, or vice versa, for example. Packet Corruption Packet corruption can lead to the same type of failure. If a link is experiencing a high rate of physical errors, a large number of consecutive BPDUs can be dropped and a port in the blocking state would transition to the forwarding state. The blocking port would have to have the BPDUs dropped for 50 seconds (at the default settings) and a single BPDU would reset the timer. If the MAX AGE is set too low, this time is reduced. Resource Errors The DES-3250TG Layer 2 switch performs its switching and routing functions primarily in hardware, using specialized ASICs. STP is implemented in software and is thus reliant upon the speed of the CPU and other factors to converge. If the CPU is over-utilized, it is possible that BPDUs may not be sent in a timely fashion. STP is generally not very CPU intensive and is given priority over other processes, so this type of error is rare. It can be seen that very low values for the MAX AGE and the FORWARD DELAY can result in an unstable spanning tree. The loss of BPDUs can lead to data loops. The diameter of the network can also cause problems. The default values for STP give a maximum network diameter of about seven. This means that two switches in the network cannot be more than seven hops apart. Part of this diameter restriction is the BPDU age field. As BPDUs are propagated from the root bridge to the leaves of the spanning tree, each bridge increments the age field. When this field is beyond the maximum age, the packet is discarded. For large diameter networks, STP convergence can be very slow. Identifying a Data Loop Broadcast storms have a very similar effect on the network to data loops, but broadcast storm controls in modern switches have (along with subnetting and other network practices) have been very effective 133

  • 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

D-Link DES-3250TG Standalone Layer 2 Switch
133
In this example, port 2 on B can receive but not transmit packets. Port 2 on C should be in the
blocking state, but since it can no longer receive BPDUs from port 2 on B, it will transition to the
forwarding state. If the failure exists at boot, STP will not converge and rebooting the bridges will have
no effect.
(Note: Rebooting would help temporarily in the previous example).
This type of failure is difficult to detect because the Link-state LEDs for Ethernet links rely on the
transmit side of the cable to detect a link. If a unidirectional failure on a link is suspected, it is usually
required to go to the console or other management software and look at the packets received and
transmitted for the port. A unidirectional port will have many packets transmitted but none received, or
vice versa, for example.
Packet Corruption
Packet corruption can lead to the same type of failure. If a link is experiencing a high rate of physical
errors, a large number of consecutive BPDUs can be dropped and a port in the blocking state would
transition to the forwarding state. The blocking port would have to have the BPDUs dropped for 50
seconds (at the default settings) and a single BPDU would reset the timer.
If the MAX AGE is set too
low, this time is reduced.
Resource Errors
The DES-3250TG Layer 2 switch performs its switching and routing functions primarily in hardware,
using specialized ASICs. STP is implemented in software and is thus reliant upon the speed of the CPU
and other factors to converge. If the CPU is over-utilized, it is possible that BPDUs may not be sent in a
timely fashion. STP is generally not very CPU intensive and is given priority over other processes, so
this type of error is rare.
It can be seen that very low values for the MAX AGE and the FORWARD DELAY can result in an
unstable spanning tree.
The loss of BPDUs can lead to data loops. The diameter of the network can
also cause problems. The default values for STP give a maximum network diameter of about seven. This
means that two switches in the network cannot be more than seven hops apart. Part of this diameter
restriction is the BPDU age field. As BPDUs are propagated from the root bridge to the leaves of the
spanning tree, each bridge increments the age field. When this field is beyond the maximum age, the
packet is discarded. For large diameter networks, STP convergence can be very slow.
Identifying a Data Loop
Broadcast storms have a very similar effect on the network to data loops, but broadcast storm controls
in modern switches have (along with subnetting and other network practices) have been very effective