cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
723
Views
0
Helpful
3
Replies

linking show commands to multiple FEX on a 5k

smurp0513
Level 1
Level 1

I'm looking for a process to link multiple show commands to multiple fex on a 5k.

 

I want to pull tail-drop stats for all the FEX on a particular 5k.

 

Attach fex 100

dbgexec woo show new_ints all

and

show platform software woo ints | in 'tail drop' | ex '|8 

 

exit

 

Then attach fex 200, and so on.

 

As you can imagine it's back breaking to do this for 20+ 5k with 10-15 FEX per 5k.

 

 

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

Not sure if there a command to give you multiple outputs at the same time since you have to log in to every FEX.  Maybe you or someone else can write a script and automate this for you.

HTH

That is what I was going to do, but I need to get the output for a report, so will do it manually for now, but would like something in place in the future. Some quick python would do it, I imagine. I almost had it working in an NCM Job in solarwinds, but that had some issues.

Yes, I think you are on the right track with some Python scripting.  It is probably a little tricky because you have to log in to the switch first and then to the FEX. Also, it may be worth calling Cisco and asking them what they recommend, as I am sure they have seen this before in data center environments with large number of FEXs.

Good Luck! 

Review Cisco Networking for a $25 gift card