1171
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter S Commands
spanning-tree cost
On access ports, assign the port cost by port. On trunk ports, assign the port cost by VLAN; you can
configure all the VLANs on a trunk port as the same port cost.
The EtherChannel bundle is considered as a single port. The port cost is the aggregation of all the
configured port costs assigned to that channel.
Note
Use this command to set the port cost for Rapid PVST+. Use the
spanning-tree mst cost
command to
set the port cost for MST.
Examples
This example shows how to access an interface and set a path cost value of 250 for the spanning tree
VLAN that is associated with that interface:
switch(config)#
interface ethernet 1/4
switch(config-if)#
spanning-tree cost 250
Related Commands
Command
Description
show spanning-tree
Displays information about the spanning tree configuration.
Содержание Nexus 5500 Series
Страница 4: ...4 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...
Страница 6: ...18 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...
Страница 36: ...130 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter C Commands connect ...
Страница 50: ...144 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter D Commands dvs name ...
Страница 124: ...1118 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr type ...
Страница 126: ...1120 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr vlan ...
Страница 131: ...1125 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...
Страница 132: ...1126 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...
Страница 158: ...1152 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter R Commands revision ...
Страница 438: ...1432 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter U Commands udld Ethernet ...