Management and Configuration Guide K/KA/KB.15.15

Example 56 Example of configuring a friendly port name
(HP_Switch_name#) int A3 name Bill_Smith@10.25.101.73
(HP_Switch_name#) write mem
(HP_Switch_name#) show name A3
Port Names
Port : A3
Type : 10/100TX
Name : Bill_Smith@10.25.101.73
Configuring the same name for multiple ports
Example
Suppose that you want to use ports A5 through A8 as a trunked link to a server used by a drafting
group. In this case you might configure ports A5 through A8 with the name "Draft-Server:Trunk."
Example 57 Example of configuring one friendly port name on multiple ports
(HP_Switch_name#) int a5-a8 name Draft-Server:Trunk
(HP_Switch_name#) write mem
(HP_Switch_name#) show name a5-a8
Port Names
Port : A5
Type : 10GbE-T
Name : Draft-Server:Trunk
Port : A6
Type : 10GbE-T
Name : Draft-Server:Trunk
Port : A7
Type : 10GbE-T
Name : Draft-Server:Trunk
Port : A8
Type : 10GbE-T
Name : Draft-Server:Trunk
Viewing friendly port names with other port data
Syntax
show name
Displays a listing of port numbers with their corresponding friendly port names and also quickly
shows you which ports do not have friendly name assignments. (show name data comes from the
running-config file.)
Syntax
show interface <port-number>
Displays the friendly port name, if any, along with the traffic statistics for that port. (The friendly
port name data comes from the running-config file.)
Syntax
show config
Includes friendly port names in the per-port data of the resulting configuration listing. (show
config data comes from the startup-config file.)
94 Port Status and Configuration