Command Line Interface Reference Guide > The Configuration Menu > /cfg/l2/stg Spanning Tree Group Configuration > /cfg/l2/stg <STG Group Index> /port <port #> Spanning Tree Port Configuration
/cfg/l2/stg <STG Group Index> /port <port #>
Spanning Tree Port Configuration
 
[Spanning Tree Port 1 Menu]
prior - Set port Priority (0-255)
cost - Set port Path Cost
link - Set port link type (auto,p2p,or shared; default: auto)
edge - Enable/disable edge port
blkbpdu - Enable/disable forwarding bpdu's on STG off
on - Turn port's Spanning Tree ON
off - Turn port's Spanning Tree OFF
cur - Display current port Spanning Tree parameters
Spanning Tree port parameters are used to modify STP operation on an individual port basis. STP port parameters include:
*Port priority
*Port path cost
 
Spanning Tree Port Menu (/cfg/l2/stg/port) 
Command Syntax and Usage
prior <new port Priority (0-255)>
 
Configures the port priority.
The port priority helps determine which bridge port becomes the designated port. In a network topology that has multiple bridge ports connected to a single segment, the port with the lowest port priority becomes the designated port for the segment.
Values: 0 – 255
Default: 128
cost <new port Path Cost (0-65535, 0 for default)>
 
The contribution of this port to the path cost of paths towards the spanning tree root that includes this port.
The port path cost assigns lower values to high-bandwidth ports, such as Gigabit Ethernet, to encourage their use. The cost of a port also depends on whether the port operates at full-duplex (lower cost) or half-duplex (higher cost). For example, if a 100 Mbps (Fast Ethernet) link has a “cost” of 10 in half-duplex mode, it will have a cost of 5 in full-duplex mode. The objective is to use the fastest links so that the route with the lowest cost is chosen. A value of 0 indicates that the default cost will be computed for an auto-negotiated link speed.
Note: All ports in a trunk must have the same cost value.
Values: 0 – 65535
Default: 20000
link auto|p2p|shared
 
Sets the port link type.
Values:
*auto — Specifies that this port is considered to have a point-to-point link if it is an aggregator and all of its members are aggregatable or if the MAC entity is configured for full duplex operation, either by auto-negotiation or management.
*p2p — Specifies that this port should always be treated as if it is connected to a point-to-point link.
*shared — Specifies that this port should be treated as having a shared media connection.
Default: auto
edge disable|enable
 
Enables or disables the edge port.
A port that does not connect to a bridge is called an edge port. Edge ports are generally connected to a server. Edge ports can start forwarding as soon as the link is up.
Edge ports do not take part in a spanning tree configuration, and should not receive BPDUs. If a port with edge enabled does receive a BPDU, it begins STP processing only if it is connected to a spanning tree bridge. If it is connected to a host, the edge port ignores BPDUs.
Default: disable
blkbpdu disable|enable
 
Enables or disables blocking the forwarding of configuration bridge protocol data units (BPDU), when the spanning tree is turned off.
Applicable in ADC-VX mode.
In a hot-standby configuration in global administrator or vADC environments, Radware recommends that you enable this option only on the ISL port. Otherwise, your network may create a Layer 2 loop and the upstream switch blocks its port, where all ports are still forwarding Layer 2 information via the ADC-VX.
Default: disable
on
 
Enables STP on the port. STP is turned on by default for the port.
off
 
Disables STP on the port.
cur
 
Displays the current STP port parameters.