Difference between revisions of "Network Rack"

From Tardis
Jump to: navigation, search
(Added hardware)
 
(serial config?)
Line 71: Line 71:
  
 
This stuff is all in the network training rack (The 12U flight case)
 
This stuff is all in the network training rack (The 12U flight case)
 +
 +
=Basics=
 +
 +
The serial console server (SC1) runs DHCP from it's Ethernet 0/0 port (Round the back of the rack). This is ''usually'' plugged straight into the Netgear FS108 so via that you can access SC1 over telnet like so:
 +
 +
$ telnet 192.168.0.1
 +
 +
and to access all the other devices over serial via SC1, bearing in mind that the <code>CABLE_NUM</code> is the console cable of the target device from the above table.
 +
 +
$ telnet 192.168.0.1 6032+CABLE_NUM
 +
 +
=SC1 Serial Config=
 +
 +
Enable the elevated privileges mode. Enter the password when prompted. (The # following the hostname indicates that privileged mode is enabled)
 +
 +
sc>enable
 +
Password:
 +
sc#
 +
 +
You can check the current serial config with
 +
 +
sc#show line
 +
    Tty Typ    Tx/Rx    A Modem  Roty AccO AccI  Uses  Noise  Overruns  Int
 +
*    0 CTY              -    -      -    -    -      0      1    0/0      -
 +
    33 TTY 115200/115200-    -      -    -    -      0      0    0/0      -
 +
    34 TTY 115200/115200-    -      -    -    -      0      0    0/0      -
 +
    35 TTY 115200/115200-    -      -    -    -      0      0    0/0      -
 +
    36 TTY  9600/9600  -    -      -    -    -      0      0    0/0      -
 +
    37 TTY  9600/9600  -    -      -    -    -      0      0    0/0      -
 +
    38 TTY  9600/9600  -    -      -    -    -      0      0    0/0      -
 +
  ...
 +
 +
Enter configuration mode. Hit enter when prompted by the <code>Configure from terminal, memory, or network [terminal]?</code> line.
 +
 +
sc#configure
 +
Configuring from terminal, memory, or network [terminal]?
 +
Enter configuration commands, one per line.  End with CNTL/Z.
 +
sc(config)#
 +
 +
Type the following to configure a line. The Async card runs TTYs on lines 33 - 64, with like 33 being the 1st console cable from the hardware table. Use <code>?</code> to check the other config details. (33 to 35 is an example - this will config lines 33, 34 & 35)
 +
 +
sc(config)#line tty 33 35
 +
sc(config-line)#
 +
 +
Some of the more useful commands are <code>rxspeed</code> & <code>txspeed</code> to set the baud rates of the cables you selected.

Revision as of 01:24, 3 February 2015

Hardware

Model & Expansions Hostname / Label & Console Cable Telnet Port & Baud
Cisco 2600 Router NM-4E Ethernet module, WIC 2T R1 1 6033 115200
Cisco 2600 Router NM-4E Ethernet module, WIC 2T, WIC 1T R2 2 6034 115200
Cisco 2600 Router NM-4E Ethernet module, WIC 2T, WIC 1T R3 3 6035 115200
Cisco 2600 Serial Console NM-32A Async Serial module SC1 N/A N/A (Host) 9600 (NC)
Cisco Catalyst 3750 Switch None SW1 4 6036 9600
Cisco Catalyst 3750 Switch None SW2 5 6037 9600
Cisco Catalyst 3750 Switch None SW3 6 6038 9600
Cisco Catalyst 3750 Switch None SW4 7 6039 9600
Netgear FS108 Switch Attached to SC1, which runs DHCP (Actually User:angusp's N/A N/A N/A

This stuff is all in the network training rack (The 12U flight case)

Basics

The serial console server (SC1) runs DHCP from it's Ethernet 0/0 port (Round the back of the rack). This is usually plugged straight into the Netgear FS108 so via that you can access SC1 over telnet like so:

$ telnet 192.168.0.1

and to access all the other devices over serial via SC1, bearing in mind that the CABLE_NUM is the console cable of the target device from the above table.

$ telnet 192.168.0.1 6032+CABLE_NUM

SC1 Serial Config

Enable the elevated privileges mode. Enter the password when prompted. (The # following the hostname indicates that privileged mode is enabled)

sc>enable
Password:
sc#

You can check the current serial config with

sc#show line
   Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise  Overruns   Int
*    0 CTY              -    -      -    -    -      0       1     0/0       -
    33 TTY 115200/115200-    -      -    -    -      0       0     0/0       -
    34 TTY 115200/115200-    -      -    -    -      0       0     0/0       -
    35 TTY 115200/115200-    -      -    -    -      0       0     0/0       -
    36 TTY   9600/9600  -    -      -    -    -      0       0     0/0       -
    37 TTY   9600/9600  -    -      -    -    -      0       0     0/0       -
    38 TTY   9600/9600  -    -      -    -    -      0       0     0/0       -
 ...

Enter configuration mode. Hit enter when prompted by the Configure from terminal, memory, or network [terminal]? line.

sc#configure
Configuring from terminal, memory, or network [terminal]? 
Enter configuration commands, one per line.  End with CNTL/Z.
sc(config)#

Type the following to configure a line. The Async card runs TTYs on lines 33 - 64, with like 33 being the 1st console cable from the hardware table. Use ? to check the other config details. (33 to 35 is an example - this will config lines 33, 34 & 35)

sc(config)#line tty 33 35
sc(config-line)#

Some of the more useful commands are rxspeed & txspeed to set the baud rates of the cables you selected.