Configuring a single port name (CLI)
Suppose that you have connected port A3 on the switch to Bill Smith's workstation, and want to assign Bill's name and workstation IP address (10.25.101.73) as a port name for port A3:
Configuring a friendly port name
switch(config)# int A3 name Bill_Smith@10.25.101.73 switch(config)# write mem switch(config)# show name A3 Port Names Port : A3 Type : 10/100TX