Command Reference Guide

SROS Command Line Interface Reference Guide Ethernet Interface Configuration Command Set
5991-2114 © Copyright 2005 Hewlett-Packard Development Company, L.P. 480
spanning-tree cost <cost value>
Use the spanning-tree cost command to assign a cost to the interface. The cost value is used when
computing the spanning-tree root path. Use the no version of the command to return to the default setting.
Syntax Description
<cost value> 1-200000000
Default Values
<value> 1000/(link speed in Mbps)
Command Modes
(config-interface)# Interface Configuration Mode
Valid interfaces include: Ethernet, virtual PPP interfaces (ppp 1), virtual Frame
Relay sub-interfaces (fr 1.20), and atm sub-interfaces (1.2).
Usage Examples
The following example sets the interface to a path cost of 1200:
(config)#interface eth 0/1
(config-eth 0/1)#spanning-tree cost 1200