Meraki Organization Port Checker

This script provides an automatic, 0-effort way to proactively check all MS model switch ports in your Meraki organization.

published

Contacts

  • Iván Ces Gándara

Solution Components

  • Python3
  • Meraki Dashboard API
  • Excel

Dependencies/Environment

Required Packages

  • Requests (pip install requests)
  • Pandas (pip install pandas)

Provided under requirements.txt

Starting the Application

Once Dependencies are installed:

Modify the following lines on the code:

Line 23 -> Modify it with the base URL of your Meraki Dashboard.

Line 37 -> Modify it with your user's API key.

Start Application

  • Navigate on the CMD into the folder where the script is located.
  • Execute the script "meraki_org_port_check.py" with Python

Application Output

  • The application will generate an Excel file with the state of all ports MS switches on the organization and, if some port is on error/failure state, the application will note the error description on the Excel for a quick view of the entire organization failures.

You can see an example of the Excel here

Developer Resources

LICENSE

Provided under MIT License, for details see here

CODE_OF_CONDUCT

Our code of conduct is available here

CONTRIBUTING

See our contributing guidelines here

DISCLAIMER:

Please note: This script is meant for demo purposes only. All tools/ scripts in this repo are released for use "AS IS" without any warranties of any kind, including, but not limited to their installation, use, or performance. Any use of these scripts and tools is at your own risk. There is no guarantee that they have been through thorough testing in a comparable environment and we are not responsible for any damage or data loss incurred with their use.
You are responsible for reviewing and testing any scripts you run thoroughly before use in any non-testing environment.

View code on GitHub
  • Owner

  • Contributors

    +1Github contributor
  • Categories

  • Products

    Meraki
  • Programming Languages

    Python
  • License

    MIT License

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.