Get support for 3Com 4800G - Switch

3Com 4800G Support Question

3Com 4800G Support Question

Find answers below for this question about 3Com 4800G - Switch.
Need a 3Com 4800G manual? We have 1 online manual for this item!
Question posted by aloksethumadhavan on July 4th, 2011

Port Disable/enable Script To Be Run On Switch

Hi, I have a 3com 4800G 52 port switch which is used.I need to run a script from a remote linux machine to disable/enable the switch ports continuously for some time.please help me with the command to configure an ip address to the management port of switch and also commands to disable and enable ports of switch.If i have these two things done i can run a script from remote machine to throw commands to managment ip of switch to do the job.

Current Answers

Answer #1: Posted by kcmjr on July 6th, 2011 2:10 PM
This answer was accepted by the poster of the original question.
kcmjr

Member since:
May 5th, 2011

Points: 4,254,255
1,110
points
You are asking a lot.  I would recommend that you read the manuals and understand how to configure the switch before you attempt this.  You need a telnet script to connect to the switch and then send it commands.

The quick reference guide is here: http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02586147/c02586147.pdf?jumpid=reg_R1002_USEN

What I will do is give you the basics but you will need to determine the final script configuration.  The script I am going to list is a PowerShell script.  It can be converted to a shell script or DOS batch with minimal effort.  Each line explains what it does.  The script is written for a cisco switch so the commands will need to be adjusted since I do not have a 3com switch here to try it on.

# Configure the Switch
# Carriage Return + Line Feed string
$CRLF = "`r`n"

#IP of the switch or machine
$IP = "192.168.1.1"

#Telnet Port
$Port = 23

# Create a Telnet Instance.
$Client = New-Object Telnet.TelnetClient

$Client.CommandPrompts = "#,>";
$Client.PassWordPrompt = "Password:";

# Connect to the IP.
$Client.Connect($Port, $IP)

