Always Read for Knowledge

Friday 29 April 2011

CCNA LAB Practice - Ethernet CABLES


Ethernet CABLES

                                

Objective


This lab demonstrates how to make an Ethernet Cables.

The types of Ethernet cables are:

1)      Straight-through cable
2)      Crossover cable
3)      Rolled cable

i. Straight-Through Cable

The straight-through cable is used to connect

1)      Host to switch or hub
2)      Router to switch or hub

Four wires are used in straight-through cable to connect Ethernet devices. It is relatively
simple to create ; Figure shows the four wires used in a straight-through Ethernet
cable.

Diagram



Notice that only pins 1, 2, 3, and 6 are used. Just connect 1 to 1, 2 to 2, 3 to 3, and 6 to 6. However, remember that this would be an Ethernet-only cable and wouldn’t work with Voice, Token Ring, ISDN, etc.

ii. Crossover Cable Cable

The crossover cable can be used to connect

1)      Switch to switch
2)      Hub to hub
3)      Host to host
4)      Hub to switch
5)      Router direct to host

The same four wires are used in this cable as in the straight-through cable; we just connect different pins together. Figure shows how the four wires are used in a crossover
Ethernet cable.

Notice that instead of connecting 1 to 1, etc., here we connect pins 1 to 3 and 2 to 6 on each side of the cable.

Diagram




iii. Rolled Cable

Although rolled cable isn’t used to connect any Ethernet connections together, you can use a rolled Ethernet cable to connect a host to a router console serial communication (com) port.

If you have a Cisco router or switch, you would use this cable to connect your PC running HyperTerminal to the Cisco hardware.

Eight wires are used in this cable to connect serial devices, although not all eight are used to send information, just as in Ethernet networks. Figure shows the eight wires used in a rolled cable.

Diagram




This is  probably the easiest cable to make, because you just cut the one end off on one side of a straight-through cable and reverse the other end.

Once you connect the cross cable from your PC to the Cisco router or switch, you can start HyperTerminal to create a console connection and configure the device

CCNA LAB Practice - How To Create A LAN


How To Create A LAN                            

Objective


This lab demonstrates how to make a LAN Network.

The demonstration includes :
  1. To connect 2 PC’s with a cross cable.
  2. To connect 2 PC’s with a switch using a straight cable.

i. Connecting 2 PC’s via Cross Cable

Diagram


ii. Connecting 2 PC’s via Straight Cable

Diagram


Procedure

  1. Make sure that both NICs are installed onto your PC’s.
  2. Assign IP address to your LAN (NIC) card on both PC’s.
  3. Check their connectivity by PING command & DATA sharing.

Configuration         

Step 1: Make sure that both NICs are installed onto your PC’s.

Go to Windows Start Button > Settings > Control Panel



Then go to System


Then go to Hardware tab > Device Manager



Expand the SERVER123 (Computer Name) tab > Network Adapters

Note: - If LAN (NIC) card is not installed onto your PC then go to Windows Start Button > Settings > Control Panel > Add/Remove Hardware.
Step 2: Assign IP address to your LAN (NIC) card on both PC’s.

Go to My Network Places, Right Click & take the Properties & open the Network & Dial-up Connections

Choose your LAN card, & take the Properties,

  
Go to the TCP/IP, & take the Properties

  
Give the IP Address, & press O.K.


Check the IP Address on the Command Prompt.

D:\>ipconfig

Windows 2000 IP Configuration

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        IP Address          . . . . . . . . . . . . . . : 10.0.0.1
        Subnet Mask           . . . . . . . . . . . : 255.0.0.0
        Default Gateway           . . . . . . . . . :

Step 3(A): Check their connectivity by PING command.

D:\>ping 10.0.0.2

Pinging 10.0.0.2 with 32 bytes of data:

Reply from 10.0.0.2: bytes=32 time<10ms TTL=128
Reply from 10.0.0.2: bytes=32 time<10ms TTL=128
Reply from 10.0.0.2: bytes=32 time<10ms TTL=128
Reply from 10.0.0.2: bytes=32 time<10ms TTL=128

