Configuring Link Type
Use the following interface mode command to configure port link-type:
Switch(config)# interface eth1
Switch(config-if-eth1)#spanning-tree link-type {point-to-point|shared}
By default, the link type is determined from the duplex mode of the interface: a full-duplex port is considered to have a
point-to-point connection; a half-duplex port is considered to have a shared connection.
To return the switch to its default setting, use the no spanning-tree link-type interface configuration command.
Configuring an Edge Port
Use the following interface mode command to configure port link type:
Switch(config)# interface eth1
Switch(config-if-eth1)#spanning-tree edge-port
The default setting is no edge port configuration.
To return the switch to its default setting, use the no spanning-tree edge-port interface configuration command.
Configuring Port Path Cost
Use the following interface mode command to configure port path cost:
Switch(config)# interface eth1
Switch(config-if-eth1)#spanning-tree path-cost <path-cost>
The default values for path cost is determined by the operating port speed:
• For ports operating in 1000Mb speed, the path cost is 20000
• For ports operating in 100Mb speed, the path cost is 200000
• For ports operating in 10Mb speed, the path cost is 2000000
To return the switch to its default setting, use the no spanning-tree path-cost interface configuration command.
Configuring Port Priority
Use the following interface mode command to configure port priority:
Switch(config)# interface eth1
Switch(config-if-eth1)#spanning-tree port-priority <port-priority>
For <port-priority>, the range is 0–240 in increments of 16; the default is 128. The lower the number, the higher the
priority.
To return the switch to its default setting, use the no spanning-tree port-priority interface configuration command.
50 Asante IntraCore IC36240 User’s Manual