xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
293
config stp mst_ports
internalCost
– This parameter is set to represent the relative cost of
forwarding packets to specified ports when an interface is selected
within a STP instance. The default setting is
auto
. There are two
options:
•
auto
– Selecting this parameter for the
internalCost
will set
quickest route automatically and optimally for an interface.
The default value is derived from the media speed of the
interface.
•
value 1-2000000
– Selecting this parameter with a value in
the range of 1-2000000 will set the quickest route when a
loop occurs. A lower
internalCost
represents a quicker
transmission.
priority <value 0-240>
- Enter a value between 0 and 240 to set the
priority for the port interface. A higher priority will designate the
interface to forward packets first. A lower number denotes a higher
priority.
Restrictions
Only Administrator or Operator-level users can issue this command.
Example usage:
To designate ports 1 to 2 on, with instance ID 1, to have an auto internalCost and a priority of 0:
DES-3800:admin#config stp mst_ports 1-2 instance_id 1 internalCost
auto priority 0
Command: config stp mst_ports 1-2 instance_id 1 internalCost auto
priority 0
Success.
DES-3800:admin#
show stp
Purpose
Used to display the Switch’s current STP configuration.
Syntax show
stp
Description
This command displays the Switch’s current STP configuration.
Parameters
None.
Restrictions
None.
Example usage:
To display the status of STP on the Switch:
Status 1: STP enabled with STP compatible version
DES-3800:admin#show stp
Command: show stp
STP Status : Enabled
STP Version : STP Compatible
Max Age : 20
Hello Time : 2
Forward Delay : 15
Max Age : 20
TX Hold Count : 3
Forwarding BPDU : Enabled
DES-3800:admin#