GithubHelp home page GithubHelp logo

mmumshad / cisco-fabric-switch-port-check Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 1.0 173 KB

Powershell script to check port status of multiple Cisco Fibre Channel Switches at once

License: MIT License

PowerShell 100.00%

cisco-fabric-switch-port-check's Introduction

cisco-fabric-switch-port-check

Powershell script to check port status and performance of multiple Cisco Fibre Channel Switches at once.

Download and Copy the files to a windows server with Powershell and connectivity to cisco switches.

Input File

Update input_file with list of switches, IPs, credentials and port names:

#SwitchName 	SwitchIP	SwitchPort	Username	Password	VSAN	PortName
#------------------------------------------------------------------------------------------------
MDS9513		10.0.0.123      fc3/12         	admin 		Pass1234	12	
MDS9513		10.0.0.123      fc3/1         	admin 		Pass1234	12
MDS9513		10.0.0.123      fc3/11         	admin 		Pass1234	12
MDS9513		10.0.0.123      fc3/3         	admin 		Pass1234	12
MDS9513		10.0.0.123      fc3/21         	admin 		Pass1234	12
MDS9513		10.0.0.123      fc3/5         	admin 		Pass1234	12

Execute Script

Open a powershell prompt and run the script

PS D:\Cisco> & '.\Switch Port Check'

Output

Name       Port       Description     VSAN  Status     Speed PWWN                      Input Rate      Output Rate
----       ----       -----------     ----  ------     ----- ----                      ----------      -----------
MDS9513    fc3/12                     1     down       --                              0 bits/sec      0 bits/sec
MDS9513    fc3/1                      1     notConn... --                              0 bits/sec      0 bits/sec
MDS9513    fc3/11                     1     down       --                              0 bits/sec      0 bits/sec
MDS9513    fc3/3                      1     notConn... --                              0 bits/sec      0 bits/sec
MDS9513    fc3/21
MDS9513    fc3/5                      1     notConn... --                              0 bits/sec      0 bits/sec

cisco-fabric-switch-port-check's People

Contributors

mmumshad avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

eodenyire

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.