|

[ACSA Training #29] Rate Limit & Loop Protection

⏱️ Estimated reading time: Approx. 3 minutes (3 min read)

Rate Limit

If the spanning tree configuration is incorrect, a loop in Layer 2 may be created.
In these situations, AOS-CX can specify how much traffic it can receive on an Ethernet port or Link Aggregation Group (LAG), including broadcast, multicast, or unknown unicast traffic.

[ACSA 교육#29] Rate Limit & Loop Protection - image

This feature is independent of Spanning Tree, but is a mechanism to protect CPU utilization and allow administrators to connect to the switch at any time.

You can apply the command at the interface level as follows:.

switch(config)# interface 1/1/1
switch(config-if)# rate-limit broadcast 4000 pps

Loop Protection

So far, the focus of our look at spanning tree has been on intentionally preventing loops of redundant network ports, such as duplication, when configuring a network.

However, in actual network operations, loops can arise due to the unintentional connection and configuration of numerous ports. These loops typically occur on the switches closest to the user (edge ports).

As you can see in the picture below, two Ethernet ports on the Access-1 switch are connected with cables.
Looking at the picture alone, it may seem like something like that would never happen, but when you actually operate a network, it happens more frequently than you might think.

[ACSA 교육#29] Rate Limit & Loop Protection - image 1

The Loop Protection feature protects the edge switch by transmitting loop protocol packets on the port.
Ports with this feature enabled will automatically send Loop Protection Packets at specified intervals (Default: 5 seconds).
At this time, when a Loop Protocol Packet is received on a port with the Loop Protection function enabled, the switch recognizes that a loop has occurred and takes action on its own.

AOS-CX switches support the following actions:.

  • Raise alarms using SNMP without disabling ports
  • Disable forwarding. Ports that transmit loop detection packets are disabled (default).
  • Disable both sending and receiving

This feature can be applied on Layer 2 interfaces or LAGs.

switch# config
switch(config)# interface 1/1/1
switch(config-if)# loop protection
switch(config-if)# loop-protection action {do-not-disable | tx-disabled | tx-rx-disabled}

The Loop Protection feature is useful in environments like offices where users plug cables into wired ports. Please remember to use it appropriately when necessary.

Similar Posts

  • [ACSA Training #7] IPv4 Header

    ⏱️ Estimated read time: Approx. 2 minutes (2 min read) The figure shows the IPv4 header information added to Layer 3 packets. The important fields in the header are as follows: TTL (Time To Live): This field indicates the validity period of the data as a method to prevent infinite packet looping at Layer 3. If the router is incorrectly configured, the IP packet two…

  • [ACSA Education #3] Physical Media (Devices)

    ⏱️ Estimated reading time: Approx. 5 minutes (5 min read) Computer devices use different media to transmit information. Each medium has different characteristics depending on its type. Fiber optic media modulates light wavelengths, Wi-Fi modulates radio waves, and copper wire media modulates electrical characteristics such as voltage. Copper Cable past…

  • [APSC Training #5] Aruba Central Subscription Management

    ⏱️ Estimated reading time: Approx. 3 minutes (3 min read) In the previous post, we looked at adding Aruba devices to the cloud. Now, to actually operate them, we need to map subscription licenses to the devices. Let's take a look at subscription assignment and key management. HPE GreenLake Device Assignment HPE GreenLake is HPE's common…

  • [ACSA Training #10] Network Devices

    ⏱️ Estimated reading time: Approx. 9 minutes (9 min read) In enterprise network environments, hundreds or thousands of computer devices enable digital communication using different network elements. Today, we would like to discuss network devices typically deployed in LAN Campus networks. Layer 2 switches, Layer 3 routers, multi-layer switches…

  • [ACSA Training #35] Routing Types

    ⏱️ Estimated reading time: Approx. 7 minutes (7 min read) We already covered routing in the last post. We examined how actual packets move at Layer 3 along with IP routing tables. Now, let's take a look at the actual types of routing and the protocols involved. Types of routing in AOS-CX Routing devices IP routing…

  • Improve network visibility with CX switches

    ⏱️ Estimated reading time: Approx. 10 minutes (10 min read) As the complexity of IT infrastructure increases in recent years, more and more devices are being connected to networks. For network operators, the biggest challenge is determining which equipment is connected where and what actions it performs. For this reason, many observability solutions are being introduced to provide visibility and visualization. Today…