ip show-portname
An interface slot number (if applicable), port number, and interface type are displayed when you display syslog messages.
Global configuration mode
Syslog messages show the interface type, such as "ethernet", and so on. However,
if the
ip show-portname command is configured and a name has been assigned to the port, the port name replaces
the interface type.
The
no
form of the command displays the interface slot number and port number in syslog messages.