[c-nsp] show session nothing

Eloy Paris elparis at cisco.com
Wed Feb 25 10:35:12 EST 2009


Hi ann,

On Wed, Feb 25, 2009 at 07:06:48AM -0800, ann kok wrote:

> Hi
> 
> I am connecting to the router with telnet
> 
> sh sessions can't get any information
> 
> router#sh sessions
> % No connections open
> 
> Why?

"sh sessions" will tell you about connections established from the
device, i.e. outbound telnet or SSH, not inbound to the device.

> but I can get sh tcp vty 0
> 
> How can I know how many existing connections in the router?
> 
> and
> 
> How can I kill ideal connection?

If you have an outbound session you want to disconnect you can use the
"disconnect" command. If it is inbound the "clear line".

Cheers,

-- 

Eloy Paris
Cisco PSIRT
Ph: +1 919 392-9118


More information about the cisco-nsp mailing list