DGS-3024 Layer 2 Switch CLI Reference Manual
config stp ports
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 [enable | disable]
−
Allows STP to be enabled or disabled for
the ports specified in the port list. The default is disabled.
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.
DGS-3024:4#config stp ports 1-5 cost 19 priority 15 state enable
Command: config stp ports 1-5 cost 19 priority 15 state enable
Success.
DGS-3024: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.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To enable STP, globally, on the Switch:
DGS-3024:4#enable stp
Command: enable stp
Success.
DGS-3024:4#
68