Last updated: 2021-01-31

HP 5900 Switch Network OS Commands

Links to guides:

High-level seutp notes: https://docs.google.com/document/d/11A2tENiybmnQgxCEFx-PRmQk1Nbc2hVbdmesPKA1yT0/edit

NOTE: Remember to save any changes before exiting if you want the configuration to persist after startup.
Simply log into the switch and type: save safely

Display status on a port

display interface Ten-GigabitEthernet 1/0/<port num>

Change MTU on a port

system-view
interface Ten-GigabitEthernet 1/0/<port num>
jumboframe enable <mtu size>

Enabling SSH

system-view
local-user <username>
password simple <password>
authorization-attribute user-role network-admin
quit
user-interface vty 0 15
authentication-mode scheme
idle-timeout 0 0
protocol inbound ssh