![Cisco 300 Series Скачать руководство пользователя страница 897](http://html.mh-extra.com/html/cisco/300-series/300-series_cli-manual_67483897.webp)
Spanning-Tree Commands
897
OL-32830-01 Command Line Interface Reference Guide
46
46.11 spanning-tree link-type
Use the spanning-tree link-type Interface (Ethernet, Port Channel) Configuration
mode command to override the default link-type setting determined by the port
duplex mode, and enable RSTP transitions to the Forwarding state. Use the no
form of this command to restore the default configuration.
Syntax
spanning-tree link-type
{point-to-point | shared}
no spanning-tree spanning-tree link-type
Parameters
•
point-to-point—Specifies that the port link type is point-to-point.
•
shared—Specifies that the port link type is shared.
Default Configuration
The device derives the port link type from the duplex mode. A full-duplex port is
considered a point-to-point link and a half-duplex port is considered a shared link.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
Example
The following example enables shared spanning-tree on gi15.
switchxxxxxx(config)#
interface
gi1
15
switchxxxxxx(config-if)#
spanning-tree link-type shared
46.12 spanning-tree pathcost method
Use the spanning-tree pathcost method Global Configuration mode command to
set the default path cost method. Use the no form of this command to return to the
default configuration.
Содержание 300 Series
Страница 2: ......