cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1931
Views
0
Helpful
4
Replies

how to login from aux of router to console of a switch

sur_babu
Level 1
Level 1

Guys,

Donno possible or not, but my Q is if a console cable is attached to a switch and the other end to the aux of a router....how do we login from the router to that switch? is it possible?

Thanks,

Surajit

--Surajit

1 Accepted Solution

Accepted Solutions

dhillyard
Level 1
Level 1

aaa authentication login login-auth-none none

line aux 0

no vacant-message

login authentication login-auth-none

modem DTR-active

special-character-bits 8

no exec

transport input telnet

escape-character NONE

stopbits 1

Then do a "sho line" to find the line number of your AUX port. You can now telnet to the IP of any interface on your router on port [2000 + line # of AUX] and gain access to the switch.

For example, if a Loopback IP on your router is 10.10.10.10 and the line number of the AUX port is 161, you can execute "telnet 10.10.10.10 2161"

Hope this is what you're looking for...

View solution in original post

4 Replies 4

gpulos
Level 8
Level 8

you would need to setup both AUX as SLIP interfaces. (this requires IP connectivity enabled on the aux ports)

haven't tried it but if both are setup as SLIP, should be able to communicate via IP

see this link for more info:

http://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a0080093c76.shtml

additional async/slip commands can be found here:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1828/products_command_reference_chapter09186a00800ca519.html

command to connect?

dhillyard
Level 1
Level 1

aaa authentication login login-auth-none none

line aux 0

no vacant-message

login authentication login-auth-none

modem DTR-active

special-character-bits 8

no exec

transport input telnet

escape-character NONE

stopbits 1

Then do a "sho line" to find the line number of your AUX port. You can now telnet to the IP of any interface on your router on port [2000 + line # of AUX] and gain access to the switch.

For example, if a Loopback IP on your router is 10.10.10.10 and the line number of the AUX port is 161, you can execute "telnet 10.10.10.10 2161"

Hope this is what you're looking for...

Xactly.......thanks....