- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- PCM+: Getting tech info from multiple switches
Switches, Hubs, and Modems
1753465
Members
4572
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2005 10:42 PM
тАО10-16-2005 10:42 PM
PCM+: Getting tech info from multiple switches
I've tried many times to use a policy to dump
tech-info from many switches to file.
Most switches fail with the error:
CLI Timeout: Termination Prompt not found
Seems random what fails and what doesn't.
The policy runs two commands:
exit (to get out of config context) and
"sh tech".
So, what's that timeout about?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2005 01:05 AM
тАО10-17-2005 01:05 AM
Re: PCM+: Getting tech info from multiple switches
Well... if you did not say "random", I would have guessed that some of the switches default to the menu rather than the CLI.
I have tried using the CLI wizard/policy to pull info from all my switches, but there lacks the availability to create unique filenames to reflect the IP or name of the device and the time of the extraction. I finally gave up on getting PCM to do it and ended up scripting HyperTerm with AutoIT/KiX.
There are also several scriptable telnet programs but I couldn't be bothered to learn the syntax.
Even with my poor man's solution, I get the odd timeout but it always runs perfectly the second time around. It would appear that one or two of my switches are slow to come around on the first try. I found that if I telnet logon before running the script, it works fine. You might try sending out a policy that simply logs off just before the one that does the work.
I have tried using the CLI wizard/policy to pull info from all my switches, but there lacks the availability to create unique filenames to reflect the IP or name of the device and the time of the extraction. I finally gave up on getting PCM to do it and ended up scripting HyperTerm with AutoIT/KiX.
There are also several scriptable telnet programs but I couldn't be bothered to learn the syntax.
Even with my poor man's solution, I get the odd timeout but it always runs perfectly the second time around. It would appear that one or two of my switches are slow to come around on the first try. I found that if I telnet logon before running the script, it works fine. You might try sending out a policy that simply logs off just before the one that does the work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 10:51 PM
тАО10-19-2005 10:51 PM
Re: PCM+: Getting tech info from multiple switches
Well, I didn't have much luck with that, ufortunately. It's no big deal, I use Perl and Net:Telnet for the job, anyway.
It just annoys me that PCM doesn't handle this.
It just annoys me that PCM doesn't handle this.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP