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

Spanning Tree Commands, config stp

Page 72 highlights

DES-30XX Layer 2 Switch CLI Reference Manual 10 SPANNING TREE COMMANDS The Switch supports 802.1d STP and 802.1w Rapid STP. The spanning tree commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command config stp config stp ports enable stp disable stp show stp show stp ports Parameters {maxage | hellotime | forwarddelay | priority | version [rstp | stp] | txholdcount | fbpdu [enabled | disabled] | lbd [enabled | disabled] | lbd_recover_timer [0 |

  • 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
68
10
S
PANNING
T
REE
C
OMMANDS
The Switch supports 802.1d STP and 802.1w Rapid STP. The spanning tree commands in the Command Line Interface (CLI)
are listed (along with the appropriate parameters) in the following table.
Command
Parameters
config stp
{maxage <value 6-40> | hellotime <value 1-10> | forwarddelay
<value 4-30> | priority <value 0-61440> | version [rstp | stp] |
txholdcount <value 1-10> | fbpdu [enabled | disabled] | lbd [enabled
| disabled] | lbd_recover_timer [0 | <sec 60-1000000]}
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]}
enable stp
disable stp
show stp
show stp ports
{<portlist>}
Each command is listed, in detail, in the following sections.
config stp
Purpose
Used to setup STP and RSTP on the Switch.
Syntax
config stp {maxage <value 6-40> | hellotime <value 1-10> |
forwarddelay <value 4-30> | priority <value 0-61440> | version
[rstp | stp] | txholdcount <value 1-10> | fbpdu [enabled |
disabled] | lbd [enabled | disabled] | lbd_recover_timer [0 | <sec
60-1000000]}
Description
This command is used to setup the Spanning Tree Protocol (STP)
for the entire switch.
Parameters
maxage <value 6-40>
The maximum amount of time (in seconds)
that the Switch will wait to receive a BPDU packet before
reconfiguring STP. The default is 20 seconds.
hellotime <value 1-10>
The time interval between transmission of
configuration messages by the root device. The default is 2 seconds.
forwarddelay <value 4-30>
The maximum amount of time (in
seconds) that the root device will wait before changing states. The
default is 15 seconds.
priority <value 0-61440>
A numerical value between 0 and 61440
that is used in determining the root device, root port, and designated
port. The device with the highest priority becomes the root device.
The lower the numerical value, the higher the priority. The default is
32,768.
version [rstp | stp]
- Select the Spanning Tree Protocol version used
for the Switch. For IEEE 802.1d STP select
stp
. Select
rstp
for IEEE
802.1w Rapid STP.
txholdcount <value 1-10>
- The maximum number of Hello packets