HP Command
HP Command
#copy config config1 usb <file name> --- Copy active config file to USB drive
#copy config config1 tftp <IP> <file name> --- Copy your config to file to TFTP server.
#copy tftp config <fileneme> <IP> ---Copy your config from TFTP server to switch
#copy tftp flash <IP> <file name> <primary|secondary> --- Download and update your flash with from TFTP server
#copy flash usb <file name> <primary|secondary> --- Copy flash to USB drive
#copy flash tftp <IP> <file name> <primary|secondary> --- Copy flash to TFTP server
2 Event Logs
#log [<port>] [-r] --- Display log events of port [most recent first]
3 Miscellaneous
#hostname <hostname> --- Set switch hostname
#link-test <destination switch MAC> --- Test connectivity between switches (local switch and destination switch)
#chassislocate --- Turn on/off switch locator led or blink it (30 minutes)
#chassislocate blink <time> --- Blink switch locator led set time in minutes
#ntp1 <time server name> --- Add time server to NTP server list
4 PoE
#show power-over-ethernet brief [<port>] --- To show PoE
#interface <port> lacp active --- Configure dynamic LACP trunk on c1-c4
#no interface <port> lacp --- Remove port from dynamic LACP (returns to passive LACP)
#[no] int <port> rate-limit all <0...100> --- Set (or remove) rate limit on port according to selected percentage
#show rate-limit all [<port>] --- Show rate limit on all or selected ports
#[no] int <port> rate-limit icmp <0...100> --- Set (or remove) rate limit to all ICMP traffic
#show rate-limit icmp [<port>] --- Show ICMP rate limit on all or selected ports
#show mac <port> --- Show MAC-address of the device on specified port
#show mac <mac address> --- Show which port device with MAC-address is connected to
#show rate-limit all [<port>] --- Show rate limit on all or selected ports
#show rate-limit icmp [<port>] --- Show ICMP rate limit on all or selected ports
8 SNMPv3
#snmpv3 enable --- Enable SNMP version 3
#snmpv3 user <user name> --- Adds an SNMP user and creates an optional password
#snmpv3 group <group> user <user> sec-model ver3 --- Adds a user to a desired access group
9 VLANs
#vlan <vlan ID> name <vlan name> --- Create VLAN and set its ID and name
#vlan <vlan ID> <tagged|untagged> <port> --- Set port as tagged on vlan
#show vlan ports <port> --- Show VLAN ID and status of specific port
#show vlan <VLAN ID> --- Show ports on this VLAN and port status