8 spanning-tree cost, Default configuration, Command modes – Planet Technology WGSD-8000 User Manual

Page 299: User guidelines, Example, Syntax

Advertising
background image

User’s Manual of WGSD-1022/WGSD-8000

- 299 –

Default Configuration

By default, all ports are enabled for spanning-tree.

Command Modes

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

There are no user guidelines for this command.

Example

The following example disables spanning-tree on e5.

Console (config)# interface ethernet e5

Console (config-if)# spanning-tree disable

5.21.8 spanning-tree cost

The spanning-tree cost interface configuration command configures the spanning-tree path cost for a port. To reset the default

port path cost, use the no form of this command.

Syntax

spanning-tree cost cost

no spanning-tree cost

ƒ

cost — The port path cost (Range: 1 - 200,000,000 )

Default Configuration

The default costs are as follows:

Port Channel

— 20,000

1000 mbps (giga)

— 20,000

100 mbps

— 200,000

10 mbps

— 2,000,000

Command Modes

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

The method used (long or short) is set by using the spanning-tree pathcost method command.

Example

The following example configures the spanning-tree cost on e5 to 35000.

Advertising