MidnightWizard
Executive Member
Just started playing with my new 2511RJ
Found quite a number of configs on the net but I have a couple of questions for any of the Cisco Gurus here.
A lot of posts are of the type --"just do this , then that , and everything works"
I would prefer to understand all the detail of what is going on.
I am OK with the CLI and configuration but am a bit confused with some of the principles
OK let me state the obvious so we have a foundation to work from .........
One uses an access server in order to access the console ports of many devices from ONE device ( the AS )
One needs to access the console port as this is the most basic and powerful interface for configuration / trouble shooting (do not need to have an IP address set on an interface )
The AS is only going to give you access to devices in your local "pod" I think of this as a LAN thing -- ie a rolled cable only goes so far ( not around the world as in a WAN link )
To put it in the way that the Americans love ........
IF your AS is in Chicago then you are not going to configure a device that is PHYSICALLY in Seattle
LAN or local vs WAN or remote -- OK I hope I understand that correctly.
Right
One accesses the devices attached to the AS via Telnet ( from your PC / Laptop etc )
Now I assume that this is from some form of telnet application -- CLI ( DOS ) or Terra-Term / Hyperterminal or similar ?
The normal way of doing this is via a loop-back interface.
Here is the official reference from Cisco Configuring a Terminal/Comm Server
This seems to be the normal way of doing it
It is the config on the remote host that has me confused.
Normally if one connects from a PC via a Console port then one configues line con 0 ( the console line )
If one is connecting to the remote host console port that is attached to the AS serial async port what "line" does one configure on the remote host ?
I guess this has something to do with "Reverse-Telnet" ? Anyway -- this bit confusing to me ?
Then there is another completely different way of doing it
OK now I am really confused
"Just go through the Ethernet port" WTF what is this person talking about ?
I assume that if one Telnets then one goes through the ethernet port anyway ( Fine for the LAN -- depends on how the AS is connected and routed for the Internet ( Serial 0 or the AS connected to another [WAN] router on the same LAN segment / subnet)
I cannot see where and how this way of doing things differs from the loopback interface way of doing it ( apart from obviously all the IP host entries )
IF I understand correctly one then also needs more VTY ( Virtual terminal lines ) on the AS ( more than the standard four ) OK I know that this is trivial to do. Am I on the right track here.
This way seems more "classy" ??????
I am not understanding the big picture though -- unfortunately I have to know ALL the little nitty-gritty stuff before the thing "CLICKS"
Is there anyone clued up on this stuff that can give a blow-by blow explanation ( not the -- "just plug this in here copy and paste this config in here and bob's your aunty" )
PLEASE
Found quite a number of configs on the net but I have a couple of questions for any of the Cisco Gurus here.
A lot of posts are of the type --"just do this , then that , and everything works"
I would prefer to understand all the detail of what is going on.
I am OK with the CLI and configuration but am a bit confused with some of the principles
OK let me state the obvious so we have a foundation to work from .........
One uses an access server in order to access the console ports of many devices from ONE device ( the AS )
One needs to access the console port as this is the most basic and powerful interface for configuration / trouble shooting (do not need to have an IP address set on an interface )
The AS is only going to give you access to devices in your local "pod" I think of this as a LAN thing -- ie a rolled cable only goes so far ( not around the world as in a WAN link )
To put it in the way that the Americans love ........
IF your AS is in Chicago then you are not going to configure a device that is PHYSICALLY in Seattle
LAN or local vs WAN or remote -- OK I hope I understand that correctly.
Right
One accesses the devices attached to the AS via Telnet ( from your PC / Laptop etc )
Now I assume that this is from some form of telnet application -- CLI ( DOS ) or Terra-Term / Hyperterminal or similar ?
The normal way of doing this is via a loop-back interface.
Here is the official reference from Cisco Configuring a Terminal/Comm Server
Code:
aus-comm-server#show running-config
!
version 12.0
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
!
hostname aus-comm-server
!
enable secret <deleted>
!
username cisco password <deleted>
!
ip subnet-zero
ip domain-list cisco.com
no ip domain-lookup
ip host 3600-3 2014 172.21.1.1
!--- The host 3600-3 is connected to port 14 of the comm server.
!--- Ensure that the IP address is that of an interface on the comm server.
ip host 3600-2 2013 172.21.1.1
ip host 5200-1 2010 172.21.1.1
ip host 2600-1 2008 172.21.1.1
ip host 2509-1 2007 172.21.1.1
ip host 4500-1 2015 172.21.1.1
ip host 3600-1 2012 172.21.1.1
ip host 2511-2 2002 172.21.1.1
ip host 2511-rj 2003 172.21.1.1
ip host 2511-1 2001 172.21.1.1
ip host 5200-2 2011 172.21.1.1
ip host 2520-1 2004 172.21.1.1
ip host 2520-2 2005 172.21.1.1
ip host 2600-2 2009 172.21.1.1
ip host 2513-1 2006 172.21.1.1
ip host pix-1 2016 172.21.1.1
!
!
process-max-time 200
!
interface Loopback1
ip address 172.21.1.1 255.0.0.0
!--- This address is used in the IP host commands.
!--- Work with loopback interfaces, which are virtual and always available.
no ip directed-broadcast
!
interface Ethernet0
ip address 171.55.31.5 255.255.255.192
!--- Use a public IP address to ensure connectivity.
No ip directed-broadcast
no ip mroute-cache
!
interface Serial0
no ip address
no ip directed-broadcast
no ip mroute-cache
shutdown
!
ip default-gateway 171.55.31.1
!--- This is the default gateway when routing is disabled.
!--- For example, if the router is in boot ROM mode.
ip classless
ip route 0.0.0.0 0.0.0.0 171.55.31.1
!--- Set the default route for the external network.
no ip http server
!
line con 0
transport input all
line 1 16
session-timeout 20
!--- The session times out after 20 minutes of inactivity.
no exec
!--- Unwanted signals from the attached device do not launch.
!--- An EXEC session ensures that the line never becomes unavailable
!--- due to a rogue EXEC process.
exec-timeout 0 0
!--- This disables exec timeout transport input all.
!--- Allow all protocols to use the line.
!--- Configure lines 1 - 16 with at least transport input Telnet.
line aux 0
!--- Auxiliary port can provide dial backup to the network.
!--- Note: This configuration does not implement modem on AUX port modem InOut.
!--- Allow auxiliary port to support dialout and dialin connections.
transport preferred telnet
transport input all
speed 38400
flowcontrol hardware
line vty 0 4
exec-timeout 60 0
password <deleted>
login
!
end
This seems to be the normal way of doing it
It is the config on the remote host that has me confused.
Normally if one connects from a PC via a Console port then one configues line con 0 ( the console line )
If one is connecting to the remote host console port that is attached to the AS serial async port what "line" does one configure on the remote host ?
I guess this has something to do with "Reverse-Telnet" ? Anyway -- this bit confusing to me ?
Then there is another completely different way of doing it
Code:
version 11.3
no service password-encryption
!
hostname 2509-ts
!
enable secret 5 $1$FJw4$wnl7PsB.0kRuklKLNzd3I/
!
username admin
!
!
interface Loopback0
no ip address
!
interface Ethernet0
ip address 192.168.16.253 255.255.255.0
bandwidth 10000000
!
interface Serial0
no ip address
no ip mroute-cache
shutdown
no fair-queue
!
interface Serial1
no ip address
shutdown
!
interface Async1
no ip address
!
ip default-gateway 192.168.16.1
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.16.1
!
line con 0
no exec
exec-timeout 35791 0
telnet break-on-ip
telnet sync-on-break
telnet ip-on-break
flowcontrol hardware
line 1 8
session-timeout 35791
exec-timeout 35791 0
password admin
login local
transport input all
stopbits 1
line aux 0
line vty 0 4
no login
!
end
No additional IP HOST HOSTNAME commands were needed.
Just go thru the Ethernet port and specify the line number as the port number in the Telnet app.
Works like a champ.
OK now I am really confused
"Just go through the Ethernet port" WTF what is this person talking about ?
I assume that if one Telnets then one goes through the ethernet port anyway ( Fine for the LAN -- depends on how the AS is connected and routed for the Internet ( Serial 0 or the AS connected to another [WAN] router on the same LAN segment / subnet)
I cannot see where and how this way of doing things differs from the loopback interface way of doing it ( apart from obviously all the IP host entries )
IF I understand correctly one then also needs more VTY ( Virtual terminal lines ) on the AS ( more than the standard four ) OK I know that this is trivial to do. Am I on the right track here.
This way seems more "classy" ??????
I am not understanding the big picture though -- unfortunately I have to know ALL the little nitty-gritty stuff before the thing "CLICKS"
Is there anyone clued up on this stuff that can give a blow-by blow explanation ( not the -- "just plug this in here copy and paste this config in here and bob's your aunty" )
PLEASE