Set Spantree Portpri; Set Spantree Portvlancost - D-Link DWS-1008 Cli Reference Manual

8 port 10/100 wireless switch with power over ethernet
Hide thumbs Also See for DWS-1008:
Table of Contents

Advertisement

DWS-1008 CLI Reference Guide

set spantree portpri

Changes the STP priority of a network port or ports for selection as part of the path to the
STP root bridge in the default VLAN on a switch.
Syntax: set spantree portpri port-list priority value
port-list
priority
value
Defaults: The default STP priority for all network ports is 128.
Access: Enabled.
Usage: This command applies only to the default VLAN (VLAN 1). To change the
priority of a port in another VLAN, use the set spantree portvlanpri command.
Examples:
DWS-1008# set spantree portpri 3-4 priority 48
success: change accepted.

set spantree portvlancost

Changes the cost of a network port or ports on paths to the STP root bridge for a specific
VLAN on a switch.
Syntax:
port-list
cost cost
all
vlan vlan-id VLAN name or number. MSS changes the cost
Defaults: The default port cost depends on the port speed and link type.
D-Link Systems, Inc.
List of ports. MSS changes the priority on the
specified ports.
Priority value. You can specify a value from 0
(highest priority) through 255 (lowest priority).
The following command sets the priority of ports 3 and 4 to 48:
set spantree portvlancost port-list cost cost
List of ports. MSS applies the cost change to all
the specified ports.
Numeric value. You can specify a value from 1
through 65,535. STP selects lower-cost paths
over higher-cost paths.
Changes the cost on all VLANs.
on only the specified VLAN.
STP Commands
all | vlan vlan-id}
{
237

Advertisement

Table of Contents
loading

Table of Contents