To display information about all processes
listening on active ports, use the
show ports command in
EXEC mode.
show
ports > file-name
Syntax Description
>
|
Redirects output to a file.
|
file-name
|
Name of the file to redirect.
|
\
|
Output modifier variables:
-
begin—Matched pattern. Supports up
to 80 alphanumeric characters.
-
count—Count the number of lines in
the output. Add number after the word count.
|—Output modifier variables for
count.
-
end—End with line that matches.
Supports up to 80 alphanumeric characters.
-
exclude—Exclude lines that match.
Supports up to 80 alphanumeric characters.
-
include—Include lines that match.
Supports up to 80 alphanumeric characters.
-
last—Display last few lines of
output. Add number after the word last. Supports up to 80 lines to display.
Default 10.
|—Output modifier variables for
last.
|
Command Default
No default behavior or values.
Command History
Release
|
Modification
|
2.0.0.306
|
This command was introduced.
|
Usage Guidelines
When you run the
show ports command, the
port must have an associated active session.
Example
ise/admin# show ports
Process : java (22648)
tcp: 0.0.0.0:9024, 127.0.0.1:2020, 0.0.0.0:9060, 0.0.0.0:37252, 127.0.0.1:8
005, 0.0.0.0:9990, 0.0.0.0:8009, 0.0.0.0:8905, 0.0.0.0:5514, 0.0.0.0:1099, 0.0.0
.0:61616, 0.0.0.0:80, 127.0.0.1:8888, 0.0.0.0:9080, 0.0.0.0:62424, 0.0.0.0:8443,
0.0.0.0:443, 0.0.0.0:8444
udp: 172.21.79.91:1812, 172.21.79.91:1813, 172.21.79.91:1700, 0.0.0.0:48425
, 172.21.79.91:8905, 172.21.79.91:3799, 0.0.0.0:54104, 172.21.79.91:57696, 172.2
1.79.91:1645, 172.21.79.91:1646
Process : timestenrepd (21516)
tcp: 127.0.0.1:56513, 0.0.0.0:51312
Process : timestensubd (21421)
tcp: 127.0.0.1:50598
Process : rpc.statd (3042)
tcp: 0.0.0.0:680
udp: 0.0.0.0:674, 0.0.0.0:677
Process : ttcserver (21425)
tcp: 0.0.0.0:53385, 127.0.0.1:49293
Process : timestensubd (21420)
tcp: 127.0.0.1:51370
Process : redis-server (21535)
tcp: 0.0.0.0:6379
Process : portmap (2999)
tcp: 0.0.0.0:111
udp: 0.0.0.0:111
Process : Decap_main (22728)
--More--