Thursday, May 14, 2009
Saturday, May 9, 2009
Update Firmware via SFTP/SCP
Configure the switch to allow file transfer via SSH:
Then conenct via SFTP to the switch and upload the firmware:
ip ssh
ip ssh filetransfer
scp /path/to/image user@switch.fqdn.com:/os/primary
Then simply reboot the switch:
boot system flash primary
Thursday, May 7, 2009
How to configure VLANs in HP Procurve
Here are the command to configure VLANs in HP Procurve
Its pretty easy to create vlan in HP procure Switches Follow the following steps
Cofig t
vlan 10
name "VLAN10"
untagged 1-12
ip address 192.168.10.1 255.255.255.0
tagged 25-26
exit
vlan 11
name "VLAN11"
192.168.11.1 255.255.255.0
untagged 13-24
tagged 25-26
exit
ip routing
tagged 25-26 is equivalent to trunking for Cisco Switches
untagged command make the required ports to be the part of vlan you want.
From the above example ports 1 - 12 are part of vlan 10 & port from 13-24 part of vlan 11 and ports 25 & 26 are trunk ports can carry vlan information for vlan 10 & 11 make sure you configure ip routing to en bale intervlan routing
Also check this post
http://www.experts-exchange.com/Networking/Networking_Hardware/Switches/Q_23529300.html
DHCP Snooping on HP Procurve
The documentation for HP’s DCHP-snooping is limited, but there is a rather good description to be found in the firmware documentation (beginning from page 80).
There are several ways in which DHCP-snooping can work, in this example I’ll use a simple, port-based configuration.
SomeCoolSwitch# config
SomeCoolSwitch(config)# dhcp-snooping
SomeCoolSwitch(config)# dhcp-snooping vlan 1
SomeCoolSwitch(config)# interface 26
SomeCoolSwitch(eth-49)# dhcp-snooping trust
SomeCoolSwitch(eth-49)# exit
SomeCoolSwitch(config)# write mem
The command “dhcp-snooping” will globally enable DHCP-snooping. You will have to enable DHCP-snooping on certain VLANs to make it work. When enabled on a VLAN, all ports of the switch will be (by default) untrusted, in this example I set “interface 26″ to be the trusted switchport. When implementing into a larger network, uplink ports or trunks will have to be trusted.