Ping statistics for 10.0.0.2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum =  0ms, Average =  0ms

Step 3(B): Check their connectivity by Data Sharing.

Type on RUN as: \\10.0.0.2


The following screen will pop-up,





CCNA LAB Practice - How To Make a Web & Ftp Server


How To Make a Web & Ftp Server

                                

Objective


This lab demonstrates how to make a Web & Ftp Server.

The demonstrations include:

  1. Web Server.
  2. Ftp Server.

Diagram




Procedure

  1. Open an Internet Information Service (IIS) from an Administrative tools and Make a WEB Server.
  2. Open an Internet Information Service (IIS) from an Administrative tools and Make a FTP Server.
  3. Verifying the WEB & FTP Derver from Host ‘A’.



Configuration         

Step 1: Open an Internet Information Service (IIS) from an Administrative tools
                 & Make a WEB Server.

Go to Windows Start Button > Programs > Administrative Tools > Internet Services Manager.

Then, Start IIS & Right Click on the Computer Name > New > Web Site

Then, Start IIS & Right Click on the Computer Name > New > Web Site

Then, Start IIS & Right Click on the Computer Name > New > Web Site


Then, Set the IP Address & Port

Enter the path of the Web Page

Assigns the Permission,



Wizard will finish now successfully.




Take the Properties of the Web Server



Go to the Documents tab,



Add your Web Page,

Check the Web Page by Right Click & Press the Browse. 




Step 2: Open an Internet Information Service (IIS) from an Administrative tools
                 & Make a FTP Server.

Go to Windows Start Button > Programs > Administrative Tools > Internet Services Manager.


Then, Start IIS & Right Click on the Computer Name > New > Ftp Site




Start the Ftp Wizard


Give the name to Ftp Site





Give the IP Address & Port setting



Enter the Path of the Ftp site



Assign the permissions



Wizard will finish now successfully.






Check the Ftp Site by Right Click on Ftp Server & Press the Browse. 



Check the Ftp Site by Right Click on Ftp Server & Press the Browse. 



Step 3: Verifying the WEB & FTP Server from Host ‘A’.

WEB Server from Host ‘A’.



FTP Server from Host ‘A’.


CCNA LAB Practice - Open A Hyper Terminal Session

Open A Hyper Terminal Session

                                

Objective


This lab demonstrates how to open a Hyper Terminal session.

Diagram


Procedure

  1. Open the Hyper Terminal Session From RUN by giving the command ‘hypertrm’ or from STRART Button -> Programs -> Accessories -> Communications -> Hyper Terminal.
  2. Give the Session name.
  3. Define the connection type i-e., COM1

Configuration         

Step 1: Open the Hyper Terminal Session From RUN by giving the command
                ‘hypertrm’ or from START Button -> Programs -> Accessories -> 
                Communications -> Hyper Terminal.



Step 2: Give the Session name.


Step 3: Define the Connection Type i-e., COM1.




Step 4: Define the Port Settings of  COM Port.




Note: Press Restore Defaults Button
Step 5: Start the Hyper Terminal Session.



CCNA LAB Practice - 2950 Switch Basic Native IOS


2950 Switch Basic Native IOS

                              

Objective


This lab includes basic commands of Native IOS on 2950 and 3550.

Diagram




Configuration         

Step 1: After connecting your PC to the Console Port.

Switch con0 is now available

Press RETURN to get started.

00:46:48: %SYS-5-CONFIG_I: Configured from console by console
Switch>
Switch>                                    (User Mode)





Step 2: To Enter Into Privilege mode/Executive Mode From User Mode & Vice-

                 Versa.


Switch>enable

Switch#

Switch#disable

Switch>

Step 3: To Enter Into Global Configuration Mode.

Switch#config t

Switch(config)#

Step 4: To change the Host Name of Switch.

Switch(config)#hostname 2950-SWA

