mac-learning issue with 8325Aruba CR: 90598
Affected platform: 8325
Symptom: MAC learning stops.
Scenario: Under extremely rare DMA stress conditions, an L2 learning thread may timeout and exit preventing future MAC learning.
Workaround: Reboot the switch or monitor the L2 thread and restart it with an NAE script.
Fixed in: 10.06.0130, 10.7.0010, and above.
Run an NAE script on the 8325 platform switches to resolve MAC learning issue.
/tmp and runs every 60 secondsBCML2X has quit unexpectedly, attempting to restart...grep on /var/log/messages/rest/v10.04/logs/event?SYSLOG_IDENTIFIER=root&since=yesterdayeMMC health if planning to run for a long timeshow system resource | include utilizAfter the script has been successfully installed, the Network Analytics Engine will monitor the switch and automatically fix the MAC learning issue.
The automated install script will upload and enable the NAE script.
nae-upload.py script relies on /etc/hosts file to pull IP addresses of the switch. Without this information the script will not run.admin for the switch and it will prompt for the password.NOTE: The nae-upload.py script automatically detects 8325 switches and only applies the fix to this platform.
Ensure the latest documentation RPM is installed on the NCN where this procedure is being performed.
Run the install script.
ncn-m001# /usr/share/doc/csm/upgrade/1.0.1/scripts/aruba/nae_upload.py
When prompted, enter the switch password.
Example output:
Switch login password:
Traceback (most recent call last):
File "./nae_upload.py", line 57, in <module>
platform = system.json()
File "/usr/lib/python3.6/site-packages/requests/models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib64/python3.6/site-packages/simplejson/__init__.py", line 518, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python3.6/site-packages/simplejson/decoder.py", line 373, in decode
raise JSONDecodeError("Extra data", s, end, len(s))
simplejson.errors.JSONDecodeError: Extra data: line 1 column 5 - line 1 column 27 (char 4 - 26)
Example output:
Switch login password:
L2X-Watchdog NAE script is already installed on sw-spine-001.
L2X-Watchdog NAE script is already installed on sw-spine-002.
Download the NAE script to a system with web access to a AOS-CX device.
See Script locations for links to the script.
Log in to an AOS-CX device via the Web User Interface.
Navigate to the Scripts page.
Click on the Analytics section on the left.
Click on the Scripts button in the top, middle section.
On the Scripts page, click the Upload button and select the NAE script on the local system.
This will install the NAE script to the AOS-CX device.
Create an agent to run the script.
On the Scripts page, click the Create Agent button.
When prompted, enter any name for the agent. All other values should be left as default.
Click Create.
Confirm that the Agent is running.
Navigate to the Agents page.
Click on the agent created in the previous step.
Confirm that it is running and no errors have been generated.