DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 261
config stp
forwarddelay <value 4-30>
−
The maximum amount of time (in seconds) that the root
device will wait before changing states. The user may choose a time between
4
and
30
seconds. The default is
15
seconds.
txholdcount <value 1-10>
−
The maximum number of BPDU Hello packets
transmitted per interval. Default value is
6
.
fbpdu [enable | disable]
−
Allows the forwarding of STP BPDU packets from other
network devices when STP is disabled on the Switch. The default is
disable
.
nni_bpdu_addr [dot1d | dot1ad]
– Configure NNI port address. The default is
dot1d
.
NOTE: In MSTP, the spanning tree is configured by port and
therefore, the hellotime must be set using the configure stp
ports command for switches utilizing the Multiple Spanning
Tree Protocol.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure STP with maxage 18 and maxhops of 15:
DGS-3700-12:5#config stp maxage 18 maxhops 15
Command: config stp maxage 18 maxhops 15
Success.
DGS-3700-12:5#
config stp ports
Purpose
Used to setup STP on the port level.
Syntax
config stp ports <portlist> {externalCost [ auto | <value 1-200000000>] |
hellotime <value 1-2> | migrate [yes | no] | edge [true | false | auto] | p2p [true |
false | auto] | state [enable | disable] | restricted_role [true | false] |
restricted_tcn [true | false] | fbpdu [enable | disable]}
Description
This command is used to create and configure STP for a group of ports.
Parameters
<portlist>
- Specify a range of ports.
externalCost
- Specify the path cost between the MST regions from the transmitting
Bridge to the CIST Root Bridge. It is only used at CIST level.
auto
- Specify to automatically choose the path cost.
<value 1-200000000>
- Specify a value between 1 and 200000000.
hellotime
- The default value is 2 . This is a per-Bridge parameter in RSTP, but it
becomes a per-Port parameter in MSTP.
migrate
- Operation of management in order to specify the port to send MSTP BPDU
for a delay time.
yes
- Specify for port to send MSTP BPDU for a delay time.
no
- Specify for port not to send MSTP BPDU for a delay time.
edge
- Decides if this port is connected to a LAN or a Bridged LAN. In auto mode,
the bridge will delay for a period to become edge port if no bridge BPUD is
received.
true
- Specify a true edge connection.
false
- Specify a false edge connection.
auto
- The bridge will delay for a period to become edge port if no bridge BPUD is
received.
p2p
- Decides if this port is in Full-Duplex or Half-Duplex mode.