Professional Documents
Culture Documents
Laboratorio 4
Laboratorio 4
Password: Cisco123
R1#
Step 3: Return to the console of R1 and review the open ports. You may want to use the
Cisco IOS command recall feature to re-enter the command.
There is an extra line in the output when compared with the last execution. It shows a
second line that is associated with TCP port 23. In this case, the foreign address is
populated. The IPv4 address is 10.10.1.10 (the address of PC1). The foreign port number
might not be the same as what is shown in the example because it is an ephemeral port. An
ephemeral port is allocated automatically for a short time from a predefined range by the
IPv4 stack software.
R1# show control-plane host open-ports
Active Internet connections (servers and established)
Prot Local Address Foreign Address
Service State
tcp *:22 *:0 SSH-
Server LISTEN
tcp *:23 *:0
Telnet LISTEN
tcp *:80 *:0 HTTP
CORE LISTEN
tcp *:80 *:0 HTTP
CORE LISTEN
tcp *:443 *:0 HTTP
CORE LISTEN
tcp *:443 *:0 HTTP
CORE LISTEN
tcp *:23 10.10.1.10:14044
Telnet ESTABLIS
udp *:123 *:0
NTP LISTEN
Step 4: Access the console of PC2 and use Telnet to connect to R1. The password for R1
is Cisco123.
The prompt changes from PC2 to R1 because you are now connected to R1 via Telnet from
PC2.
PC2# telnet 10.10.1.1
Trying 10.10.1.1 ... Open
Password: Cisco123
R1#
Step 5: Return to the console of R1 and review the open ports. You may want to use the
Cisco IOS command recall feature to re-enter the command.
There is an extra line in the output that shows an additional connection to TCP port 23,
while the foreign address is populated with the IPv4 address of 10.10.1.20 (the address of
PC2). The foreign port number for this connection also might not be the same as what is
shown in the example because it will be an ephemeral port. The existing connection from
PC1 is retained.
R1# show control-plane host open-ports
Active Internet connections (servers and established)
Prot Local Address Foreign Address Service
State
tcp *:22 *:0 SSH-Server
LISTEN
tcp *:23 *:0 Telnet
LISTEN
tcp *:80 *:0 HTTP CORE
LISTEN
tcp *:80 *:0 HTTP CORE
LISTEN
tcp *:443 *:0 HTTP CORE
LISTEN
tcp *:443 *:0 HTTP CORE
LISTEN
tcp *:23 10.10.1.20:15026 Telnet
ESTABLIS
tcp *:23 10.10.1.10:14044 Telnet
ESTABLIS
udp *:123 *:0 NTP
LISTEN
Step 6: Return to the console of PC1 and use the exit command to disconnect the Telnet
session to R1.
The prompt returns to PC1 because you are no longer connected to R1.
R1# exit