2950-SWA(config)#

Step 5(A): Set the Line Console Password on the switch.

2950-SWA(config)#line console 0
2950-SWA(config-line)#password cisco
2950-SWA(config-line)#login

Step 5(B): Verification Line Console Password on the switch.

2950-SWA con0 is now available

Press RETURN to get started.

User Access Verification

Password:
2950-SWA>enable


Step 6(A): Set the privileged mode password in clear text.

2950-SWA(config)#enable password cisco


Step 6(B): Verifying the privileged mode password in clear text.

2950-SWA#disable
2950-SWA>enable
Password:
2950-SWA#

Step 7(A): Set the Privileged Mode password in encrypted form.

2950-SWA(config)#enable secret cisco

The enable secret you have chosen is the same as your enable password.
This is not recommended.  Re-enter the enable secret.

2950-SWA(config)#enable secret cisco1

Step 7(B): Verifying the Privileged Mode password in encrypted form.

2950-SWA>enable
Password:

Step 8: Set the Line VTY Password on the switch.

2950-SWA(config)#line vty 0 15
2950-SWA(config-line)#password cisco
2950-SWA(config-line)#login

Step 9: Show contents of Current Configuration (RAM).

2950-SWA#show running-config

Building configuration...

Current configuration : 2146 bytes

!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 2950-SWA
!
enable secret 5 $1$yMg4$ON41n4q5YA9tNNWV1GP9H1
enable password cisco
!
ip subnet-zero
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
 switchport mode dynamic desirable
!
interface FastEthernet0/2
 switchport mode dynamic desirable
!
<Output Omitted>                        
!
interface FastEthernet0/23
 switchport mode dynamic desirable
!
interface FastEthernet0/24
 switchport mode dynamic desirable
!
interface GigabitEthernet0/1
 switchport mode dynamic desirable
!
interface GigabitEthernet0/2
 switchport mode dynamic desirable
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
ip http server
!
line con 0
 password cisco
 login
line vty 0 4
 password cisco
 login
line vty 5 15
 password cisco
 login
!
end

Step 10: To give the IP Address of Management Domain Interface OF 2950.

2950-SWA(config)#int vlan 1
2950-SWA(config-if)#ip address 10.0.0.10 255.0.0.0
2950-SWA(config-if)#no shutdown

Step 11: Display the information of Management VLAN Interface.

2950-SWA#sh int vlan 1

 

Vlan1 is up, line protocol is up

  Hardware is EtherSVI, address is 000f.2468.0500 (bia 000f.2468.0500)

  Internet address is 10.0.0.10/8

  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255

  Encapsulation ARPA, loopback not set

  ARP type: ARPA, ARP Timeout 04:00:00

  Queueing strategy: fifo

  Output queue: 0/40 (size/max)
<Output Omitted>

Step 12: Display the information of All Interfaces on the switch.

2950-SWA#sh ip int brief

Interface                       IP-Address                   OK     Method            Status                Protocol
                          

Vlan1                             10.0.0.10       YES    manual            up                      down


FastEthernet0/1            unassigned      YES       unset                down                  down

FastEthernet0/2            unassigned      YES       unset                down                  down

FastEthernet0/23           unassigned      YES      unset                down                  down

<Output Omitted>

FastEthernet0/24           unassigned      YES      unset                down                  down

GigabitEthernet0/1         unassigned      YES     unset                down                  down

GigabitEthernet0/2         unassigned      YES     unset                down                  down

Step 13: Set a IP Default Network In a Switched Network.

2950-SWA(config)#ip default-gateway 10.0.0.1

Step 14: Display the Flash Information.

2950-SWA#dir

OR


2950-SWA#show flash:

