Friday, September 25, 2009

Some Important DOS Commands

Command to view a process running on a specific network (TCP/UDP) port :


netstat -anno
 


To kill a process from DOS mode

c:/ taskkill /F /PID (pid no.)

Friday, September 11, 2009

Configuring SNMP (Simple Network Management Protocol)



switch(config)# snmp-server community (name)

switch(config)# snmp-server enable traps authentication

Thursday, September 10, 2009

Using SVN

Adding a newly created file in SVN

svn add (filename)

Committing a file in main SVN
svn ci -m "message"


Deleting a file from SVN

svn del


To update a directory from a updated revision on svn server
cd
svn up




Restoring a directory with the latest revision -
svn checkout

To get the path of the directory stored in the svn server-
cd
svn info



Wednesday, September 9, 2009

Basics of Configuring HP Procurve Managed Switches 2500 series

How to connect with the switch and configure the settings through TELNET ?

Open the command prompt and type as -
c:\ telnet (ip address of the switch)

Note : The system to which the switch is connected must be in the same IP subnet mask. For e.g

Switch IP   : 10.1.33.4
Systems IP : 10.1.33.2
Subnet Mask : 255.255.255.0 (in both)

After connecting with the switch through TELNET, you will find a screen like below-

 
or a screen like this 



Basic Setup

After entering the switch's interface through telnet (as shown above), follow the guide below to configure the basic settings of the switch through telnet.

Setting up the primary information.

At the switch prompt, type setup to enter in the switch setup mode. There you can provide the switch name, password, IP address etc.

Information can be entered through the web-interface of the switch running in a browser also but the web-interface must be enabled first. 

Enabling the web-interface management console from telnet


Follow the commands -

switch# config
switch(config)# write memory

This will save the current configuration of the switch to the flash. Now type the IP address of the switch in a browser to gain access to the web-interface and managing the switch from a GUI.

Assigning IP to HP Procurve managed switches.

How to configure a HP Procurve switch when the IP address is not known ?

Download a TFTPD Server and configure the server (tftpd32) as -

IP pool starting address : IP series like 192.168.1.1 (the system IP must be in the same mask.)
Size of pool                   : 5
Mask                            : 255.255.255.0

and Save it.

Then hold the reset and clear buttons of the switch together and release the clear button first and then the reset button once the switch is restarted. This will clear all the pre-configured settings of the switch. Then connect the switch with the system running the TFTPD server through RJ45 cable. The switch will grab one IP address from the range provided to the IP pool. Now you have the IP address of the switch to carry on further operations.