- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Web and Unmanaged
- >
- HP v1910 24G POE Switch - Script to Auto Reboot at...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
07-01-2015 10:18 PM
07-01-2015 10:18 PM
HP v1910 24G POE Switch - Script to Auto Reboot at Specific Time
Hi!
Could someone please post something to Auto Reboot HP v1910 24G POE Switch. I've created a .bat file, and I'm able to login into the Switch but don't know how to proceed further?
- How to put reboot command over the ssh with time?
@echo off C:\putty.exe -ssh "host" -l "username" -pw "password"
Thanx in Advance
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2015 05:56 AM
07-07-2015 05:56 AM
Re: HP v1910 24G POE Switch - Script to Auto Reboot at Specific Time
Take a look at plink and see if that is what you need. I have used that in the past to send CLI commands to individual switches.
plink <user name>@<switch ip address> -pw xxxxxxx < commands.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2015 05:46 AM
07-20-2015 05:46 AM
Re: HP v1910 24G POE Switch - Script to Auto Reboot at Specific Time
Thanx TerjeAFK for the Help!
I found the way to make it done ... using the following script ...
#!bin/sh expect - <<EOF spawn ssh admin@000.000.000.000 expect "password:" send "mypassword\r" expect "MySwitch" send "reboot\r" expect "Continue? [Y/N]:" send "Y\r" EOF
Regards