- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- 3COM 4200G scripting
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
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
03-13-2012 07:33 AM
03-13-2012 07:33 AM
3COM 4200G scripting
Hi,
I'm trying to automate some of our switch maintenance processes and one thing I would like to do is to automatically download the switch config file. I've noticed you can do this:
ssh admin@my-4200-switch "display ?"
and it returns with the output from the display ? command. As this keeps pausing I'd like to change the screen length to 0. But only for the download session, not permanently. So how can I run more than one command via SSH, and specifically how can I run this sequence:
sys
user-interface aux 0
screen-length 0
quit
quit
display current-configuration
sys
user-interface aux 0
screen-length 24
quit
quit
Any help appreciated.
Phil
This is the switch:
<4210>dis ver
3Com Corporation
3Com Switch 4210 9-Port Software Version 3.10 Release 2212P01
Copyright (c) 2004-2010 3Com Corporation and its licensors, All rights reserved.
3Com Switch 4210 9-Port uptime is 3 weeks, 4 days, 0 hour, 7 minutes
3Com Switch 4210 9-Port with 1 Processor
64M bytes SDRAM
8M bytes Flash Memory
Config Register points to FLASH
Hardware Version is REV.D
Bootrom Version is 610
[Subslot 0] 8FE+1Combo SFP Hardware Version is REV.D