D-Link DGS-1510 Series Reference Manual page 588

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
When a port is spanning tree enabled, the spanning tree protocol engine will either send or process
the spanning tree BPDU received by the port. The command should be used with caution to prevent
bridging loops. The command does not take effect if the Layer 2 protocol tunnel is enabled for STP.
Example
This example shows how to enable Spanning Tree on Ethernet interface eth3/0/1.
Switch# configure terminal
Switch(config)# interface eth3/0/1
Switch(config-if)# spanning-tree state enable
Switch(config-if)#
65-8 spanning-tree cost
This command is used to configure the value of the port path-cost on the specified port. Use the no
form of this command to revert to the auto-computed path cost.
spanning-tree cost COST
no spanning-tree cost
Parameters
COST
Default
The default path cost is computed from the interface's bandwidth setting.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
In the RSTP or STP-compatible mode, the administrative path cost is used by the single spanning-
tree to accumulate the path cost to reach the Root. In the MSTP mode, the administrative path cost is
used by the CIST regional root to accumulate the path cost to reach the CIST root.
Example
This example shows how to configure the port cost to 20000 for Ethernet interface eth1/0/7.
Switch# configure terminal
Switch(config)# interface eth1/0/7
Switch(config-if)# spanning-tree cost 20000
Switch(config-if)#
65-9 spanning-tree guard root
This command is used to enable the root guard mode. Use the no form of this command to revert to
the default setting.
spanning-tree guard root
no spanning-tree guard root
Specifies the path cost for the port. The range is from 1 to
200000000.
585

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents