22-8
www.hp.com
HP PC Blade Switch CLI Reference Guide
Spanning-Tree Commands
spanning-tree cost
The
spanning-tree cost
Interface Configuration mode command configures the spanning tree
path cost for a port. To return to the default configuration, use the
no
form of this command.
Syntax
spanning-tree cost
cost
no spanning-tree cost
Parameters
■
cost
— Path cost of the port (Range: 1 - 200,000,000)
Default Setting
Default path cost is determined by port speed and path cost method (long or short) as shown in
the following table:
Command Modes
Interface Configuration (Ethernet, port-channel) mode
Command Usage
The path cost method is configured using the
spanning-tree pathcost method
Global
Configuration mode command.
Example
The following command configures the spanning-tree cost on Ethernet port 1/e15 to 35000.
Interface
Long
Short
Port-channel
20,000
4
Gigabit Ethernet (1000 Mbps)
20,000
4
Fast Ethernet (100 Mbps)
200,000
19
Ethernet (10 Mbps)
2,000,000
100
Console(config)#
interface ethernet
1/e15
Console(config-if)#
spanning-tree cost
35000
Summary of Contents for Bc1500 - BladeSystem - Blade PC
Page 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Page 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Page 140: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Page 150: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Page 160: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Page 176: ...11 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Page 192: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Page 200: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Page 206: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Page 214: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Page 270: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Page 360: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...