Configuring and operating rules for friendly port names
• At either the global or context configuration level, you can assign a unique name to a port. You can also assign
the same name to multiple ports.
• The friendly port names you configure appear in the output of the
show name
[
port-list
],
show config
, and
show interface <
port-number
>
commands. They do not appear in the output of other
show
commands or in Menu interface screens. (See
Displaying friendly port names with other port data (CLI)
page 92.)
• Friendly port names are not a substitute for port numbers in CLI commands or Menu displays.
• Trunking ports together does not affect friendly naming for the individual ports. (If you want the same name for
all ports in a trunk, you must individually assign the name to each port.)
• A friendly port name can have up to 64 contiguous alphanumeric characters.
• Blank spaces within friendly port names are not allowed, and if used, cause an
invalid input
error. (The switch
interprets a blank space as a name terminator.)
• In a port listing,
not assigned
indicates that the port does not have a name assignment other than its fixed
port number.
• To retain friendly port names across reboots, you must save the current running-configuration to the startup-
config file after entering the friendly port names. (In the CLI, use the
write memory
command.)
Configuring friendly port names (CLI)
For detailed information about friendly port names, see
Using friendly (optional) port names
on page 90.
Syntax:
interface <
port-list
> name <
port-name-string
>
Assigns a port name to port-list.
Syntax:
no interface <
port-list
> name
Deletes the port name from <
port-list
>.
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
switch(config)# write mem
switch(config)# show name A3
Port Names
Port : A3
Type : 10/100TX
Chapter 3 Port Status and Configuration
91