| 1 | ########################################################################### |
|---|
| 2 | NSRC Lab - Instructions for accessing equipment remotely |
|---|
| 3 | ########################################################################### |
|---|
| 4 | |
|---|
| 5 | Accessing the Switches, Workstations and Routers for the L2 and L3 Labs |
|---|
| 6 | ----------------------------------------------------------------------- |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | I. Access the switches |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | Using the topology diagram and the following list to identify your |
|---|
| 13 | devices and ssh to the terminal server: |
|---|
| 14 | |
|---|
| 15 | Group 1 Switches : BB11, BB12, SW11, SW12 |
|---|
| 16 | Group 2 Switches : BB21, BB22, SW21, SW22 |
|---|
| 17 | Group 3 Switches : BB31, BB32, SW31, SW32 |
|---|
| 18 | Group 4 Switches : BB41, BB42, SW41, SW42 |
|---|
| 19 | Group 5 Switches : BB51, BB52, SW51, SW52 |
|---|
| 20 | |
|---|
| 21 | Each person in the group chooses a switch they will manage: |
|---|
| 22 | |
|---|
| 23 | Remember: 1 person = 1 switch |
|---|
| 24 | |
|---|
| 25 | All the switches will be accessed via their serial console. |
|---|
| 26 | |
|---|
| 27 | Access to the consoles will take place via a terminal server |
|---|
| 28 | using the Secure Shell (SSH), using a different user for each |
|---|
| 29 | serial port: |
|---|
| 30 | |
|---|
| 31 | user nsrc:BB11 +------------------+ --serial-- [switch BB11] |
|---|
| 32 | user nsrc:SW11 | | --serial-- [switch SW11] |
|---|
| 33 | | | |
|---|
| 34 | You ----- SSH --->----------- | con.lab.nsrc.org | |
|---|
| 35 | | | |
|---|
| 36 | user nsrc:BB51 | | --serial-- [switch BB51] |
|---|
| 37 | user nsrc:SW52 +------------------+ --serial-- [switch SW52] |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | EXAMPLE: |
|---|
| 41 | |
|---|
| 42 | If you are in Group 1, and you want to log in to switch BB12, you |
|---|
| 43 | would ssh as the USER "nsrc:SWITCH", for example: |
|---|
| 44 | |
|---|
| 45 | nsrc:BB12 for BB12 |
|---|
| 46 | nsrc:SW52 for SW52 |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | If using Putty on Windows: |
|---|
| 50 | |
|---|
| 51 | 1. In the `Host Name' box, enter con.lab.nsrc.org |
|---|
| 52 | 2. Press the `Open' button, and wait until you see a login prompt: |
|---|
| 53 | |
|---|
| 54 | login as: |
|---|
| 55 | |
|---|
| 56 | ... then enter the username "nsrc:SWITCH as chosen above. |
|---|
| 57 | |
|---|
| 58 | If you are using Linux: |
|---|
| 59 | |
|---|
| 60 | ssh -l nsrc:SWITCH con.lab.nsrc.org |
|---|
| 61 | |
|---|
| 62 | ... and remember to change SWITCH with the device you have chosen: |
|---|
| 63 | |
|---|
| 64 | nsrc:BB11 |
|---|
| 65 | nsrc:SW21 |
|---|
| 66 | |
|---|
| 67 | etc. |
|---|
| 68 | |
|---|
| 69 | **************************************************************** |
|---|
| 70 | * PLEASE LOG INTO THE PROPER SWITCH FOR YOUR GROUP AND DO NOT * |
|---|
| 71 | * LOG IN TO ANOTHER GROUP'S SWITCH! * |
|---|
| 72 | **************************************************************** |
|---|
| 73 | |
|---|
| 74 | ********************************************************************** |
|---|
| 75 | * NO PASSWORDS SHOULD BE REQUIRED! IF YOU ARE ASKED FOR A PASSWORD, * |
|---|
| 76 | * MOST LIKELY YOU HAVE NOT LOGGED INTO A SWITCH * |
|---|
| 77 | ********************************************************************** |
|---|
| 78 | |
|---|
| 79 | |
|---|
| 80 | |
|---|
| 81 | II. Access the workstations |
|---|
| 82 | |
|---|
| 83 | |
|---|
| 84 | Now, just as before for the switches, we are going to connect to |
|---|
| 85 | the workstations (Linux). |
|---|
| 86 | |
|---|
| 87 | Group 1 Workstations : ws1, ws6 |
|---|
| 88 | Group 2 Workstations : ws2, ws7 |
|---|
| 89 | Group 3 Workstations : ws3, ws8 |
|---|
| 90 | Group 4 Workstations : ws4, ws9 |
|---|
| 91 | Group 5 Workstations : ws5, ws10 |
|---|
| 92 | |
|---|
| 93 | Remember: 1 person = 1 Workstation |
|---|
| 94 | |
|---|
| 95 | If using Putty on Windows: |
|---|
| 96 | |
|---|
| 97 | 1. In the `Host Name' box, enter wsX.lab.nsrc.org # where X = 1 - 10 |
|---|
| 98 | 2. Press the `Open' button, and wait until you see a login prompt: |
|---|
| 99 | |
|---|
| 100 | login as: |
|---|
| 101 | |
|---|
| 102 | ... then enter the username "nsrc" as chosen above. |
|---|
| 103 | |
|---|
| 104 | Access to the Linux workstations is via SSH, for example: |
|---|
| 105 | |
|---|
| 106 | ssh -l nsrc wsX.lab.nsrc.org # where X = 1 - 10 |
|---|
| 107 | |
|---|
| 108 | The username is *always* nsrc on the workstations |
|---|
| 109 | |
|---|
| 110 | |
|---|
| 111 | **************************************** |
|---|
| 112 | * The password will be given in class! * |
|---|
| 113 | **************************************** |
|---|
| 114 | |
|---|
| 115 | |
|---|
| 116 | |
|---|
| 117 | III. Access the routers |
|---|
| 118 | |
|---|
| 119 | Just like for the Switches and Workstations, we're now going |
|---|
| 120 | to access the routers. |
|---|
| 121 | |
|---|
| 122 | In the same fashion, once you have decided (or been told) which |
|---|
| 123 | router you will configure: |
|---|
| 124 | |
|---|
| 125 | Group 1 Routers : R11, R12, R13 |
|---|
| 126 | Group 2 Routers : R21, R22, R23 |
|---|
| 127 | Group 3 Routers : R31, R32, R33 |
|---|
| 128 | Group 4 Routers : R41, R42, R43 |
|---|
| 129 | Group 5 Routers : R51, R52, R53 |
|---|
| 130 | |
|---|
| 131 | |
|---|
| 132 | Remember: 1 person = 1 Router |
|---|
| 133 | |
|---|
| 134 | If using Putty on Windows: |
|---|
| 135 | |
|---|
| 136 | 1. In the `Host Name' box, enter con.lab.nsrc.org |
|---|
| 137 | 2. Press the `Open' button, and wait until you see a login prompt: |
|---|
| 138 | |
|---|
| 139 | login as: |
|---|
| 140 | |
|---|
| 141 | ... then enter the username "nsrc:ROUTER as chosen above, where |
|---|
| 142 | router will be the device you will manage: |
|---|
| 143 | |
|---|
| 144 | nsrc:R11 if it's R11 |
|---|
| 145 | nsrc:R12 if it's R12 |
|---|
| 146 | |
|---|
| 147 | etc. |
|---|
| 148 | |
|---|
| 149 | From a Linux shell: |
|---|
| 150 | |
|---|
| 151 | ssh -l nsrc:ROUTER con.lab.nsrc.org |
|---|
| 152 | |
|---|
| 153 | ... and remember to change ROUTER with the device you have chosen: |
|---|
| 154 | |
|---|
| 155 | nsrc:R11 |
|---|
| 156 | nsrc:R12 |
|---|
| 157 | |
|---|
| 158 | etc. |
|---|
| 159 | |
|---|
| 160 | **************************************** |
|---|
| 161 | * The password will be given in class! * |
|---|
| 162 | **************************************** |
|---|