2509 Console Server

I am connected, via serial console cable to a 2509 with the 8 port async. I want to config the 8 ports of async so I can use it as a console server for my other 8 Cisco routers. I have the octo cable connected to the console ports of the other routers.

I need the config, and then how to "access" the line so I can see the other routers. I never did this before, but I have seen it done, with menus and such.

Thanks to all. Ricco.

Reply to
riccopalermo
Loading thread data ...

see Cisco doc "Configuring a Terminal/Comm Server"

formatting link

Reply to
Merv

working example with banner and menu

nh1.homeip.net

! ! Last configuration change at 18:07:33 MET Wed Oct 18 2006 by hans ! NVRAM config last updated at 18:08:30 MET Wed Oct 18 2006 by hans ! version 12.2 service timestamps debug datetime msec localtime service timestamps log datetime localtime service password-encryption ! hostname c01 ! logging buffered 16000 debugging no logging console aaa new-model aaa authentication login linmethod group tacacs+ enable aaa authentication login conmethod group tacacs+ enable aaa authentication login vtymethod group tacacs+ enable aaa authentication login tsmethod none aaa authorization exec default group tacacs+ if-authenticated aaa authorization commands 3 default group tacacs+ if-authenticated aaa authorization commands 15 default group tacacs+ if-authenticated aaa accounting exec default start-stop group tacacs+ aaa accounting commands 15 default start-stop group tacacs+ aaa accounting network default start-stop group tacacs+ aaa accounting connection default start-stop group tacacs+ aaa accounting system default start-stop group tacacs+ enable secret 5 sachichnich ! clock timezone MET 1 clock summer-time MET-DST recurring last Sun Mar 2:00 last Sun Sep 3:00 ip subnet-zero no ip domain-lookup ip domain-name hallo.example.com ip host s01 2001 192.168.254.100 ip host r01 2006 192.168.254.100 ip host r02 2005 192.168.254.100 ip host r03 2004 192.168.254.100 ip host r04 2003 192.168.254.100 ip host r05 2008 192.168.254.100 ip host r06 2007 192.168.254.100 ! ! ! ! interface Loopback0 ip address 192.168.254.100 255.255.255.0 ! interface Serial0 description FR link ip address 192.168.16.5 255.255.255.0 encapsulation frame-relay no ip mroute-cache frame-relay lmi-type ansi ! interface Serial1 no ip address no ip mroute-cache shutdown ! interface TokenRing0 description TR link mtu 16000 ip address 192.168.3.100 255.255.255.0 ip broadcast-address 192.168.3.255 no logging event link-status early-token-release ring-speed 16 ! router rip version 2 passive-interface Loopback0 network 192.168.3.0 ! ip default-gateway 192.168.3.105 ip classless ip tacacs source-interface Loopback0 no ip http server ! logging trap debugging logging source-interface Loopback0 logging 192.168.3.173 logging 192.168.3.21 ! menu Rack title Hansel_sein_LAB_Rack1 menu Rack text 1 Eth Switch Catalyst 1900 s01 menu Rack command 1 telnet 192.168.254.100 2001 menu Rack text 2 Rack2 TS menu Rack command 2 telnet 192.168.6.100 menu Rack text 3 Router 2503 r01 menu Rack command 3 telnet 192.168.254.100 2006 menu Rack text 4 Router 2503 r02 menu Rack command 4 telnet 192.168.254.100 2005 menu Rack text 5 Router 2504 r03 menu Rack command 5 telnet 192.168.254.100 2004 menu Rack text 6 Router 2504 r04 menu Rack command 6 telnet 192.168.254.100 2003 menu Rack text 7 Router 2513 r05 menu Rack command 7 telnet 192.168.254.100 2008 menu Rack text 8 Router 2523 Fr-Switch r06 menu Rack command 8 telnet 192.168.254.100 2007 menu Rack text 9 EXIT Menu --> [menu rack] to restart menu Rack command 9 menu-exit menu Rack clear-screen tacacs-server host 192.168.3.21 tacacs-server directed-request tacacs-server key 7 0507070D tacacs-server dns-alias-lookup snmp-server community public RO snmp-server community netman RW snmp-server trap-source Loopback0 snmp-server location Hansel sein LAB snmp-server contact snipped-for-privacy@cityweb.de snmp-server enable traps snmp coldstart warmstart snmp-server enable traps tty snmp-server enable traps config snmp-server enable traps frame-relay snmp-server host 192.168.3.21 netman snmp-server host 192.168.3.21 public snmp-server host 192.168.6.173 netman snmp-server host 192.168.6.173 public banner exec ! ! #-----------------------------------------------------------# # successfully logged in at c01.hallo.example.com # # # # -- Rack 1 Terminalserver, availlable devices -- # # # # s01 Cisco Catalyst 1900 C EN FX/TX # # -- spare # # r01 Cisco 2503 # # r02 Cisco 2503 # # r03 Cisco 2504 # # r04 Cisco 2504 # # r05 Cisco 2513 # # r06 Cisco 2523 FR-Switch # # # # use [ctl][shift][6] + [x] to switch session # # use [menu rack] for a simple menue # #-----------------------------------------------------------# banner login #-----------------------------------------------------------# # Hansel sein CISCO- LAB # # Terminalserver Cisco 2510 16D 16F --- c01 --- # #-----------------------------------------------------------# banner motd #-----------------------------------------------------------# # Authorized personnell only -- others keep off! # # Achtung Baustelle -- Eltern haften fuer ihre Kinder! # #-----------------------------------------------------------# ! line con 0 exec-timeout 0 0 logging synchronous level 6 login authentication conmethod transport preferred telnet line 1 8 session-timeout 20 exec-timeout 0 0 logging synchronous level 5 login authentication tsmethod no exec transport input all flowcontrol hardware line aux 0 exec-timeout 0 0 logging synchronous level 5 login authentication linmethod modem InOut transport input all stopbits 1 speed 38400 flowcontrol hardware line vty 0 4 exec-timeout 0 0 logging synchronous level 5 login authentication vtymethod ! ntp clock-period 17179964 ntp source Loopback0 ntp server 192.168.6.173 ntp server 192.168.3.173 ntp server 192.168.3.21 prefer end

Reply to
Hans-Dieter Kreutzner

Thanks for the sample. The thing I do not get is, since I am connecting all via console, why the ip addresses and telnet?

Reply to
Ricco

Thanks for the link I had read that and still don't get it. This is all console, no telnet, no ip. Maybe that can not be done. This is simply a stack of routers (my test lab) with all of the console ports connected to the 2509 async octo cable and I am connected via console to the 2509.

Reply to
Ricco

It can be done.

This type of setup is called "reverse telnet"

in telnet we go from a async terminal to a TCP-based telnet session to the desired target destination.

In reverse telnet we go from a telnet-session to async output - int his case to an async console port on a router.

So in reverse telnet we need an IP address and a port number.

The IP address is simple and is either an Ethernet interface or loopback interface address on the terminal server

The port is a mapping from the line numbers seen by the show line command and takes the form 20xx where xx is the line number.

Reply to
Merv

Thx I'll look into it on Cisco.

Reply to
Ricco

the ip is for the terminal server, in your case the 2509.

host --> telnet --> 2509 --> async port whatever --> your other router

you could just use the console on the 2509 if you really want.

Reply to
Cydrome Leader

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.