HP

ProCurve Switch 2520G-8-PoE

General

 boot                  Reboot the device.
 clear                 Clear table/statistics or authorized client public keys.
 configure             Enter the Configuration context.
 copy                  Copy datafiles to/from the switch.
 debug                 Enable/disable debug logging.
 end                   Return to the Manager Exec context.
 erase                 Erase stored data files.
 getMIB                Retrieve and display the value of the MIB objects specified.
 kill                  Kill other active console, telnet, or ssh sessions.
 log                   Display log events.
 page                  Toggle paging mode.
 print                 Execute a command and redirect its output to the device channel for current session.
 redo                  Re-execute a command from history.
 reload                Warm reboot of the switch.
 rename                Change the name of the configuration OLDNAME to NEWNAME.
 repeat                Repeat execution of a previous command.
 setMIB                Set the value of a MIB object.
 setup                 Enter the 'Switch Setup' screen for basic switch configuration.
 ssh                   Initiate a SSH client session to another network device.
 startup-default       Set the default configuration file.
 task-monitor          Enable the task monitoring of the specified feature.
 telnet                Initiate an outbound telnet session to another network device.
 terminal              Set the dimensions of the terminal window.
 test                  Run diagnostic tests.
 update                Enter Monitor ROM Console.
 walkMIB               Walk through all instances of the object specified displaying the MIB object names, instances and values.
 write                 View or save the running configuration of the switch.
 chassislocate         Control the chassis locate led.
 display               Display current system information.
 enable                Enter the Manager Exec context.
 exit                  Return to the previous context or terminate current console/telnet session if you are in the Operator context level.
 link-test             Test the connection to a MAC address on the LAN.
 logout                Terminate this console/telnet session.
 menu                  Change console user interface to menu system.
 page                  Toggle paging mode.
 ping                  Send IPv4 ping request(s) to a device on the network.
 ping6                 Send IPv6 ping request(s) to a device on the network.
 show                  Display switch operation information.
 traceroute            Trace the IPv4 route to a device on the network.
 traceroute6           Trace the IPv6 route to a device on the network.
 verify                Verify the signature of a switch firmware image.

SSH connection

ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-rsa -oMacs=+hmac-sha1 admin@192.168.1.100

Log

clear log

Log in reverse order

log -r

DNS


ip dns server-address priority 1 8.8.8.8
ip dns server-address priority 2 8.8.4.4

SNTP

For Berlin:

time timezone 120
time daylight-time-rule western-europe
timesync sntp
sntp unicast
sntp server priority 1 81.7.16.52
sntp server priority 2 172.104.134.72
sntp server priority 3 185.197.135.6

RADIUS

show radius
# radius-server
 dead-time             Server unavailability time (default is 0, use the 'no'
                       form of command to set the dead-time to 0).
 dyn-autz-port         UDP port number to listen for Change-of-Authorization
                       and Disconnect messages (default is 3799).
 host                  IP address of the RADIUS server to use.
 key                   Global encryption key (default is NULL).
 retransmit            Number of packet retransmits (default is 3).
 timeout               Server timeout interval (default is 5).

Show the vlan specifics for a port

show vlans ports ethernet 6 detail

IPMI

HP Proliant DL180 G6

The Light out 100 default administrator account user name is admin, and the default password is admin.

HO iLO License Activation Keys

The below License keys will work on most of the HP Server systems (based on a trial mode)

iLO Standard Trial License Key:
34T6L-4C9PX-X8D9C-GYD26-8SQWM

iLO 1 Advanced License Keys:
247RH-ZPJ8S-7B17D-FCE55-DDD17

iLO 2/3/4 Advanced License Keys:
35DPH-SVSXJ-HGBJN-C7N5R-2SS4W
35SCR-RYLML-CBK7N-TD3B9-GGBW2

src: https://www.chathuraariyadasa.com/ho-ilo-license-activation-keys/
https://unixonline.ir/hpe-ilo-license-activation-keys/

HPLIP – HP Linux Imaging and Printing System

To install the latest driver (to have the scanner work, if any):

hp-plugin -i