DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide
80
config stp
other network devices when STP is disabled
on the switch. The default is enabled.
Restrictions
Only administrator-level users can issue
this command.
Example Usage:
To set maxage to 18 and hellotime to 4:
DGS-3224TGR:4#config stp maxage 18 hellotime 4
Command: config stp maxage 18 hellotime 4
Success.
DGS-3224TGR:4#
config stp ports
Purpose
Used to setup STP on the port level.
Syntax
config stp ports <portlist> {cost
<value>|priority <value>|state
[enable|disable]
Description
This command is used to create and
configure STP for a group of ports.
Parameters
cost <value>
−
This defines a metric that
indicates the relative cost of forwarding
packets to the specified port list. The
default cost for a 1000 Mbps port is 4, a
100 Mbps port is 19, and for a 10 Mbps