[c-nsp] 2801 as console server

2009-09-16 Thread Holemans Wim
I've been looking through the Cisco doc but didn't found what I was
looking for, therefor this question :

 

I transformed a 2801 router which we used as a dialin server to a
console server. The config seems to work, I can do a 

telnet xxx 2018  to get access to serial port 0/1/1, also ssh -l
user:portnumber works. But I still have 2 problems :

-The escape character doesn't work when using ssh, also e.g.
defining CTRL-Z as disconnect character doesn't work. The only way to
stop the connection, is by killing it at the ssh client side. Is there
another way to stop the ssh connection, just like the telnet escape
character ?

-Is there a way to access the async line from within the router
itself ? So just a telnet/ssh to the router and then something like
'connect line XXX'  ? The connect command on the router seems an
equivalent of telnet for outgoing tcp sessions and I don't see another
command that could do this.

 

I'm running c2801-ipbasek9-mz.124-25a on the router.

Thanks,

 

 

Wim Holemans

Netwerkdienst Universiteit Antwerpen

 

___
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/


Re: [c-nsp] 2801 as console server

2009-09-16 Thread Ronan Mullally
Hi Wim,

On Wed, 16 Sep 2009, Holemans Wim wrote:

 -Is there a way to access the async line from within the router
 itself ? So just a telnet/ssh to the router and then something like
 'connect line XXX'  ? The connect command on the router seems an
 equivalent of telnet for outgoing tcp sessions and I don't see another
 command that could do this.

I've done this in the past by connecting to an IP address on the router -
the one assigned to the ethernet interface for example.  We use a 2511 as
a console server for last resort access to devices.  In the worst case
scenario if the ethernet interface is down we access it via the console
port.  If that's the case then the ethernet IP address won't be reachable.
I've assigned a loopback IP address (192.168.0.0/32 I think) and use that
instead (router telnet 192.168.0.0 2001)

Hope this helps.


-Ronan
___
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/


Re: [c-nsp] 2801 as console server

2009-09-16 Thread Brian Turnbow


 -Is there a way to access the async line from within the router
 itself ? So just a telnet/ssh to the router and then something like
 'connect line XXX'  ? The connect command on the router seems an
 equivalent of telnet for outgoing tcp sessions and I don't see
another
 command that could do this.

I've done this in the past by connecting to an IP address on the router
-
the one assigned to the ethernet interface for example.  We use a 2511
as
a console server for last resort access to devices.  In the worst case
scenario if the ethernet interface is down we access it via the console
port.  If that's the case then the ethernet IP address won't be
reachable.
I've assigned a loopback IP address (192.168.0.0/32 I think) and use
that
instead (router telnet 192.168.0.0 2001)

If you create aliases on the router you can then just use the router
name for example

ip host accessjn2 2002 192.168.7.4
ip host accessjn3 2003 192.168.7.4
ip host accessjn6 2006 192.168.7.4

Then just 
telnet accessjn2


Brian


___
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
___
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/


Re: [c-nsp] 2801 as console server

2009-09-16 Thread Nigel Roy
If you use the 6018 instead of 2018 you should find the control characters 
escape characters etc work.

2xxx are 7 bit connections
4xxx give echo - you don't want that
6xxx are 8 bit connections.

Don't remember trying it with ssh but the 6xxx are certainly better for 
connecting to Cisco devices via TS as it even allows you to get at the boot 
loader if you need to - however that does obviously have security implications!!

Regards Nigel


 I've been looking through the Cisco doc but didn't found what I was
 looking for, therefor this question :


 I transformed a 2801 router which we used as a dialin server to a
 console server. The config seems to work, I can do a

 telnet xxx 2018  to get access to serial port 0/1/1, also ssh -l
 user:portnumber works. But I still have 2 problems :

 -The escape character doesn't work when using ssh, also e.g.
 defining CTRL-Z as disconnect character doesn't work. The only way
 to stop the connection, is by killing it at the ssh client side. Is
 there another way to stop the ssh connection, just like the telnet
 escape character ?

 -Is there a way to access the async line from within the router
 itself ? So just a telnet/ssh to the router and then something like
 'connect line XXX'  ? The connect command on the router seems an
 equivalent of telnet for outgoing tcp sessions and I don't see
 another command that could do this.


 I'm running c2801-ipbasek9-mz.124-25a on the router.

 Thanks,


 Wim Holemans

 Netwerkdienst Universiteit Antwerpen


 ___
 cisco-nsp mailing list  cisco-nsp@puck.nether.net
 https://puck.nether.net/mailman/listinfo/cisco-nsp archive at
 http://puck.nether.net/pipermail/cisco-nsp/
___
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/