cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
554
Views
1
Helpful
6
Replies

C8300 / C1100TG SSH Passthrough to console Port

Steffen Pontiac
Level 1
Level 1

Hi everyone,

we are about to install new C8300(C8300-2N2S-4T2X) and C1100TG(C1100TGX-1N24P32A) and use them as Console Terminal Server and Management Access for OOBM.
Ist it possible to configure them with a passthrough function for Console requests over SSH? I attached a sketch how I liked to connect to the console ports.

For Example:

ssh johndoe@10.10.10.99:2003
.
.
Router123#

Right now it is:

ssh johndoe@10.10.10.99
.
C8300#
C8300#<IP host name>
.
Router123#

I hope I described it clearly

BR
Steffen

1 Accepted Solution

Accepted Solutions

Hello @Steffen Pontiac ,

There is a way to do what you described using the rotary option in IOS which controls the sty line you connect to the router:

line vty 1

 rotary 1

This config enables a new range of ports on the router - 3000+rotary number.

In our example, if you telnet/ssh on port 3001 you will land on vty 1 which is configured with rotary 1.

Now to have a certain vty connect with a specific async line, you can use the "autocommand" command on the vty line:

line vty 1

 rotary 1

 autocommand telnet 10.10.10.99 2003

HTH

Regards, LG
*** Please Rate All Helpful Responses ***

View solution in original post

6 Replies 6

Hello @Steffen Pontiac ,

There is a way to do what you described using the rotary option in IOS which controls the sty line you connect to the router:

line vty 1

 rotary 1

This config enables a new range of ports on the router - 3000+rotary number.

In our example, if you telnet/ssh on port 3001 you will land on vty 1 which is configured with rotary 1.

Now to have a certain vty connect with a specific async line, you can use the "autocommand" command on the vty line:

line vty 1

 rotary 1

 autocommand telnet 10.10.10.99 2003

HTH

Regards, LG
*** Please Rate All Helpful Responses ***

Hi @liviu.gheorghe ,

thank you for your quick response.
Looks interesting. I will test it tomorrow or next week and come back to you if this is the solution I was lokking for.

Thank you for your great support here.

BR
Steffen

Hi @Steffen Pontiac ,

did you test it? Is it working as expected?

Regards, LG
*** Please Rate All Helpful Responses ***

Hi liviu.gheorghe, I am testing it today afternoon. I will report you here. Thank you for asking. BR Steffen

Steffen Pontiac
Level 1
Level 1

@liviu.gheorghe  I could test the function and it seems to be a good and easy solution. Thanks a lot!

BR Steffen 

You are welcome. Happy to help.

Regards, LG
*** Please Rate All Helpful Responses ***