![D-Link DGS-1210/ME series Reference Manual Download Page 195](http://html.mh-extra.com/html/d-link/dgs-1210-me-series/dgs-1210-me-series_reference-manual_77989195.webp)
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide
175
config stp priority
Purpose
To update the STP instance configuration.
Syntax
config stp priority <value 0-61440> instance_id <value 0-15>
Description
The
config stp priority
command updates the STP instance
configuration settings on the Switch. The MSTP uses the priority in
selecting the root bridge, root port and DGSignated port. Assigning
higher priorities to STP regions instructs the Switch to give
precedence to the selected instance_id for forwarding packets. A
lower value indicates a higher priority.
Parameters
priority <value 0-61440>
- The priority for a specified
instance_id
for
forwarding packets. The value may be between 0 and 61440, and
must be divisible by 4096. A lower value indicates a higher priority.
instance_id <value 0-15>
- The value of the previously configured
instance id for which the user wishes to set the priority value. An
instance_id of 0 denotes the default instance_id (CIST) internally set
on the Switch.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To set the priority value for instance_id 2 as 4096:
DGS-1210-28MP/ME:5# config stp priority 4096 instance_id 2
Command: config stp priority 4096 instance_id 2
Success.
DGS-1210-28MP/ME:5#
enable stp
Purpose
To globally enable STP on the Switch.
Syntax
enable stp
Description
The
enable stp
command is used to set 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-1210-28MP/ME:5# enable stp
Command: enable stp
Success.
DGS-1210-28MP/ME:5#
disable stp
Purpose
To globally disable STP on the Switch.
Syntax
disable stp
Description
The
disable stp
command is used to set the Spanning Tree