Directory of flash:/

    2  -rwx         556   Mar 1 1993 00:18:07 +00:00  vlan.dat
    3  -rwx     4219426   Mar 1 1993 00:44:10 +00:00  c2950-i5q3l2-mz.121-20.EA2.bin
    4  -rwx         315   Mar 1 1993 00:45:44 +00:00  system_env_vars
    5  -rwx           0   Mar 1 1993 00:45:43 +00:00  env_vars
    8  drwx         192   Mar 1 1993 00:04:07 +00:00  c2950-i9q3l2-mz.121-14.EA1a
   87  -rwx         744   Mar 1 1993 00:26:17 +00:00  debug.text

15998976 bytes total (6026752 bytes free)

Step 15: Display the Status of the Interfaces on the switch.

 

2950-SWA#show interfaces status

Port        Name         Status         Vlan   Duplex   Speed    Type

Fa0/2                        notconnect   1            auto   auto      10/100BaseTX

<Output Omitted>

Fa0/22                       notconnect   1            auto   auto     10/100BaseTX
Fa0/23                       notconnect   1            auto   auto     10/100BaseTX
Fa0/24                       notconnect   1            auto   auto     10/100BaseTX
Gi0/1                         notconnect   1            auto    auto      unknown
Gi0/2                         notconnect   1            auto    auto      unknown
Step 16: Display the Detailed Information of Interfaces.

2950-SWA#show interfaces

OR


2950-SWA#show interfaces fastEthernet 0/1

FastEthernet0/1 is up, line protocol is up (connect)
  Hardware is Fast Ethernet, address is 000f.2468.0501 (bia 000f.2468.0501)
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,

  Encapsulation ARPA, loopback not set

  Keepalive set (10 sec)

  Auto-duplex, Auto-speed, media type is 100BaseTX

  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00

  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
<Output Omitted>

Step 17: Display the Information of the Mode of Interfaces (Switchport).

2950-SWA#show interfaces switchport

OR


2950-SWA#show interfaces fastEthernet 0/1 switchport

Name: Fa0/1

Switchport: Enabled

Administrative Mode: dynamic desirable

Operational Mode: static access

Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
<Output Omitted>
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false

Appliance trust: none



Step 18: Display the Detailed Information of Interfaces Capabilities.

2950-SWA#show interfaces capabilities

OR


2950-SWA#show interfaces fastEthernet 0/1 capabilities

FastEthernet0/1
  Model:                                         WS-C2950-24
  Type:                                          10/100BaseTX
  Speed:                                        10,100,auto
  Duplex:                                      half,full,auto
  Trunk encap. type:                    802.1Q,ISL
  Trunk mode:                              on,off,desirable,nonegotiate
  Channel:                                    yes
<Output Omitted>

Step 19: Display the Information of the Trunk Interfaces (Ports).

2950-SWA#show interfaces trunk

Port           Mode                           Encapsulation          Status               Native vlan
Fa0/23      desirable                     n-802.1q                 trunking               1
Fa0/24      desirable                     n-802.1q                 trunking               1

Port      Vlans allowed on trunk
Fa0/23      1-4094
Fa0/24      1-4094

Port        Vlans allowed and active in management domain
Fa0/23      1-2

Fa0/24      1-2


Port        Vlans in spanning tree forwarding state and not pruned
Fa0/23      1-2
Fa0/24      2

Step 20: Display the Version Information of the Switch.

