05.01.2013 Views

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

356 Chapter 7 � Managing a <strong>Cisco</strong> Internetwork<br />

Closing Telnet Sessions<br />

You can end Telnet sessions a few different ways. Typing exit or<br />

disconnect is probably the easiest and quickest.<br />

To end a session from a remote device, use the exit command.<br />

2509# (I pressed enter twice here)<br />

[Resuming connection 2 to 192.168.0.148 ... ]<br />

switch>exit<br />

[Connection to 192.168.0.148 closed by foreign host]<br />

Todd2509#<br />

To end a session from a local device, use the disconnect command.<br />

Todd2509#disconnect ?<br />

The number of an active network connection<br />

WORD The name of an active network connection<br />

<br />

Todd2509#disconnect 1<br />

Closing connection to 172.16.10.2 [confirm]<br />

Todd2509#<br />

In this example, I used the session number 1 because that was the connection<br />

to the 2501B router that I wanted to end. As explained earlier, you can use<br />

the show sessions command to see the connection number.<br />

If you want to end a session of a device attached to your router through<br />

Telnet, you might want to first check if any devices are attached to your<br />

router. Use the show users command to get that information.<br />

2501B#sh users<br />

Line User Host(s) Idle Location<br />

* 0 con 0 idle 0<br />

1 aux 0 idle 0<br />

2 vty 0 idle 0 172.16.10.1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!