Disconnect command
From NetworkCommands
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 |
Usage Syntax
disconnect active_connection_number
disconnect ssh active_connection_number
Usage Examples
disconnect 1
disconnect ssh 2
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.
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
Related Articles
Information on other Cisco commands
Information on Vyatta commands
Information on Extreme commands
Information on Linux commands
Information on F5 BigIP commands
Information on Blue Coat SGOS commands
Information on Nokia IPSO commands







