SROS Command Line Interface Reference Guide

Ethernet Interface Configuration Command Set

 

 

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-eth0/1)#spanning-tree cost 1200

5991-2114

© Copyright 2005 Hewlett-Packard Development Company, L.P.

480

Page 480
Image 480
HP 7000 dl Router manual Spanning-tree cost cost value, Config#interface eth 0/1 Config-eth0/1#spanning-tree cost