724-746-5500 | blackbox.com
Page 139
Chapter 7: Command-Line Management
Admin. Path Cost:
1. Command Mode: Interface mode
Logon to Configure Mode (Configure Terminal Mode).
Then logon to Interface mode.
fe1 means port 1.
The switch_a(config-if)# prompt will show on the screen.
switch_a(config)#interface fe1
switch_a(config-if)#
2. Usage:
Use this command to set the cost of a path associated with a bridge-group.
Use the no parameter with this command to restore the default cost of a path associated with a bridge-group.
3. Command Syntax:
bridge GROUP path-cost PATHCOST
no bridge GROUP path-cost
GROUP <1-1> the ID of the bridge group.
PATHCOST <1-200000000> The cost to be assigned to the group.
4. Example:
The following example sets the cost (123) of the interface fe1 (port 1) of bridge GROUP (1):
switch_a(config)#interface fe1
switch_a(config-if)#bridge 1 path-cost 123
switch_a(config-if)#
Point to Point Link:
1. Command Mode: Interface mode
Logon to Configure Mode (Configure Terminal Mode).
Then logon to Interface mode.
fe1 means port 1.
The switch_a(config-if)# prompt will show on the screen.
switch_a(config)#interface fe1
switch_a(config-if)#
2. Usage:
Use spanning-tree link-type command to set the link type of a port to enable or disable rapid transition.
Use the no spanning-tree link-type command to set a port to its default state and to disable rapid transition.
3. Command Syntax:
(no) spanning-tree link-type LINKTYPE