AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
248
NXA-ENET24 - Software Management Guide
Spanning Tree Commands
This section includes commands that configure the Spanning Tree Algorithm (STA) globally for the switch,
and commands that configure STA for the selected interface.
Spanning Tree Commands
Command Function
spanning-tree
This command enables the
Spanning Tree Algorithm
globally for the switch.
Use the no form to disable it.
Syntax:
[no] spanning-tree
Default Setting: Spanning tree is enabled.
Command Mode: Global Configuration
Command Usage: The Spanning Tree Algorithm (STA) can be used to
detect and disable network loops, and to provide backup links between
switches, bridges or routers. This allows the switch to interact with other
bridging devices (that is, an STA-compliant switch, bridge or router) in your
network to ensure that only one route exists between any two stations on
the network, and provide backup links which automatically take over when a
primary link goes down.
Example: This example shows how to enable the Spanning Tree Algorithm
for the switch:
Console(config)#spanning-tree
Console(config)#
spanning-tree mode
This command selects the
spanning tree mode for this
switch.
Use the no form to restore the
default.
Syntax:
spanning-tree mode {stp | rstp}
no spanning-tree mode
stp - Spanning Tree Protocol (IEEE 802.1D)
rstp - Rapid Spanning Tree Protocol (IEEE 802.1w)
Default Setting: rstp
Command Mode: Global Configuration
Command Usage:
Spanning Tree Protocol: Uses RSTP for the internal state machine, but
sends only 802.1D BPDUs.
Rapid Spanning Tree Protocol: RSTP supports connections to either STP
or RSTP nodes by monitoring the incoming protocol messages and
dynamically adjusting the type of protocol messages the RSTP node
transmits, as described below:
STP Mode – If the switch receives an 802.1D BPDU after a port’s
migration delay timer expires, the switch assumes it is connected to an
802.1D bridge and starts using only 802.1D BPDUs.
RSTP Mode – If RSTP is using 802.1D BPDUs on a port and receives an
RSTP BPDU after the migration delay expires, RSTP restarts the
migration delay timer and begins using RSTP BPDUs on that port.
Example: The following example configures the switch to use Rapid
Spanning Tree:
Console(config)#spanning-tree mode rstp
Console(config)#