Config Stp Ports - D-Link DGS-3100 SERIES Cli Manual

Gigabit stackable managed switch
Hide thumbs Also See for DGS-3100 SERIES:
Table of Contents

Advertisement

DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
Restrictions
Example usage:
To configure STP with maxage 18 and maxhops of 15:

config stp ports

Purpose
Syntax
Description
Parameters
61
BPDU has still not been received from the Root Bridge, the Switch
starts sending its own BPDU to all other switches for permission to
become the Root Bridge. If your switch has the lowest priority, it
becomes the Root Bridge. The user may choose a time between 6
and 40 seconds. The default value is 20.
maxhops <value 1-20> − The number of hops between devices in a
spanning tree region before the BPDU (bridge protocol data unit)
packet sent by the Switch will be discarded. Each switch on the hop
count will reduce the hop count by one until the value reaches zero.
The Switch will then discard the BDPU packet and the information
held for the port will age out. The value may be between 1 and 20.
The default is 20.
hellotime <value 1-10> − The user may set the time interval between
transmission of configuration messages by the root device in STP,
or by the designated router, thus stating that the Switch is still
functioning. The value may be between 1 and 10 seconds. The
default value is 2 seconds.
forwarddelay <value 4-30> − The amount of time (in seconds) that
the root device will wait before changing from Blocking to Listening ,
and from Listening to Learning states. The value may be between 4
and 30 seconds. The default is 15 seconds.
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.
Only administrator or operator-level users can issue this command.
DGS3100# config stp maxage 18 maxhops 15
Success.
DGS3100#
To setup STP on the port level.
config stp ports [<portlist> | <ch1-32>] {externalcost [auto |
<value 1-200000000>] | edge [true | false] | p2p [true | false |
auto ] | state [enable | disable] | fbpdu [enable | disable |
system]}
The config stp ports command configures STP for a group of ports.
<portlist> – A port or range of ports to be configured. The port list is
specified by listing switch number and the beginning port number on
that switch, separated by a colon. Then the highest port number of
the range is specified. The beginning and end of the port list range
are separated by a dash. For example, 1:3 specifies switch number
1, port 3. 1:22 specifies switch number 1, port 22. 1:3-22 specifies all
of the ports of switch 1, between port 3 and port 22 − in numerical
order.
<ch1-32> − a port-channel.
externalCost − Defines a metric that indicates the relative cost of

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dgs-3100-24tg

Table of Contents