Friday, October 3, 2008

HP ProCurve Switch Tips

All these commands need to be performed while in CONFigure Terminal mode (CONF T) at the console command line:

To turn off port security:

no port-security port-#

ex: no port-security b10

To reapply port security:

port-security port-# learn-mode static address-limit 1

ex: port-security b10 learn-mode static address-limit 1


If a user has a need for more than one network device (like a printer or an extra PC using a mini hub), you can increase the number of allowable devices on the port with this command:

port-security port-# address-limit X [where X is a number from 1 to 8]

ex: port-security b10 address-limit 3

These commands can also be applied to multiple ports at the same time using a range of port numbers. Use the syntax b1-b6,c2-c7,f10-f18 for multiple ports on multiple blades. As an example to turn off port security on ports b2-b19 and g6-g11 use this command:

no port-security b2-b19,g6-g11

When done EXIT configure terminal mode, then LOGOUT to leave and YES (if asked) to save the configuration.

--------------------------------



To change banner:

conf t
banner motd 0
[enter banner and end with a "0"]


--------------------

To control Power Over Ethernet (POE):


show power-management brief


switch(config)# interface c22 power
switch(config)#
show power-management brief c22

Status and Counters - Port Power Status

| Power Configured Detection Power
Port | Enable Priority Type Status Class
----- + ------- -------- ---------------- ----------- ------
C22 | Yes Low Searching 0


switch(config)# no interface c22 power
switch(config)# show power-management brief c22

Status and Counters - Port Power Status

| Power Configured Detection Power
Port | Enable Priority Type Status Class
----- + ------- -------- ---------------- ----------- ------
C22 | No Low Disabled 0