SUMMARY: config snippet/Cisco 2511

From: Stuart Kendrick (sbk@fred.fhcrc.org)
Date: Mon Jul 17 2000 - 22:06:55 CDT


I had questions about how to configure a Cisco 2511 to use as a console
server for Sparcs.

Thanks to:
Michael Grice <grice@berbee.com>
Jonathon W. Ross <jonathon@isa.net.au>
Rick Francis <rfrancis@mindspring.com>
john heasley <heas@shrubbery.net>

I attach John Heasley's posting, as it included an ASCII version of the
mod adapters I needed to construct, not only for the Sparcs but also for
lots of other serial devices, like router consoles.

Once the cabling and the Cisco box is in place, one telnets to the IP
address of the Cisco 2511 ... specifying a high port number as follows:
 
"telnet cisco 2001" would give you port 1, "telnet cisco 2002" would be
port 2, and so on.

I now have a Cisco 2511 acting as a console server, and I can happily
telnet to the serial consoles of my Sparc stacks. Thank you for the
responses,

--sk

Stuart Kendrick
FHCRC

---------- Forwarded message ----------
Date: Fri, 14 Jul 2000 10:49:03 -0700
From: john heasley <heas@shrubbery.net>
To: Stuart Kendrick <sbk@fred.fhcrc.org>
Subject: Re: config snipper/Cisco 2511

On Fri, Jul 14, 2000 at 08:27:51AM -0700, Stuart Kendrick wrote:
> Hi folks,
>
> I'm attempting to use a Cisco 2511 as a console server for a stack of
> Sparc Ultra 1s.

here u go.

line 1 16
 no exec
line 1
 location cisco router console
 session-timeout 30
 transport input telnet
 transport preferred none
 stopbits 1
 flowcontrol hardware
 no exec
 login authentication none
 access-class 99 in
!
line 2
 location juniper router console
 session-timeout 30
 transport input telnet
 transport preferred none
 stopbits 1
 flowcontrol hardware
 no exec
 login authentication default
 access-class 99 in
!
line 4
 location sparc console
 session-timeout 30
 transport input all
 transport preferred none
 stopbits 1
 speed 9600
 flowcontrol software
 no exec
 login authentication default
 access-class 99 in
!
line 5
 location modem
 session-timeout 30
 transport input all
 transport preferred none
 flowcontrol hardware
 exec
 login authentication default
 access-class 99 in
!

i have 2511 -> octopus cable - ends in rj45 male -> modtap of db<whatever>
note the colors of the modtap wires.

- - - - - - - - - - - - - - c u t h e r e - - - - - - - - - - - - - -

RJ45 male pinouts: modtap wires: RJ45 female:
      __________ 1 blue
     / / 2 orange --
    / / | 3 black | |
   / __ / | 4 red - -
  / / / / / 5 green | |
 / / / / / 6 yellow ------
+---[==]---+ / 7 brown 8 - 1
| | / 8 white (or grey)
| !!!!!!!! |/
+----------+
  12 78

- - - - - - - - - - - - - - c u t h e r e - - - - - - - - - - - - - -

USR sportster config for OOB

to configure:
        - dips == duuduuud (power cycle modem)
        - connect a terminal w/ h/w flow at 9600
        - at &f1 s13=1 &w0&w1 z
          - h/w flow (this also sets a couple things, including fixed DTE)
          - reset after dtr drop
          - save to nvram profiles 0 and 1
        - dips == duuduuuu (power cycle modem)
     OR
        - DE modems
          - at &f1 s=1 &b1 e0q1 &w0&w1 z

modem to 2511 console: modem to 2511 console:
(RJ45 cable is a crossover) (non-crossover)
        DB25M DB25M
        2 yellow 2
        3 black 3
        4 white 4
        5 blue 5
        7 red (red and green) 7
        8 orange 8
        20 brown 20

pc to 2511 console: pc to 2511 console:
(RJ45 cable is a crossover) (non-crossover)
        DB9F DB9F
        2 yellow 2
        3 black 3
        4 orange 4
        5 red 5
        6 brown 6
        7 blue 7
        8 white 8

- - - - - - - - - - - - - - c u t h e r e - - - - - - - - - - - - - -

cascade console to 2511 RJ45: sparc console to 2511 RJ45:
note: cascade must have DSR high note: no control lines & s/w flow
        DB25F DB25M
        2 black 2 black
        3 yellow 3 yellow
        4 blue 7 red
        5 white
        6 brown
        7 red
        20 orange

cabletron FN100 to 2511 RJ45: bay 350t to 2511 RJ45:
        DB9M DB9F
        2 black 2 black
        3 yellow 3 yellow
        5 red 5 red
        7 white 7 white
        8 blue 8 blue

LD/olive con to 2511 RJ45: FORE ASX-200 con to 2511 RJ45:
        DB9F DB9M
        2 yellow 2 yellow
        3 black 3 black
        5 red 5 red
        7 blue 7 blue
        8 white 8 white

m40 con to 2511 RJ45: foundry con to 2511 RJ45:
        DB9F DB9F
        2 yellow 2 black
        3 black 3 yellow
        4 orange 4 brown
        5 red 5 red
        6 brown 6 orange
        7 blue 7 white
        8 white 8 blue

RSP con to 2511 RJ45: RSP aux to 2511 RJ45:
        DB25M DB25F
        2 yellow 2 black
        3 black 3 yellow
        4 white 4 blue
        5 blue 5 white
        7 red 7 red
        8 orange 8 brown
        20 brown 20 orange

Compaq/PE to 2511 RJ45:
        DB9M
        2 black
        3 yellow
        4 brown
        5 red
        6 orange
        7 white
        8 blue

- - - - - - - - - - - - - - c u t h e r e - - - - - - - - - - - - - -

> Would anyone be willing to share a snippet of Cisco config file with me?
> Specifically, I'm looking for the stuff which configures the serial ports,
> the "line 1 16" section. This is what I have so far, but it isn't
> working.
>
> line 1 16
> no exec
> transport input telnet
> speed 9600
> databits 8
> parity none
> stopbits 1
> flowcontrol software
>
>
> And then I also haven't figured out how to associate IP adresses with each
> line, so that I can telnet to a given IP address and pop-up on the console
> of the Sparc attached to the associated serial port. Would anyone be
> willing to share the relevant snippet of config file for this item, too?
>
> Thanks in advance,
>
> --sk
>
> Stuart Kendrick
> FHCRC
>
>
>
>
>
>
> S
> U BEFORE POSTING please READ the FAQ located at
> N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
> . and the list POLICY statement located at
> M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
> A To submit questions/summaries to this list send your email message to:
> N sun-managers@ececs.uc.edu
> A To unsubscribe from this list please send an email message to:
> G majordomo@sunmanagers.ececs.uc.edu
> E and in the BODY type:
> R unsubscribe sun-managers
> S Or
> . unsubscribe sun-managers original@subscription.address
> L To view an archive of this list please visit:
> I http://www.latech.edu/sunman.html
> S
> T

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:12 CDT