How to view and set port names on HP Procurve Switch

To view a list of port “friendly names” on an HP Procurve 2510G switch, login to the CLI and perform the following command:
show name

To change the name of a port, use the following command:
interface [number] name [name]
For example, to set port 24 to be called “uplink-to-isp”, use the following command:
interface 24 name uplinktoisp
Delete the interface name:
no interface [number] name