Configuring Loop Prevention on AOS-CX
Loop prevention provides protection against infinite loops by transmitting loop protocol packets out of the switch ports. You can enable loop prevention by configuring one of the following methods:
- Loop protection at the interface level (ports, LAGs).
Loop protection at the interface level:
- can find loops by sending loop protection packets on each port or LAGLink Aggregation Group . A LAG combines a number of physical ports together to make a single high-bandwidth data path. LAGs can connect two switches to provide a higher-bandwidth connection to a public network. on which loop protection is enabled.
- is useful when spanning tree protocols cannot prevent loops at the edge of the network.
- can be used to find loops in untagged layer 2 links and on tagged VLANsVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN..
- can be configured either when the spanning tree protocol is configured on the interfaces or not.
- Spanning tree protocol at both global and interface level.
Spanning tree protocols such as MSTPMultiple Spanning Tree Protocol. MSTP configures a separate Spanning Tree for each VLAN group and blocks all but one of the possible alternate paths within each spanning tree. and RPVST help prevent loops in networks by blocking redundant links.
Loop protection and spanning tree are always disabled by default on AOS-CX switches. To configure loop protection and spanning tree for switches provisioned in the UI groups, complete the following steps:
- In the
- To select a group in the filter:
- Set the filter to a group.
The dashboard context for the group is displayed.
- Under , click > .
- Click the AOS-CX switch configuration dashboard. or icon to view the
- Set the filter to a group.
- To select a switch:
- Set the filter to or a group containing at least one switch.
- Under
A list of switches is displayed in the
view. , click > . - Click an AOS-CX switch under .
The dashboard context for the switch is displayed.
- Under
The AOS-CX UI configuration page is displayed.
, click .
app, select one of the following options: - To select a group in the filter:
- Click
The
table displays the following information:Table 1: Information in the Ports Table
Column
Description
Port number or the name of the LAG.
Description of the port or LAG interface that you configure on the
page.List of port numbers that are grouped to form the LAG.
Displays whether loop protection is enabled or disabled for that interface.
> . The page is displayed. - To enable spanning tree, move the
Configure the following parameters:
You can configure various MSTP parameters for the ports in the switches.
You cannot select
from the drop-down. To configure RPVST mode for spanning tree, you must use Edit Config in the mode and configure using the CLI commands.However, after configuring the mode as
, if you want to change the mode to MSTP, you can select in the drop-down. —Select from the drop-down list.At the group level, the priority is listed in multiples of 4096. A range from
0
to61440
is supported. The default value is32768
. —Priority of the UI group.
toggle switch to the on position. - To configure MSTP parameters for ports, select the row(s) in the
The Loop Prevention page is displayed with the following parameters.
Table 2: MSTP Parameters for Ports and LAGs
Parameters
Description
Move the toggle switch to enable or disable loop protection on the interfaces.
A number used to identify the root bridge in an STPSpanning Tree Protocol. STP is a network protocol that builds a logical loop-free topology for Ethernet networks. instance.
The priority is listed in multiples of
16
in the drop-down. The priority ranges from0
to240
. The default priority is128
.The switch with the lowest value has the highest priority and is considered the root bridge. A higher numerical value means a lower priority; thus, the highest priority is
0
.Security feature used to protect the active STP topology by preventing manipulated BPDUBridge Protocol Data Unit. A BPDU is a data message transmitted across a local area network to detect loops in network topologies. packets from entering the STP domain.
Select the check box to enable BPDU protection on the interface.
Enables control of STP participation for each port. The feature can be used to exclude specific ports from becoming part of STP operations. A port or LAG with the BPDU filter enabled ignores incoming BPDU packets and stays locked in the STP forwarding state.
Select the check box to enable BPDU filter on the interface.
Configures the interface in the forwarding state.
Select the check box to enable Admin edge on the interface.
If Admin edge is not configured on the switch, the default port type is admin-network.
Configures the interface to prevent from being configured as a root port when it receives superior STP BPDUs.
Select the check box to enable root guard on the interface.
table and click the edit icon. - To save the changes, click .