2950-SWA#show version

Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I5Q3L2-M), Version 12.1(20)EA2, RELEASE SOFTWARE(fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Wed 19-May-04 05:06 by antonino
Image text-base: 0x00003000, data-base: 0x0082D44C

ROM: Bootstrap program is C2950 boot loader

2950 uptime is 7 hours, 11 minutes
System returned to ROM by power-on

System image file is "flash:c2950-i5q3l2-mz.121-20.EA2.bin"


cisco WS-C2950-24 (PowerPC) processor (revision L0) with 65526K/8192K bytes of
memory.
Processor board ID CAT0805Z0CW
Last reset from warm-reset
Bridging software.
Running Layer2/3 Switching Image

Ethernet-controller 1 has 12 Fast Ethernet/IEEE 802.3 interfaces

Ethernet-controller 2 has 12 Fast Ethernet/IEEE 802.3 interfaces

Ethernet-controller 3 has 1 Gigabit Ethernet/IEEE 802.3 interface

Ethernet-controller 4 has 1 Gigabit Ethernet/IEEE 802.3 interface

24 FastEthernet/IEEE 802.3 interface(s)
2 Gigabit Ethernet/IEEE 802.3 interface(s)

The password-recovery mechanism is enabled.
384K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:0F:24:68:05:00

Motherboard assembly number: 73-5700-11
Power supply part number: 34-0966-04
Motherboard serial number: CAT08050JCX
Power supply serial number: DTH08042TFG
Model revision number: L0
Motherboard revision number: A0
Model number: WS-C2950-24-SMI
System serial number: CAT0805Z0CW

Configuration register is 0x10F


Step 21: Display the Information of Dynamic Trunking Protocol (DTP).

2950-SWA#show dtp
Global DTP information
        Sending DTP Hello packets every 30 seconds
        Dynamic Trunk timeout is 300 seconds
        4 interfaces using DTP

Step 22: Display the Information of CDP.

2950-SWA#sh cdp

Global CDP information:
        Sending CDP packets every 60 seconds
        Sending a holdtime value of 180 seconds
        Sending CDPv2 advertisements is  enabled

Step 23: Display the Information of CDP Enabled Interfaces.

2950-SWA#sh cdp interfaces

FastEthernet0/1 is up, line protocol is up

  Encapsulation ARPA
  Sending CDP packets every 60 seconds
  Holdtime is 180 seconds

FastEthernet0/2 is down, line protocol is down

  Encapsulation ARPA
  Sending CDP packets every 60 seconds
  Holdtime is 180 seconds
<OUTPUT OMITTED>

FastEthernet0/23 is down, line protocol is down

  Encapsulation ARPA
  Sending CDP packets every 60 seconds
  Holdtime is 180 seconds

FastEthernet0/24 is up, line protocol is up

  Encapsulation ARPA
  Sending CDP packets every 60 seconds
  Holdtime is 180 seconds

GigabitEthernet0/1 is down, line protocol is down

  Encapsulation ARPA
  Sending CDP packets every 60 seconds
  Holdtime is 180 seconds

GigabitEthernet0/2 is down, line protocol is down

  Encapsulation ARPA
  Sending CDP packets every 60 seconds
  Holdtime is 180 seconds

Step 24: Enabled the CDP on the switch.

Switch(config)#cdp run


Step 25: Enable CDP on the Interface FastEthernet 0/1.

Switch(config)#interface fastethernet 0/1

Switch(config-if)#cdp enable


Step 26: Shown the MAC Address Table Information.

2950-SWA#show mac address-table dynamic

               Mac Address Table
-------------------------------------------

Vlan              Mac Address                  Type                            Ports
-----              -------------------           --------------                           -----
     1              0001.0262.fcc4              DYNAMIC                 Fa0/1
Total Mac Addresses for this criterion: 1

Step 27: Copy the Current Configuration Into Startup Configuration.

2950-SWA#copy running-config startup-config

Destination filename [startup-config]?
Building configuration...
[OK]



Step 28: Configuring the Multiple Interfaces.

2950-SWA(config)#int range fastEthernet 0/1 - 5
2950-SWA(config-if-range)#switchport mode access

Step 29: Setting Of Speed, Duplex and Description On Interface.

2950-SWA(config)#int fastEthernet 0/1
2950-SWA(config-if)#speed ?

  10    Force 10 Mbps operation
  100   Force 100 Mbps operation
  auto  Enable AUTO speed configuration

2950-SWA(config-if)#speed 100
2950-SWA(config-if)#duplex ?

  auto  Enable AUTO duplex configuration
  full  Force full duplex operation
  half  Force half-duplex operation

2950-SWA(config-if)#duplex full
2950-SWA(config-if)#description ?

  LINE  Up to 240 characters describing this interface

2950-SWA(config-if)#description Fast-Ethernet-Port-1