156 SBC session border controllers
Syntax
spanning-tree pathcost <pathcost>
no spanning-tree pathcost
Parameters
<pathcost> — path cost, may take values [0.. 200000000].
Default value
path cost value = 0
Command mode
INTERFACE FRONT-PORT
INTERFACE PORT-CHANNEL
Example
SBC2000-[CONFIG]-[SWITCH]-[if]> spanning-tree pathcost 1
Path cost 1 is set.
spanning-tree priority
This command sets the STP priority for the configurable port.
The use of a negative form (no) of the command sets the default STP operation priority. 128 is set by default.
Syntax
spanning-tree priority <priority>
no spanning-tree priority
Parameters
<priority> — priority, takes values in multiples of 16 [0, 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192,
208, 224, 240].
Default value
128
Command mode
INTERFACE FRONT-PORT
INTERFACE PORT-CHANNEL
Example
SBC2000-[CONFIG]-[SWITCH]-[if]> spanning-tree priority 144
Priority 144 is set.
spanning-tree admin-edge
This command sets the connection type as an edge link to the host. In this case, data transmission is enabled
automatically for the interface, when the link is established.
The use of a negative form (no) of the command restores the default value.