This article explains how to troubleshoot link flapping/port flapping issues on Cisco Business 350 series switches.
A link flap, also referred to as a port flap, is a condition in which a physical interface on the switch continually goes up and down. This occurs at a rate of three or more times a second for a duration of at least ten seconds. The common cause is usually related to bad, unsupported, or non-standard cable or Small Form-Factor Pluggable (SFP) or related to other link synchronization issues. Link flapping can be intermittent or permanent.
Link flapping is easy to identify in a network. The connectivity of certain devices will be intermittent. Link flapping can be seen and identified in the Syslog of the switch. Syslog messages provide information about events, errors, or any serious problems that happen within the switch. When reviewing your Syslogs, look for Up and Down entries that seem to be back-to-back in a short span of time. Those entries will also describe exactly which port is causing the issue so you can troubleshoot that specific port.
The firmware is the program that controls the operation and functionality of the switch. Upgrading the firmware improves the performance of the device, which could provide enhanced security, new features, and bug fixes. Upgrading firmware can be a simple solution if you begin to experience issues with your switch.
Go to Status and Statistics > System Summary.
Under Software Version you will find your current firmware version.
Navigate to CBS350 downloads on Cisco.com and check the latest version available. If you do not have the latest version, update your firmware. Click for step-by-step instructions on this process.
Test any cables being used on the port. To confirm you have the correct cables, you can refer to the device’s data sheet found here.
Try changing cables and monitoring. If the issue persists, proceed to the next step.
Change to Advanced Mode.
Go to status and Statistics > Diagnostics > Copper Test.
Select a port and press Copper Test.
A warning will appear explaining that the port will be shut down for a short period of time. Click OK.
The results will appear. If it shows that everything is okay, it is probably not the cable. If the results are not okay, change the cable and repeat the copper test to confirm that it is not the cable.
In order to confirm it is a physical problem and not a configuration on the switch, answer the following questions:
Analyze each device connected to the switch to see if that is the issue. Have you experienced any issues with those devices?
Link flap prevention minimizes the disruption to switch and network operations in a link flap situation. It stabilizes the network topology by automatically setting the ports that experience excessive link flap events to err-disable. This mechanism also provides time to debug and locate the root cause for the flapping. A Syslog message or Simple Network Management Protocol (SNMP) trap is sent to alert regarding link flap and port shutdown. The interface will become active again only if specifically enabled by you or your system administrator.
Log into your switch Web User Interface (UI).
Change to Advanced Mode.
Go to Port Management > Port Settings.
Check the Enable box for Link Flap Prevention. Press Apply.
Save your configurations by pressing the save icon.
After checking your topology, devices, and enabling link flap prevention you are still experiencing port flapping, try disabling Energy Efficient Ethernet (EEE). The purpose of EEE is that Ethernet links have idle time and the opportunity to save energy. However, not all devices are compatible with EEE 802.3AZ, and disabling it may be the best course of action.
Log into the switch Web UI.
Choose Advanced display mode in the upper right corner of your screen.
Go to Port Management > Green Ethernet > Properties.
Disable 802.3 Energy Efficient Ethernet (EEE) by unchecking the enable box. Press Apply.
Save configurations by pressing the save icon.
The Smartport feature applies a preconfigured setup to that switch port based on the type of device that is trying to connect. Auto Smartport lets the switch apply these configurations to interfaces automatically when it detects the device. However, at times a Smartport may detect the device incorrectly, which can cause port flapping. To ensure this is not occurring, you can disable the Smartport feature.
Navigate to Smartport > Properties.
At this location, you can view the Smartport settings or simply disable the feature if you choose. Adjust as needed and click Apply.
For more options, change Display Mode from Basic to Advanced. This is located in the top-right corner of your screen.
To permanently save your configurations, click the save icon.
Link flapping can be debilitating in a network and with this document you have learned how to diagnose, prevent, and help solve the problem.
Having other Smartport issues? Diagnose Smartports here.
Looking for more articles on your CBS250 or CBS350 switch? Check out any of the links below for more information!
Revision | Publish Date | Comments |
---|---|---|
1.0 |
21-Jul-2021 |
Initial Release |