Cisco ME 3800X Spezifikationen Seite 446

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 622
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 445
-18
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-23401-02
Chapter
spanning-tree cost
spanning-tree cost
To set the path cost for spanning-tree calculations. use the spanning-tree cost command in interface
configuration
mode. If a loop occurs, spanning tree considers the path cost when selecting an interface
to place in the forwarding state. To return to the default setting, use the no form of this command.
spanning-tree [vlan vlan-id] cost cost
no spanning-tree [vlan vlan-id] cost
Syntax Description
Defaults The default path cost is computed from the STP interface bandwidth setting. These are the IEEE default
path cost values:
1000 Mbps—1
100 Mbps—10
10 Mbps—100
Command Modes Interface configuration
Command History
Usage Guidelines When you configure the cost, higher values represent higher costs.
If you configure an STP port with both the spanning-tree vlan vlan-id cost cost command and the
spanning-tree cost cost command, the spanning-tree vlan vlan-id cost cost command takes effect.
You can verify your settings by entering the show spanning-tree interface interface-id privileged
EXEC command.
Examples This example shows how to set the path cost to 250 on a port:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# spanning-tree cost 250
This example shows how to set a path cost to 300 for VLANs 10, 12 to 15, and 20:
Switch(config-if)# spanning-tree vlan 10,12-15,20 cost 300
vlan vlan-id (Optional) VLAN range associated with a spanning-tree instance. You can specify
a single VLAN identified by VLAN ID number, a range of VLANs separated by a
hyphen, or a series of VLANs separated by a comma. The range is 1 to 4094.
cost Path cost. The range is 1 to 200000000, with higher values meaning higher costs.
Release Modification
12.2(52)EY This command was introduced.
Seitenansicht 445
1 2 ... 441 442 443 444 445 446 447 448 449 450 451 ... 621 622

Kommentare zu diesen Handbüchern

Keine Kommentare