D-Link DES-3010F Reference Manual - Page 73

config stp, config stp ports, LBD Recover Time

Page 73 highlights

DES-30XX Layer 2 Switch CLI Reference Manual config stp Restrictions Example usage: transmitted per interval. Default value = 3. fbpdu [enabled | disabled] − Allows the forwarding of STP BPDU packets from other network devices when STP is disabled on the Switch. The default is enabled. lbd [enable | disable] - Enabling this feature temporarily block STP on the Switch when a BPDU packet has been looped back to the switch. When the Switch detects its own BPDU packet coming back, it signifies a loop on the network. STP will automatically be blocked and an alert will be sent to the administrator. The LBD STP port will restart (change to discarding state) when the LBD Recover Time times out. The default is enabled. lbd_recover_timer [0 | ] - This field will set the time the STP port will wait before recovering the STP state set. 0 will denote that the LBD will never time out or restart until the administrator personally changes it. The user may also set a time between 60 and 1000000 seconds. The default is 60 seconds. Only administrator-level users can issue this command. To configure STP with maxage 18 and hellotime 4: DES-3026:4#config stp maxage 18 hellotime 4 Command: config stp maxage 18 hellotime 4 Success. DES-3026:4# config stp ports Purpose Syntax Description Parameters Used to setup STP on the port level. config stp ports {cost [auto | ] | priority | migrate [yes | no] | edge [true | false] | p2p [true | false | auto] | state [enabled | disabled] | lbd [enabled | disabled]} This command is used to create and configure STP for a group of ports. − Specifies a port or range of ports to be configured. cost − This defines a metric that indicates the relative cost of forwarding packets to the specified port list. Port cost can be set automatically or as a metric value. The default value is auto. • auto - Setting this parameter for the external cost will automatically set the speed for forwarding packets to the specified port(s) in the list for optimal efficiency. Default port cost: 100Mbps port = 200000. Gigabit port = 20000. • - Define a value between 1 and 200000000 to determine the external cost. The lower the number, the greater the probability the port will be chosen to forward packets. 69

  • 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

DES-30XX Layer 2 Switch CLI Reference Manual
69
config stp
transmitted per interval. Default value = 3.
fbpdu [enabled | disabled]
Allows the forwarding of STP BPDU
packets from other network devices when STP is disabled on the
Switch. The default is enabled.
lbd [enable | disable] –
Enabling this feature temporarily block STP
on the Switch when a BPDU packet has been looped back to the
switch. When the Switch detects its own BPDU packet coming back,
it signifies a loop on the network. STP will automatically be blocked
and an alert will be sent to the administrator. The LBD STP port will
restart (change to discarding state) when the
LBD Recover Time
times out. The default is enabled.
lbd_recover_timer [0 | <value 60-1000000>] -
This field will set the
time the STP port will wait before recovering the STP state set. 0 will
denote that the LBD will never time out or restart until the
administrator personally changes it. The user may also set a time
between 60 and 1000000 seconds. The default is 60 seconds.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To configure STP with maxage 18 and hellotime 4:
DES-3026:4#config stp maxage 18 hellotime 4
Command: config stp maxage 18 hellotime 4
Success.
DES-3026:4#
config stp ports
Purpose
Used to setup STP on the port level.
Syntax
config stp ports <portlist> {cost [auto | <value 1-200000000>] |
priority <value 0-240> | migrate [yes | no] | edge [true | false] |
p2p [true | false | auto] | state [enabled | disabled] | lbd [enabled
| disabled]}
Description
This command is used to create and configure STP for a group of
ports.
Parameters
<portlist>
Specifies a port or range of ports to be configured.
cost
This defines a metric that indicates the relative cost of
forwarding packets to the specified port list. Port cost can be set
automatically or as a metric value. The default value is
auto
.
auto
– Setting this parameter for the external cost will
automatically set the speed for forwarding packets to the
specified port(s) in the list for optimal efficiency. Default
port cost: 100Mbps port = 200000. Gigabit port
= 20000.
<value 1-200000000>
- Define a value between 1 and
200000000 to determine the external cost. The lower the
number, the greater the probability the port will be chosen
to forward packets.