Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox

Disconnect command

From NetworkCommands


Image:Cisco-logo-large.gif

A command available on most Cisco router and switch platforms; used to disconnect or close existing telnet and other connections between the device where the command is executed, and another host.

Contents

Image:Vm-power-on-medium.png Usage Syntax

disconnect active_connection_number

disconnect ssh active_connection_number

Image:Vm-power-on-medium.png Usage Examples

disconnect 1

disconnect ssh 2

Image:accessories-text-editor-v2-medium.png Usage Notes

Except when using the ssh keyword, this command relates only to outbound connections initiated from the device the command is executed on. When using the ssh keyword this command relates to inbound ssh connections from other devices.

For non-ssh connections, connection numbers can be obtained using the show sessions command

The ssh connections, connection numbers can be obtained by using the show ssh command

Connection numbers do not change based on disconnections. Connection number 3 is not renumbered when connections 1 and 2 are disconnected.

Image:icemon-medium.png Related Commands

The connect command and telnet command can both be used to initiate outbound connections to other devices

The show sessions command can be used to display active outbound connections

The show ssh command can be used to display active inbound ssh connections

The resume command can be used to resume active outbound connections

The terminal escape sequence can be used to pause active outbound connections

Image:icemon-medium.png Related Articles

Information on other Cisco commands Image:Cisco-logo-small.png

Information on Vyatta commands Image:Vyatta-logo-small.png

Information on Extreme commands Image:Extreme-logo-small.png

Information on Linux commands Image:Tux-small.png

Information on F5 BigIP commands Image:F5-logo-small.png

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


Image:internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to steve#networkstuff.eu (replacing the # with an @)



Site Toolbox:

Personal tools
This page was last modified on 24 July 2008, at 10:02. - This page has been accessed 43 times. - Disclaimers - About NetworkCommands
Powered by MediaWiki