Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands disconnect
2-161
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
22
disconnect
To close an active console port or Telnet session, use the disconnect command.
disconnect {ip_addr | console}
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines If multiple sessions from the same IP address exist, the disconnect command checks if the current
process is also from the same IP address. If it is not, all Teln et ses sions f rom the s pecif i ed IP ad dres s are
disconnected. If it is, all sessions, other than the current session, are disconnected. The system prom pts
whether or not to disconnect the current Telnet session. You can answer n and remain connected or
answer y and be disconnected.
Examples This example shows how to close a Telnet session to host 198.134.214.4:
Console> (enable) disconnect 198.134.214.4
Telnet session from 198.134.214.4 disconnected. (1)
Console> (enable)
This example shows how to close the current console session:
Console> (enable) disconnect console
Console session disconnected.
Console> (enable)
Related Commands telnet
ip_addr IP address or IP alias.
console Denotes an active console port.