ip show-service-number-in-log

Displays TCP or UDP port numbers instead of the port names.
Syntax
ip show-service-number-in-log
no ip show-service-number-in-log
Command Default

By default, the device displays TCP or UDP application information in named notation.

Modes

Global configuration mode

Usage Guidelines

When this command is enabled, the device displays 80 (the port number) instead of http (the well-known port name) in the output of show commands and other commands that contain application port information.

The no form of the command displays the TCP or UDP port name.

Examples

The following example sets the display of TCP or UDP port numbers instead of their names.

device(config)# ip show-service-number-in-log