if($Client.Connected) {

#Send enable
$Client.Send("enable" + $CRLF)

#Send Config t
$Client.Send("config t" + $CRLF)

#Disable the port
$Client.Send("interface gigabitethernet 0/1" + $CRLF)
$Client.Send("shutdown" + $CRLF)

#Enable the port
$Client.Send("interface gigabitethernet 0/1" + $CRLF)
$Client.Send("no shutdown" + $CRLF)

#Exit config mode
$Client.Send("end" + $CRLF)

#Save config
$Client.Send("write mem" + $CRLF)


Licenses & Certifications: Microsoft, Cisco, VMware, Novell, FCC RF & Amateur Radio licensed.

Related 3Com 4800G Manual Pages

Getting Started Guide - Page 3

... Conventions 5 Related Documentation 5 1 PRODUCT OVERVIEW Introduction 7 Switch 4800G 24-Port 8 Switch 4800G PWR 48-Port 11 Switch 4800G PWR 24-Port 13 Switch 4800G 24-Port SFP 17 Switch 4800G 48-Port 18 System Specifications of the Switch 4800G Series 22 Pluggable Modules 22 Optional Interface Modules 23 CX4 Cable 24 2 PREPARATING TO INSTALL THE SWITCH Safety Precautions 25 Installation Site 25...
Getting Started Guide - Page 4

... Loading 61 Remote Software Loading 70 6 MAINTENANCE AND TROUBLESHOOTING Software Loading Failure 73 Password Loss 73 Power Supply Failure 74 Configuration System Failure 74 A LIGHTNING PROTECTION FOR THE SWITCH Installating the Lightning Arrester for AC Power (Socket Strip with Lightning Protection) 75 Installation of Lightning Arrester for Network Port 76 B 3COM NETWORK MANAGEMENT 3Com Network...
Getting Started Guide - Page 7

... Model Switch 4800G 24-Port Switch 4800G PWR 48-Port Switch 4800G PWR 24-Port Switch 4800G 24-Port SFP Switch 4800G 48-Port Number of auto-sensing 10/100/1000Base-T Ethernet ports 24 48 24 48 8 Number of Number of the Switch 4800G. Table 3 Mapping between the two ports forming a Combo port, refer to operate at a time. Through the 3Com proprietary cluster management, you can also be used...
Getting Started Guide - Page 8

... For the convenience of monitoring the running of the Switch 4800G, LEDs are also equipped on the rear panel. Figure 2 shows the appearance of the Switch 4800G 24-Port (1) (2) (3) (4) (5) (6) (7) (8) (10) (9) (1) Auto-sensing 10/100/1000Base-T Ethernet port status LEDs (2) SFP port status LEDs Switch 4800G 24-Port Appearance The Switch 4800G 24-Port provides twenty-four auto-sensing 10...
Getting Started Guide - Page 9

... started normally. The power is running a power-on the panel. Switch 4800G 24-Port 9 (3) Console port (5) Power LED (7) LED for extended module slot 1 (9) Mode LED (4) 7-segment digital LED (6) RPS LED (8) LED for heat dissipation. The system is disconnected. You can be used. ■ AC power input Rated voltage range: 100 VAC to 240 VAC, 50 Hz...
Getting Started Guide - Page 10

...No module is solid red. For a command switch, the LED displays C. A bar rotates... test ID of the Switch 4800G 24-Port LED Redundant power system...running Description The AC power supply is normal and the RPS is connected and works normally. 10 CHAPTER 1: PRODUCT OVERVIEW Table 4 LEDs on the front panel of the failed test. Fan failure The power LED is only one unit. For a member switch...
Getting Started Guide - Page 14

... in the equipment room cannot be used for the Switch 4800G PWR 24-Port. Otherwise, the device may be used directly. The power is running a power-on self-test (POST). Table 5 Descriptions of the LEDs on the panel. You can switch the Mode LED display mode between speed, duplex, and PoE by 3Com can adopt AC power input...
Getting Started Guide - Page 15

... power LED is solid red. The LED displays t. For a command switch, the LED displays C. No module is installed. The switch does not support the module or a module failure occurs. Switch 4800G PWR 24-Port 15 Table 5 Descriptions of the LEDs on the front panel of Switch 4800G PWR 24-Port LED Redundant power system LED Mark Status RPS Solid...
Getting Started Guide - Page 20

...Table 6 Description of LEDs on the front panel of the Switch 4800G 48-Port LED Mode LED System power LED Mark Status Mode Speed Solid... green Flashing yellow OFF Description Rate of the port Duplex of the port The switch is installed. A power module is installed in... the POST or a power failure occurs. Some ports fail the POST or a port failure occurs. A power module is installed in position...
Getting Started Guide - Page 21

...port fails the POST. When data is being received or sent, the LED flashes at a high frequency. The port fails the POST. Switch 4800G 48-Port... POST test ID of the Switch 4800G 48-Port LED 7-segment digital LED Mark Status Unit POST running Description The power LED flashes ... solid red. No link is only one unit. The port operates in the full duplex mode. Over-temperature alarm The...
Getting Started Guide - Page 51

...hot pluggable. ■ Make sure that the cable bending radius is no less than eight times the cable diameter when connecting the CX4 cable. Verifying the Installation Check the following: &#...to horizontally unplug the CX4 cable connector from the CX4 port. If there are cables outdoors, the socket strip with the one labeled on the switch. ■ The grounding cable is properly grounded. 2 ...
Getting Started Guide - Page 53

... the DB-9 female connector of the console cable to the serial port of the PC or terminal where the switch is to be configured. 2 Connect the RJ-45 connector of the console cable to the console port of the switch. 1 Start the PC and run the terminal emulation program such as the Terminal of Windows 3.1 or...
Getting Started Guide - Page 57

...) used for your choice(0-9): Table 15 describes the fields above. Powering On the Switch The Switch 4800G have been set the startup mode to the next section. ■ If you want to flash 2. The normal startup mode takes a little longer time than the fast startup mode because of Switch 4800G 48-Port as an example: Starting...... * * * 3Com Switch 4800G 48-Port BOOTROM...
Getting Started Guide - Page 59

