Reverse Telnet gives the ability to telnet to a device, and then console to another device from there. For example, you could telnet to a router, and then console into a switch, or anything that has a console port.
Note: connect CONSOLE port of the Switch to AUX port of the router using ROLL OVER cable.
1 configure the AUX port
router#conf t
router(config)#line aux 0
router(config-line)#modem InOut
router(config-line)#transport input all
router(config-line)#transport output telnet
router(config-line)#speed 19200
router(config-line)#no exec
router(config-line)#stop bit 1
(config-line)#exit
router(config)# interface lo 0
router(config-line)#ip address [address] [mask]
router# show line
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
0 CTY - - - - - 0 0 0/0 -
225 AUX 19200/19200 - inout - - - 0 0 0/0 -
* 226 VTY - - - - - 10 0 0/0 -
227 VTY - - - - - 0 0 0/0 -
228 VTY - - - - - 0 0 0/0 -
229 VTY - - - - - 0 0 0/0 -
230 VTY - - - - - 0 0 0/0 -
Now to telnet switch: telnet [lo address of router] 2225
{ where 2225 = 2000 + aux tty line number}
Note: connect CONSOLE port of the Switch to AUX port of the router using ROLL OVER cable.
1 configure the AUX port
router#conf t
router(config)#line aux 0
router(config-line)#modem InOut
router(config-line)#transport input all
router(config-line)#transport output telnet
router(config-line)#speed 19200
router(config-line)#no exec
router(config-line)#stop bit 1
(config-line)#exit
router(config)# interface lo 0
router(config-line)#ip address [address] [mask]
router# show line
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
0 CTY - - - - - 0 0 0/0 -
225 AUX 19200/19200 - inout - - - 0 0 0/0 -
* 226 VTY - - - - - 10 0 0/0 -
227 VTY - - - - - 0 0 0/0 -
228 VTY - - - - - 0 0 0/0 -
229 VTY - - - - - 0 0 0/0 -
230 VTY - - - - - 0 0 0/0 -
Now to telnet switch: telnet [lo address of router] 2225
{ where 2225 = 2000 + aux tty line number}
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.