Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

Dell EMC Configuration Guide for the S3100 Series 9.14.2.4

PDF

Modifying Interface STP Parameters

You can set the port cost and port priority values of interfaces in Layer 2 mode.

  • Port cost — a value that is based on the interface type. The greater the port cost, the less likely the port is selected to be a forwarding port.
  • Port priority — influences the likelihood that a port is selected to be a forwarding port in case that several ports have the same port cost.

The default values are listed in Modifying Global Parameters.

To change the port cost or priority of an interface, use the following commands.

  • Change the port cost of an interface.
    INTERFACE mode
    spanning-tree 0 cost cost
    The range is from 0 to 65535.
    The default values are listed in Modifying Global Parameters.
  • Change the port priority of an interface.
    INTERFACE mode
    spanning-tree 0 priority priority-value
    The range is from 0 to 15.
    The default is 8.
To view the current values for interface parameters, use the show spanning-tree 0 command from EXEC privilege mode. Refer to the second example in Enabling Spanning Tree Protocol Globally.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\