... from flash 5. Skip current configuration file 8. Set bootrom password ...Address : 00e0fc005502 Press Ctrl-B to enter Boot Menu... 0 In normal startup mode, the waiting time here is displayed: Auto-booting... Initialize: The system displays the following information: Starting...... * * * 3Com Switch 4800G 48-Port BOOTROM, Version 205 * * * Copyright(c) 2004-2008 3Com...
Getting Started Guide - Page 68

n You can use one PC as required: Load File name Switch IP address Server IP address :Switch 4800G.btm :1.1.1.2 :1.1.1.1 5 Press Enter after entering the information above. Set TFTP protocol parameter 2. Return to boot menu Enter your choice(0-9):" select 6 in Figure 66, connect the switch through an Ethernet port to the TFTP server, and connect the switch through the console port to show...
Getting Started Guide - Page 69

... load the host software of the program to be downloaded. 3 Run the terminal emulation program on the configuration PC. Start the switch. At the prompt "Enter your choice(0-9):" select 6 in Figure 67, connect the switch through an Ethernet port to the configuration PC. It is used in IP networks. In the following information: 1. n You can act as those...
Getting Started Guide - Page 70

... You can telnet to the switch, and then execute the FTP commands to download the host program Switch 4800G.bin and the Boot ROM program Switch 4800G.btm from the remote FTP server (with IP address 10.1.1.1) to load Boot ROM and host software remotely. Set FTP protocol parameter 3. Figure 68 Load software using FTP remotely Switch PC Ethernet port IP network FTP Client FTP...
Getting Started Guide - Page 73

...IP address, software name, or path of the TFTP server when using TFTP. ■ Enter an incorrect IP address, software name, username, or password when using...runs the original version. Skip current configuration file 8. Select application file to check for help. In this case, check whether the physical ports... password 6. Set switch startup mode 0. After the switch is restarted, the...
Getting Started Guide - Page 76

...in reverse direction. Step 3: Use the multimeter to the reverse ...port, connect the arrester with switch by yourself if needed. The arrester should correctly locate the problem, whether it means that arrester is not well grounded. If it means that the arrester is not well grounded yet. 76 CHAPTER A: LIGHTNING PROTECTION FOR THE SWITCH the lightning arrester of power is running...
Getting Started Guide - Page 77

... and maintenance guide of the switch. In practice, the "IN" end should be affected: ■ Lightning arrester for network port is installed in the installation process, otherwise, the performance of lightning arrester for network port Network cable indoors Network cable led into the arrester's OUT end). Step 5: Use the nylon ties to bundle the...

Similar Questions

Forget My Default Username And Password 3com Switch 3824
forger my default username and password what i will do please help forget my default username and pa...
(Posted by raminshaaban 9 months ago)
Poe Ports
Are the PoE ports identifiable on this switch?
(Posted by aguidry 8 years ago)
Enable The Ports Of 3com 3c17203
how to enable the front data ports of 3c17203
(Posted by rishanmicrotechnica 11 years ago)
Some Ports On Switch Not Working
i have change utp cable ,ethernet card on computer ,power off-on the switch badthe port on switch no...
(Posted by jpanopoul 13 years ago)
Ask a New Question
Use the box below to post a new question about this 3Com product .
Points & Prizes
  • You can earn points for nearly everything you do on HelpOwl.com
  • You can trade in those points for gift cards at leading retailers such as Amazon.com and Walmart
  • It's that simple!
See How it Works
Create a Free Account

3Com Manuals

Find free 3Com 4800G - Switch manuals and user guides available at ManualOwl.com. Try out our unique manual viewer allowing you to interact with manuals from directly within your browser!

3Com Reviews

View thousands of 3Com user reviews and customer ratings available at ReviewOwl.com.

Contact Information

Complete 3Com customer service contact information including steps to reach representatives, hours of operation, customer support links and more from ContactHelp.com.

Scoreboard Ratings

See detailed 3Com customer service rankings, employee comments and much more from our sister site.