Thông tin tài liệu:
The Cisco CCNA Security curriculum provides foundational network security knowledge, practical experience, opportunities for career exploration, and soft-skills development to help students prepare for careers with network security responsibilities. CCNA Security includes a comprehensive set of hands-on, online laboratories.
Nội dung trích xuất từ tài liệu:
CCNA lab manual 1Cisco DEVICE AND IOS BASICS 2Device connectivity BasicsThe series of diagrams below reveal the cable types used for variousdevice connectivity.I. Console Connectivity to configure a switch using management hosta. PC serial port to Switch Console port Catalyst SwitchRollover cable is being used Management Consoleb. For remote Configuration through Auxiliary interface Internet cloud Aux 0 ModemRemote computer Modem 3II. Network Connection a. To cascade same type of device use Cross-Over cable.b. For HUB/SWICH to PC/ROUTER – straight through cable is used & Cross- over cable is used between PC – Router & Hub – Switch. Switch Host Straight Through cableCross Over cable Cross Over cable Router HUBSetting up the Management Console (windows environment):First let’s setup the Hyperterminal from windows – for interfacing withthe Cisco Devices and issue commands. Here we go… 4Path to trigger the emulation software from your DesktopClick start Programs Accessories Communications HyperTerminalWe’ll name our Session My_Lab. The next screen requires us to configurethe COM port to which we are going to connect our Cisco Device. 5Next, choose the default settings, else communication will be aproblem !On clicking OK, we’ll see the below screen & we are ready to talk toour CISCO Switch/Router ! 6 IOS BASICSPressing the RETURN key takes us to the USER EXEC mode.Switch con0 is now availablePress RETURN to get started.Switch>The “>” prompt denotes user exec mode. To move into Privilege mode, weuse the “enable” command.Switch>enableSwitch#Privilege mode is identified with the “#” symbol. “configure terminal”command takes us into the global configuration mode where we canconfigure global parameters like hostname etc for the entire device.Switch#configure terminalSwitch(config)#To get into any specific interface mode we have use the “interface”command with relevant interface number. To configure parametersspecific to interface 1 of module 0, we issue the command as shownbelow. 7Switch(config)#interface fastethernet 0/1Switch(config-if)#This is the sequence with which we change modes in the forwarddirection. Let’s now move backwards now.Switch(config-if)#exitSwitch(config)#To go one step backward we have to use the command “exit”Switch(config)#exitSwitch#However, we must use the command “disable” to move from privilege touser exec mode. If we use “exit”, it’ll log us out (and we’ll again seethe first messageSwitch con0 is now availablePress RETURN to get started)Switch#disableSwitch>To logout, we use the “exit” command again.Switch>exitSwitch con0 is now availablePress RETURN to get startedNOTE : We can use ^Z to directly move backward 2 steps – from interfacemode to privilege mode.Config-if# ^ZSwitch#Also note that we can use “?” whenever we want to see the variouscommands available in a particular mode or want to find out whatcommands begin with a certain letter etc. This can be easily observedin the below case.Router#?Exec commands: access-enable Create a temporary Access-List entry access-profile Apply user-profile to interface access-template Create a temporary Access-List entry archive manage archive files cd Change current directoryRouter#s? (displays all commands beginning with “s”)*s=show send setup slip squeeze start-chat systat 8If we typed a wrong spelling & try to use help the output will displayas “Unrecognized command”. The same message is displayed even if we tryto use help when no further arguments are possible (or wrong argumentsused). Look at the below examples...Router#show router ?% unrecognized commandRouter#show ip a% Ambiguous command: show ip aRouter#show ? access-expression List access expression access-lists List access lists accounting Accounting data for active sessions aliases Display alias commands arp ARP tableAnother interesting aspect is that we don’t have to type the entirecommand. We can just type the first few letters of a command (to theextent that only one command begins with the typed letters) and presstab – the command is completed for us! (Even if we don’t complete thecommand, it’ll accept!)Using tab keyLet‟s just type “sh” and use the tab key tab keyRouter#sh (tab)Router#showThere are some shortcut keys that’ll help us to work with IOS faster.Their description & use is given below.Shortcut keys to access your CLI modeCTRL-A Moves the cursor to the beginning of the lineCTRL-E Moves the cursor to the end of the lineESC-B Moves the cursor back one word at a timeESC-F Moves the cursor forward one word at a timeCTRL-B Moves the cursor back one character at a timeLEFT ARROW Moves the cursor back one character at a timeCTRL-F Moves the cursor forward one character at a timeRIGHT ARROW Moves the cursor forward one character at a timeCTRL-P Recalls the last commandUP ARROW Recalls the last commandCTRL-N Recalls the most previously executed commandDOWN ARROW Recall ...