< Free Open Study > |
Lab 6: Configuring Remote Access to the Lab ”Part IILab WalkthroughThe first step in configuring Skynet is to attach the routers and the modem as indicated in Figure 1-18. After attaching all the physical devices, verify what absolute line they exist on through the show line command, as demonstrated in Example 1-56. Note the column on the left side ”the asynchronous lines are the ones denoted as TTY. Example 1-56 The show line Command Performed on the Access Server Router# show line Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int * 0 CTY - - - - - 0 0 0/0 - 1 TTY 9600/9600 - - - - - 0 0 0/0 - * 2 TTY 9600/9600 - - - - - 0 1 37/110 - * 3 TTY 9600/9600 - - - - - 0 1 3/11 - 4 TTY 9600/9600 - - - - - 0 1 0/0 - 5 TTY 9600/9600 - - - - - 0 1 0/0 - 6 TTY 9600/9600 - - - - - 0 1 0/0 - 7 TTY 9600/9600 - - - - - 0 0 0/0 - 8 TTY 9600/9600 - - - - - 0 0 0/0 - 9 TTY 9600/9600 - - - - - 0 0 0/0 - 10 TTY 9600/9600 - - - - - 0 0 0/0 - 11 TTY 9600/9600 - - - - - 0 0 0/0 - 12 TTY 9600/9600 - - - - - 0 0 0/0 - 13 TTY 9600/9600 - - - - - 0 0 0/0 - 14 TTY 9600/9600 - - - - - 0 0 0/0 - 15 TTY 9600/9600 - - - - - 0 0 0/0 - 16 TTY 9600/9600 - - - - - 0 0 0/0 - 17 AUX 9600/9600 - - - - - 0 0 0/0 - 18 VTY - - - - - 0 0 0/0 - 19 VTY - - - - - 0 0 0/0 - 20 VTY - - - - - 0 0 0/0 - 21 VTY - - - - - 0 0 0/0 - Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int 22 VTY - - - - - 0 0 0/0 - Router# Lines 1 through 4 are the TTY lines to which you have attached the routers. Therefore, you need to add the following to these lines:
To make reverse Telnet sessions easier to open, you add a host table for each router, pointing to ports 2001 through 2004. To facilitate the reverse Telnet session, you also need to add a loopback interface. Example 1-57 shows the configuration of skynet_access. Example 1-57 Initial Configuration of the Access Server Called skynet_accessRouter# conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname skynet_access skynet_access(config)# interface loopback 0 Configuring the skynet_access(config-if)# ip address 201.201.201.1 255.255.255.0 loopback interface skynet_access(config-if)# exit skynet_access(config)# skynet_access(config)# ip host r1 2001 201.201.201.1 Configure the IP skynet_access(config)# ip host r2 2002 201.201.201.1 host table skynet_access(config)# ip host r3 2003 201.201.201.1 skynet_access(config)# ip host r4 2004 201.201.201.1 skynet_access(config)# ip host modem 2005 201.201.201.1 skynet_access(config)# skynet_access(config)# line 1 4 Configuring the skynet_access(config-line)# transport input all the line entries to skynet_access(config-line)# no exec support telnet skynet_access(config-line)# ^Z skynet_access# To complete the lab, you must configure Line 5 for a modem. To accomplish this task, add the following to Line 5:
In Example 1-58, you add the preceding commands to Line 5. Be sure to also include an enable password ”without this, the remote session will not be capable of entering privilege mode to configure the router. After adding the new commands, perform the show line command, followed by the show line 5 command. In the resulting output, look for Line 5 to be configured as a modem. Also ensure that the modem is correctly configured and that CTS is detected . Example 1-58 The Line Configuration for a Modem and show line Command in Useskynet_access(config)# skynet_access(config)# enable password cisco Allows privileged access skynet_access(config)# line 5 skynet_access(config-line)# transport input all Allows terminal sessions skynet_access(config-line)# modem inout Configures the modem skynet_access(config-line)# modem autoconfigure discovery for autodetection skynet_access(config)# ^Z skynet_access# skynet_access# show line Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int * 0 CTY - - - - - 0 0 0/0 - 1 TTY 9600/9600 - - - - - 0 0 0/0 - * 2 TTY 9600/9600 - - - - - 0 1 145/437 - * 3 TTY 9600/9600 - - - - - 0 1 109/328 - 4 TTY 9600/9600 - - - - - 0 1 0/0 - 5 TTY 115200/115200- inout - - - 0 1 0/0 - 6 TTY 9600/9600 - - - - - 0 1 0/0 - 7 TTY 9600/9600 - - - - - 0 0 0/0 - 8 TTY 9600/9600 - - - - - 0 0 0/0 - 9 TTY 9600/9600 - - - - - 0 0 0/0 - 10 TTY 9600/9600 - - - - - 0 0 0/0 - 11 TTY 9600/9600 - - - - - 0 0 0/0 - 12 TTY 9600/9600 - - - - - 0 0 0/0 - 13 TTY 9600/9600 - - - - - 0 0 0/0 - 14 TTY 9600/9600 - - - - - 0 0 0/0 - 15 TTY 9600/9600 - - - - - 0 0 0/0 - 16 TTY 9600/9600 - - - - - 0 0 0/0 - 17 AUX 9600/9600 - - - - - 0 0 0/0 - 18 VTY - - - - - 0 0 0/0 - 19 VTY - - - - - 0 0 0/0 - 20 VTY - - - - - 0 0 0/0 - 21 VTY - - - - - 0 0 0/0 - Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int 22 VTY - - - - - 0 0 0/0 - skynet_access# show line 5 Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int 5 TTY 115200/115200- inout - - - 0 1 0/0 - Line 5, Location: "", Type: "" Length: 24 lines, Width: 80 columns Baud rate (TX/RX) is 115200/115200, no parity, 2 stopbits, 8 databits Status: No Exit Banner, Modem Detected Capabilities: Modem Callout, Modem RI is CD, Modem Discovery Modem state: Idle Group codes: 0 Modem hardware state: CTS noDSR DTR RTS, Modem Configured Special Chars: Escape Hold Stop Start Disconnect Activation ^^x none - - none Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch 00:10:00 never none not set Idle Session Disconnect Warning never Login-sequence User Response 00:00:30 Autoselect Initial Wait not set Modem type is usr_sportster. Session limit is not set. Time since activation: never Editing is enabled. History is enabled, history size is 10. DNS resolution in show commands is enabled Full user help is disabled Allowed transports are lat pad v120 mop telnet rlogin nasi. Preferred is lat. No output characters are padded No special data dispatching characters skynet_access# When the configuration is complete, you can test it by making an analog connection by using HyperTerminal or another terminal emulator, such as ProComm. From this point on, the configuration of the access server will remain fairly static. You should have access to all the routers in the stack through reverse Telnet, along with analog access to the lab. You now should have the groundwork necessary to begin practical studies in internetworking. |
< Free Open Study > |