User Tools

Site Tools


network_rack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
network_rack [2015/02/03 14:30] – /* Basics */ Added escape seq _anguspnetwork_rack [2026/09/26 18:47] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
- 
-======= 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 's| N/A| N/A| N/A | 
- 
- 
-This stuff is all in the network training rack (The 12U flight case) 
- 
- 
-======= Basics ======= 
- 
- 
-All the networking equipment bar the Netgear dumb switch, which is unmanaged, runs Cisco IOS. It's not much like anything else and basically the help command is <code>?</code> which will help you with all your options, give you more specific help with commands, and give you help with arguments. Use it! 
- 
-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: 
- 
-<code>$ telnet 192.168.0.1 
-</code> 
-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. 
- 
-<code>$ telnet 192.168.0.1 6032+CABLE_NUM 
-</code> 
-The escape sequence for IOS telnet is **not** <code>C-]</code> but <code>C-S-6 x</code> because reasons. 
- 
- 
-====== Using Serial ====== 
- 
- 
-It's probably worth noting that direct serial isn't usually necessary, as all the serial consoles can be accessed via the <code>SC1</code> telnet interface; <code>SC1</code> itself can also be accessed via telnet. If you are serialing into <code>SC1</code> and want to get at the telnet interface for the other boxes, IOS has a built in telnet command, although currently I have no idea what the escape sequence is... 
- 
-<code>ios>telnet 192.168.0.1 6033 
-</code> 
-Serial on linux can be a bit difficult to set up. Basically google how to do it for your distro, this'll usually include adding your user to the <code>dialout</code> group and maybe some device config. As for serial terminals, most are a bit shit. We'd suggest using <code>minicom</code> from the terminal and <code>PuTTY</code> from a GUI on Linux, and then Mac users have nicer things like <code>CoolTerm</code>. I'm not too sure about Windows but stuff like <code>PuTTY</code> seems to work well there also. 
- 
- 
-======= Saving Config Changes ======= 
- 
- 
-IOS has the neat feature of not saving your config unless you tell it to - so if you totally screw it up and lock yourself out, power cycling the device will reset it to the previous config. Once something actually works and **has been tested** then you can save the config like so: 
- 
-<code>ios>enable 
-Password: 
-ios#copy running-config startup-config 
-Destination filename [startup-config]?  
-Building configuration... 
-[OK] 
-ios# 
-</code> 
-Give the password when prompted and hit enter at any further prompts. This will save the running config to the persistent memory. Also the reverse //should// (I haven't tried it) restore the boot config if you have't totally FUBAR'd the box. 
- 
-<code>ios#copy startup-config running-config 
-</code> 
- 
-======= SC1 Serial Config ======= 
- 
- 
-Enable the elevated privileges mode. Enter the password when prompted. (The # following the hostname indicates that privileged mode is enabled) 
- 
-<code>sc>enable 
-Password: 
-sc# 
-</code> 
-You can check the current serial config with 
- 
-<code>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       - 
- ... 
-</code> 
-Enter configuration mode. Hit enter when prompted by the <code>Configure from terminal, memory, or network [terminal]?</code> line. 
- 
-<code>sc#configure 
-Configuring from terminal, memory, or network [terminal]?  
-Enter configuration commands, one per line.  End with CNTL/Z. 
-sc(config)# 
-</code> 
-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) 
- 
-<code>sc(config)#line tty 33 35 
-sc(config-line)# 
-... 
-</code> 
-Some of the more useful commands are <code>rxspeed</code> & <code>txspeed</code> to set the baud rates of the cables you selected. Once again, <code>?</code> is your friend. 
  
network_rack.1422973837.txt.gz · Last modified: (external edit)