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

config stp ports, enable stp, DES-3026:4#config stp ports 1-5 cost 19 priority 15 state enabled

Page 74 highlights

DES-30XX Layer 2 Switch CLI Reference Manual config stp ports priority − Port Priority can be from 0 to 240. The lower the number, the greater the probability the port will be chosen as the Root Port. Default = 128. migrate [yes | no] - yes will enable the port to migrate from 802.1d STP status to 802.1w RSTP status. RSTP can coexist with standard STP, however the benefits of RSTP are not realized on a port where an 802.1d network connects to an 802.1w enabled network. Migration should be enabled (yes) on ports connected to network stations or segments that will be upgraded to 802.1w RSTP on all or some portion of the segment. edge [true | false] - true designates the port as an edge port. Edge ports cannot create loops, however an edge port can lose edge port status if a topology change creates a potential for a loop. An edge port normally should not receive BPDU packets. If a BPDU packet is received it automatically loses edge port status. false indicates that the port does not have edge port status. p2p [true | false | auto] - true indicates a point-to-point (P2P) shared link. P2P ports are similar to edge ports however they are restricted in that a P2P port must operate in full-duplex. Like edge ports, P2P ports transition to a forwarding state rapidly thus benefiting from RSTP. A p2p value of false indicates that the port cannot have p2p status. auto allows the port to have p2p status whenever possible and operate as if the p2p status were true. If the port cannot maintain this status (for example if the port is forced to half-duplex operation) the p2p status changes to operate as if the p2p value were false. state [enabled | disabled] − Allows STP to be enabled or disabled for the ports specified in the port list. The default is disabled. lbd [enable | disable] - Used to enable or disable the loop-back detection function on the Switch for the ports configured above in the config stp command. Restrictions Only administrator-level users can issue this command. Example usage: To configure STP with path cost 19, priority 15, and state enabled for ports 1-5. DES-3026:4#config stp ports 1-5 cost 19 priority 15 state enabled Command: config stp ports 1-5 cost 19 priority 15 state enabled Success. DES-3026:4# enable stp Purpose Syntax Description Parameters Used to globally enable STP on the Switch. enable stp This command allows the Spanning Tree Protocol to be globally enabled on the Switch. None. 70

  • 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
70
config stp ports
priority <value 0-240>
Port Priority can be from 0 to 240. The lower
the number, the greater the probability the port will be chosen as the
Root Port. Default = 128.
migrate [yes | no]
yes
will enable the port to migrate from 802.1d
STP status to 802.1w RSTP status. RSTP can coexist with standard
STP, however the benefits of RSTP are not realized on a port where
an 802.1d network connects to an 802.1w enabled network.
Migration should be enabled (
yes
) on ports connected to network
stations or segments that will be upgraded to 802.1w RSTP on all or
some portion of the segment.
edge [true | false]
true
designates the port as an edge port. Edge
ports cannot create loops, however an edge port can lose edge port
status if a topology change creates a potential for a loop. An edge
port normally should not receive BPDU packets. If a BPDU packet is
received it automatically loses edge port status.
false
indicates that
the port does not have edge port status.
p2p [true | false | auto]
true
indicates a point-to-point (P2P) shared
link. P2P ports are similar to edge ports however they are restricted
in that a P2P port must operate in full-duplex. Like edge ports, P2P
ports transition to a forwarding state rapidly thus benefiting from
RSTP. A p2p value of false indicates that the port cannot have p2p
status.
auto
allows the port to have p2p status whenever possible
and operate as if the p2p status were
true
. If the port cannot
maintain this status (for example if the port is forced to half-duplex
operation) the p2p status changes to operate as if the p2p value
were
false
.
state [enabled | disabled]
Allows STP to be enabled or disabled for
the ports specified in the port list. The default is disabled.
lbd [enable | disable]
- Used to enable or disable the loop-back
detection function on the Switch for the ports configured above in the
config stp
command.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To configure STP with path cost 19, priority 15, and state enabled for ports 1-5.
DES-3026:4#config stp ports 1-5 cost 19 priority 15 state enabled
Command: config stp ports 1-5 cost 19 priority 15 state enabled
Success.
DES-3026:4#
enable stp
Purpose
Used to globally enable STP on the Switch.
Syntax
enable stp
Description
This command allows the Spanning Tree Protocol to be globally
enabled on the Switch.
Parameters
None.