CCNA Course in Urdu Lab 1 Part 1 Cisco Internetworking Operating System (IOS)

 

CCNA Course in Urdu Lab 1 Part 1 Cisc Internetworking Operating System (IOS)




LAB#01 Part 1

CISCO INTERNETWORKING OPERATING SYSTEM (IOS)

 

You will cover the following topics:

·       Connecting to a router

·       Bringing up a router

·       Logging into a router

·       Understanding the router prompts

·       Understanding the CLI prompts

·       Performing editing and help functions

·       Gathering basic routing information

·       Setting administrative functions

·       Setting hostnames, banners, passwords and interface descriptions

·       Performing interface configurations

·       Viewing, saving and erasing configurations

·       Verifying routing configurations

 

CONNECTING TO A ROUTER:

 

There are three different methods to connect to a Cisco Router in order to perform operations on it or for monitoring purposes.

1.     Most often, we connect to a Cisco Router via CONSOLE PORT. The console port is usually an RJ-45 (8 pin modular) connector located at the back of the router.

2.     You can also connect to a Cisco Router via an AUXILIARY PORT. The auxiliary port also allows you to configure modem commands so that a modem can be connected to a router.

3.     Third way to connect to a Cisco Router is via Telnet. You can use telnet to connect to any active interface on a router such as an Ethernet or serial port.

 

BRINGING UP A ROUTER:

 

When you first bring up a Cisco router, it will run a power on self test (POST). If is passes, it will then look for and load the Cisco IOS from flash memory, if IOS file is present. After that, the IOS loads and looks for a valid configuration i.e. the startup configurations that are stored in the non volatile RAM or NVRAM. If the startup configuration is not present in the NVRAM then the router will broadcast looking for a valid one on a TFTP Host. If the broadcast fails it will then go into what is called the setup mode.

 

Click Here To View Video Lecture in Urdu:

Lab 1 Video

 

LOGGING INTO A ROUTER:

 

1.     Press Enter to connect to you router. This will put you into user mode.

2.     At the Router> prompt, type a question mark (?)

3.     Notice the –more- at the bottom of the screen.

4.     Press the Enter key to view the commands line by line. Press the spacebar to view the commands a full screen at a time. You can type q to quit any time.

5.     Type enable or en and press Enter. This will put you into privileged mode where you can change and view the router configurations.

6.     At the Router# prompt, type a questions mark (?). Notice how many options are available to you in privileged mode.

7.     Type q to quit.

8.     Type config and press Enter.

9.     Press Enter to configure your router using your terminal.

10.  At the Router(config)# prompt, type a question mark (?) and then q to quit, or hit the space bar to view the commands.

11.  Type interace e0 or int eo (or even int fa0/0) and press Enter. This will allow you to configure interface Ethernet 0.

12.  At the Router(config-if)# prompt, type a questions mark (?)

13.  Type int  so (int so/o) or interface so (same as the interface serial 0 command) and press Enter This will allow you to configure interface serial 0. Notice that you can go from interface to interface easily.

14.  Type encapsulation?

15.  Type exit. Notice how this brings you back one level.

16.  Press Ctrl+Z. Notice how this brings you out of configuration mode and places you back into privileged mode.

17.  Type disable. This will put you into user mode.

18.  Type exit, which will log you out of the router.

 

Click Here To View Video Lecture in Urdu:

Lab 1 Video

 

USING THE HELP AND EDITING FEATURES:

 

1.     Log into the router and goto to the privileged mode by typing en or enable.

2.     Type a question mark (?).

3.     Type cl? And then press Enter. Notice that you can see all the commands that start with cl.

4.     Type clock ? and press Enter.

5.     Set the router's clock by typing clock ? and following the help screens, setting the router's time and date.

6.     Type clock ?

7.     Type clock set ?

8.     Type clock set 10:30:20 ?

9.     Type clock set 10:30:20 14 March ?

10.  Type clock set 10:30:20 24 May 2010

11.  Press Enter.

12.  Type show clock to see the time and date.

13.  From privileged mode, type show access-list 10. Don't press Enter.      (Just for testing following commands)

14.   Press Ctrl+A. This takes you to the beginning of the line.

15.  Press Ctrl+E. This takes you to the end of the line.

16.  Press Ctrl+A and then Ctrl+F. This should move you one character forward.

17.  Press Ctrl+B. This moves you on character backwards.

18.  Press Enter and then press Ctrl+P. This will repeat the last command.

19.  Press the up arrow key on you keyboard. This will also repeat the last command.

20.  Type sh history. This will show you the last 10 commands entered.

21.  Type terminal history size ? This changes the history entry size. The ? is the number of allowed lines.

22.  Type show terminal to gather terminal statistics and history size.

23.  Type terminal no editing. This turns off advanced editing. Repeat steps 14 through 18 to see that the shortcut editing keys have no effect until you type terminal editing.

24.  Type terminal editing and press Enter to re enable the advanced editing.

25.  Type sh run, then press you Tab key. This will finish typing the command for you.

26.  Type sh start, then press your Tab key. This will finish typing the command for you.

 

USING THE PIPE:

It is a very powerful command that helps us to modify our output in any manner we would like:

Router#sh run | ?

 

Where ? can be one of these:

 

append,begin,exclude,include,redirect,section or tee (We will learn about them in our CN class)

 

SAVING A ROUTER CONFIGURATION:

 

1.     Log into the router and go into privileged mode by typing en or enable, then press Enter.

2.     To see the configurations stored in NVRAM, type sh start  or show startup-config and press Enter. However if no configurations are present then you will get an error message.

3.     To save a configuration in NVRAM, which is known as startup-config, you can do one of the following:

·       Type copy run start and press Enter

·       Type copy running-config startup-config and press Enter.

 

4.     Type sh start, press Tab and then press Enter.

5.     Type sh run, press Tab and then press Enter.

6.     Type erase start, press Tab and then press Enter.

7.     Now type sh start press Tab and then press Enter, now you will get an error message because in the previous step you have just erased the NVRAM.

8.     type reload, then press Enter. Acknowledge the reload by pressing Enter. Wait for the router to reload.

9.     Say no to entering setup mode, or just press Ctrl+C.

 

Click Here To View Video Lecture in Urdu:

Lab 1 Video


CCNA Course in Urdu Lab 1 Part 1 Cisco Internetworking Operating System (IOS)