
Configuring STP Port Parameters
Configuring Spanning Tree Parameters
page 6-40
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
Configuring Port Mode
There are two port modes supported: manual and dynamic. Manual mode indicates that the port was set by
the user to a forwarding or blocking state. The port operates in the state selected until the state is manually
changed again or the port mode is changed to dynamic. Ports operating in a manual mode state do not
participate in the Spanning Tree Algorithm. Dynamic mode indicates that the active Spanning Tree Algo-
rithm determines port state.
Spanning Tree is automatically enabled on the port and the port operates in the default mode. If the switch
is running in the per-VLAN Spanning Tree mode, then the port mode applies to the specified VLAN
instance associated with the port. If the switch is running in the flat Spanning Tree mode, then the port
mode applies across all VLANs associated with the port. The flat mode instance is specified as the port
instance, even if the port is associated with other VLANs.
To change the port Spanning Tree mode for a VLAN instance regardless of which mode (per-VLAN or
flat) is active for the switch, use the
command. For example, the following command
sets the mode for port 8/1 for VLAN 10 to forwarding.
-> spantree vlan 10 port 8/1 mode forwarding
To change the port Spanning Tree mode for the flat mode instance, use the
Note that the command is available when the switch is running in either mode (per-VLAN or flat) and an
instance number is not required. For example, the following command configures the Spanning Tree mode
on port 1/24 for the flat mode instance:
-> spantree cist port 1/24 mode blocking
Mode for Link Aggregate Ports
Physical ports that belong to a link aggregate do not participate in the Spanning Tree Algorithm. Instead,
the algorithm is applied to the aggregate logical link (virtual port) that represents a collection of physical
ports.
To change the port mode for a link aggregate, use the
spantree vlan mode
or the
spantree cist mode
command described above, but specify a link aggregate control (ID) number instead of a slot and port. For
example, the following command sets the port mode for link aggregate 10 associated with VLAN 755 to
blocking:
-> spantree vlan 755 linkagg 10 mode blocking
For more information about configuring an aggregate of ports, see