CCNA Super Lab 2

Technologies Covered

Basic Device Configuration
Interface Configuration
Virtual LAN (VLAN) Configuration
VLAN Trunking Protocol (VTP)
Spanning Tree Protocol (STP)
Frame Relay
EIGRP Routing
TCL Scripts / Lab Verification

The purpose of this lab is to help you understand basic router and switch configuration, as well as the purpose of these devices. It will cover the OSI model, and what layer different technologies are in on that model.

Your goal for this lab is to configure a fully routed network so that each device can communicate with every other device.

Basic Device Configuration

When starting a lab, there are some basic things that will need to be done on every device. The following should be done at the start of every lab:

Configure the device hostname
Disable domain-name lookup
Configure password encryption
Set console timeout
Configure “logging synchronous” on the console line
Configure passwords

Important: When configuring passwords on any lab, on any device, always use ‘ccie’.

Here is an example from router R1:

Router>

Router>enable

Router#config

Configuring from terminal, memory, or network [terminal]? t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hostname R1

R1(config)#no ip domain-lookup

R1(config)#service password-encryption

R1(config)#enable secret ccie

R1(config)#line con 0

R1(config-line)#exec-timeout 0 0

R1(config-line)#password ccie

R1(config-line)#logging synchronous

Using the example above as a guide, do the basic device configuration on the remaining devices in your pod.

Interface Configuration

To start, shut down all unused interfaces on the switches. To do this, use the interface range command, and the shutdown command.

CAT1(config)#interface range fa0/1 - 24

CAT1(config-if-range)#shutdown

CAT1(config-if-range)#

4d00h: %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

4d00h: %LINK-5-CHANGED: Interface FastEthernet0/2, changed state to administratively down

4d00h: %LINK-5-CHANGED: Interface FastEthernet0/3, changed state to administratively down

4d00h: %LINK-5-CHANGED: Interface FastEthernet0/4, changed state to administratively down

4d00h: %LINK-5-CHANGED: Interface FastEthernet0/5, changed state to administratively down

4d00h: %LINK-5-CHANGED: Interface FastEthernet0/6, changed state to administratively down

4d00h: %LINK-5-CHANGED: Interface FastEthernet0/7, changed state to administratively down

4d00h: %LINK-5-CHANGED: Interface FastEthernet0/8, changed state to administratively down

4d00h: %LINK-5-CHANGED: Interface FastEthernet0/9, changed state to administratively down

4d00h: %LINK-5-CHANGED: Interface FastEthernet0/10, changed state to administratively down

4d00h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/11, changed state to down

4d00h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/18, changed state to down

4d00h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/19, changed state to down

4d00h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/20, changed state to down

4d00h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/21, changed state to down

4d00h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/22, changed state to down

4d00h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to down

4d00h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down

CAT1(config-if-range)#interface range fa0/2, fa0/3, fa0/6, fa0/19

CAT1(config-if-range)#no shutdown

CAT1(config-if-range)#

4d00h: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to down

4d00h: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to down

4d00h: %LINK-3-UPDOWN: Interface FastEthernet0/6, changed state to down

4d00h: %LINK-3-UPDOWN: Interface FastEthernet0/19, changed state to down

4d00h: %LINK-3-UPDOWN: Interface FastEthernet0/19, changed state to up

4d00h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/19, changed state to up

To bring an interface up, use the no shutdown command.

R1(config)#interface fa0/1

R1(config-if)#no shutdown

R1(config-if)#

*Aug 15 22:00:40.356: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up

*Aug 15 22:00:41.356: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

Use the clock rate and no shutdown command to bring up a serial interface.

R2(config)#interface s0/1/0

R2(config-if)#clock rate 64000

R2(config-if)#no shutdown

R2(config-if)#

*Aug 15 22:05:01.264: %LINK-3-UPDOWN: Interface Serial0/1/0, changed state to down

*Aug 15 22:05:19.188: %LINK-3-UPDOWN: Interface Serial0/1/0, changed state to up

 

R5(config)#interface s0/0/0

R5(config-if)#no shutdown

R5(config-if)#

*Aug 15 22:24:01.872: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up

*Aug 15 22:24:02.872: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

Layer 7 - Application

Layer 6 - Presentation

Layer 5 - Session

Layer 4 - Transport

Layer 3 – Network

Layer 2 - Data Link

·  CDP

·  Protocol Status

·  Ethernet

Layer 1 - Physical

Using the example above as a guide, disable all unnecessary interfaces on the switches, and enable all necessary interfaces on the routers. Use the Physical Lab diagram as a guide to determine which interfaces are needed.

Confirmation: There are a number of commands to verify layer 2 connectivity.
Use the
show interface command to verify line and protocol status.  

R1#show interface fa0/1

FastEthernet0/1 is up, line protocol is up

  Hardware is MV96340 Ethernet, address is 001a.2f52.6a79 (bia 001a.2f52.6a79)

  MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,

     reliability 255/255, txload 1/255, rxload 1/255

  Encapsulation ARPA, loopback not set

  Keepalive set (10 sec)

  Full-duplex, 100Mb/s, 100BaseTX/FX

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

  Last input 00:00:22, output 00:00:07, output hang never

  Last clearing of "show interface" counters never

  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

  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

     835272 packets input, 412782731 bytes

     Received 835272 broadcasts, 0 runts, 0 giants, 0 throttles

     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

     0 watchdog

     0 input packets with dribble condition detected

     81174 packets output, 37202827 bytes, 0 underruns

     0 output errors, 0 collisions, 1 interface resets

     0 babbles, 0 late collision, 0 deferred

     0 lost carrier, 0 no carrier

     0 output buffer failures, 0 output buffers swapped out

 

R2#show interface s0/1/0

Serial0/1/0 is up, line protocol is up

  Hardware is GT96K Serial

  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,

     reliability 255/255, txload 1/255, rxload 1/255

  Encapsulation HDLC, loopback not set

  Keepalive set (10 sec)

  Last input 00:00:00, output 00:00:02, output hang never

  Last clearing of "show interface" counters never

  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

  Queueing strategy: weighted fair

  Output queue: 0/1000/64/0 (size/max total/threshold/drops)

     Conversations  0/1/256 (active/max active/max total)

     Reserved Conversations 0/0 (allocated/max allocated)

     Available Bandwidth 1158 kilobits/sec

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

     67415 packets input, 4517034 bytes, 0 no buffer

     Received 67413 broadcasts, 0 runts, 0 giants, 0 throttles

     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort

     76807 packets output, 7639248 bytes, 0 underruns

     0 output errors, 0 collisions, 7 interface resets

     0 output buffer failures, 0 output buffers swapped out

     24 carrier transitions

     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up

Use the show cdp neighbors command to verify layer 2 adjacencies.

R1#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

                  S - Switch, H - Host, I - IGMP, r - Repeater

 

Device ID        Local Intrfce     Holdtme Capability  Platform  Port ID

CAT2             Fas 0/1            155          S I      WS-C3560- Fas 0/1

 

R2#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

                  S - Switch, H - Host, I - IGMP, r - Repeater

 

Device ID        Local Intrfce     Holdtme Capability  Platform  Port ID

CAT1             Fas 0/0            129         S I       WS-C3560- Fas 0/2

R5               Ser 0/1/0          149        R S I      2811      Ser 0/0/0

 

R3#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

                  S - Switch, H - Host, I - IGMP, r - Repeater

 

Device ID        Local Intrfce     Holdtme Capability  Platform  Port ID

CAT2             Fas 0/1            133         S I       WS-C3560- Fas 0/3

CAT1             Fas 0/0            125         S I       WS-C3560- Fas 0/3

R5               Ser 0/1/0          145        R S I      2811      Ser 0/0/1

 

R4#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

                  S - Switch, H - Host, I - IGMP, r - Repeater

 

Device ID        Local Intrfce     Holdtme Capability  Platform  Port ID

CAT2             Fas 0/1            130         S I       WS-C3560- Fas 0/4

 

R5#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

                  S - Switch, H - Host, I - IGMP, r - Repeater

 

Device ID        Local Intrfce     Holdtme Capability  Platform  Port ID

R2               Ser 0/0/0          176        R S I      2811      Ser 0/1/0

R3               Ser 0/0/1          124        R S I      2811      Ser 0/1/0

 

R6#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

                  S - Switch, H - Host, I - IGMP, r - Repeater

 

Device ID        Local Intrfce     Holdtme Capability  Platform  Port ID

CAT1             Fas 0/0            175         S I       WS-C3560- Fas 0/6

 

CAT1#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone

 

Device ID            Local Intrfce         Holdtme Capability    Platform   Port ID

R2                  Fas 0/2 162           R S I     2811      Fas 0/0

R3                  Fas 0/3 170           R S I     2811      Fas 0/0

R6                  Fas 0/6 134           R S I     2811      Fas 0/0

CAT3                Fas 0/19 144            S I      WS-C3560-2Fas 0/19

 

CAT2#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone

 

Device ID            Local Intrfce         Holdtme Capability    Platform   Port ID

R3                  Fas 0/3 166           R S I     2811      Fas 0/1

CAT4                Fas 0/19 141            S I      WS-C3560-2Fas 0/19

R1                  Fas 0/1 175           R S I     2811      Fas 0/1

R4                  Fas 0/4 176           R S I     2811      Fas 0/1

 

CAT3#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone

 

Device ID            Local Intrfce         Holdtme Capability    Platform   Port ID

CAT4                Fas 0/24 133            S I      WS-C3560-2Fas 0/24

CAT1                Fas 0/19 153            S I      WS-C3560-2Fas 0/19

 

CAT4#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone

 

Device ID            Local Intrfce         Holdtme Capability    Platform   Port ID

CAT2                Fas 0/19 158            S I      WS-C3560-2Fas 0/19

CAT3                Fas 0/24 129            S I      WS-C3560-2Fas 0/24

VLAN Trunks Between Switches

To configure a trunk between two switches, use the switchport trunk encapsulation dot1q command, the switchport trunk allowed vlan command, and the switchport mode trunk command.

CAT1(config)#interface fa0/19

CAT1(config-if)#switchport trunk encapsulation dot1q

CAT1(config-if)#switchport trunk allowed vlan 12,16,23,34

CAT1(config-if)#switchport mode trunk

CAT1(config-if)#

4d00h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/19, changed state to down

4d00h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/19, changed state to up

Using the example above as a guide, configure the following links as trunks:

CAT1 and CAT3 on ports Fa0/19
CAT3 and CAT4 on ports Fa0/24
CAT4 and CAT2 on ports Fa0/19

Confirmation: Use the show interface trunk command to verify trunking status. 

CAT1#show interface trunk

 

Port        Mode         Encapsulation Status        Native vlan

Fa0/19      on           802.1q trunking      1

 

Port        Vlans allowed on trunk

Fa0/19      12,16,23,34

 

Port        Vlans allowed and active in management domain

Fa0/19      none

 

Port        Vlans in spanning tree forwarding state and not pruned

Fa0/19      none

 

CAT2#show interface trunk

 

Port        Mode         Encapsulation Status        Native vlan

Fa0/19      on           802.1q trunking      1

 

Port        Vlans allowed on trunk

Fa0/19      12,16,23,34

 

Port        Vlans allowed and active in management domain

Fa0/19      none

 

Port        Vlans in spanning tree forwarding state and not pruned

Fa0/19      none

 

CAT3#show interface trunk

 

Port        Mode         Encapsulation Status        Native vlan

Fa0/19      on           802.1q trunking      1

Fa0/24      on           802.1q trunking      1

 

Port        Vlans allowed on trunk

Fa0/19      12,16,23,34

Fa0/24      12,16,23,34

 

Port        Vlans allowed and active in management domain

Fa0/19      none

Fa0/24      none

 

Port        Vlans in spanning tree forwarding state and not pruned

Fa0/19      none

Fa0/24      none

 

CAT4#show interface trunk

 

Port        Mode         Encapsulation Status        Native vlan

Fa0/19      on           802.1q         trunking 1

Fa0/24      on           802.1q trunking      1

 

Port        Vlans allowed on trunk

Fa0/19      12,16,23,34

Fa0/24      12,16,23,34

 

Port        Vlans allowed and active in management domain

Fa0/19      none

Fa0/24      none

 

Port        Vlans in spanning tree forwarding state and not pruned

Fa0/19      none

Fa0/24      none

VLAN Trunking Protocol (VTP)

VTP is a layer 2 protocol that is used to propagate VLANs between switches and dynamically negotiate VLAN trunks. VTP uses a server-client model, with one or more switches acting as the server where all changes are made, and zero or more switches acting as read only clients. An active trunk between two switches is needed for VTP information to be propagated. For VTP to work, all switches must be configured with the same domain, VTP version, and password. VTP information is sent on the native VLAN.

To configure a switch as a VTP server, use the vtp mode server, vtp domain, vtp password, and vtp version 2 commands.

CAT3#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

CAT3(config)#vtp mode server

Setting device to VTP SERVER mode

CAT3(config)#vtp version 2

CAT3(config)#vtp domain lab2

Changing VTP domain name from NULL to lab2

CAT3(config)#vtp password ccie

Setting device VLAN database password to ccie

To configure a switch as a VTP client, use the vtp mode client, vtp domain, and vtp password commands.

CAT1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

CAT1(config)#vtp mode client

Setting device to VTP CLIENT mode.

CAT1(config)#vtp domain lab2

Changing VTP domain name from NULL to lab2

CAT1(config)#vtp password ccie

Setting device VLAN database password to ccie

VLANs cannot be configured on switches that are in client mode.

CAT2(config)#vlan 12

VTP VLAN configuration not allowed when device is in CLIENT mode.

To configure VLANs on switches configured in server mode use the vlan command.

CAT3(config)#vlan 12,16,23,34

CAT3(config-vlan)#exit

Using the above example, configure CAT3 as a VTP server, and CAT1, CAT2 and CAT4 as VTP clients. Use VTP domain ‘lab2’ and VTP password ‘ccie.’ Configure VLANs 12, 16, 23, and 34 on CAT3.

Confirmation: Use the show vtp status command to verify VTP configuration.

CAT1#show vtp status

VTP Version                     : 2

Configuration Revision          : 1

Maximum VLANs supported locally : 1005

Number of existing VLANs        : 9

VTP Operating Mode              : Client

VTP Domain Name                 : lab2

VTP Pruning Mode                : Disabled

VTP V2 Mode                     : Enabled

VTP Traps Generation            : Disabled

MD5 digest                      : 0x28 0x75 0xFB 0xFD 0x03 0x82 0x20 0x29

Configuration last modified by 0.0.0.0 at 3-1-93 00:34:29

 

CAT2#show vtp status

VTP Version                     : 2

Configuration Revision          : 1

Maximum VLANs supported locally : 1005

Number of existing VLANs        : 9

VTP Operating Mode              : Client

VTP Domain Name                 : lab2

VTP Pruning Mode                : Disabled

VTP V2 Mode                     : Enabled

VTP Traps Generation            : Disabled

MD5 digest                      : 0x28 0x75 0xFB 0xFD 0x03 0x82 0x20 0x29

Configuration last modified by 0.0.0.0 at 3-1-93 00:34:29

 

CAT3#show vtp status

VTP Version                     : 2

Configuration Revision          : 1

Maximum VLANs supported locally : 1005

Number of existing VLANs        : 9

VTP Operating Mode              : Server

VTP Domain Name                 : lab2

VTP Pruning Mode                : Disabled

VTP V2 Mode                     : Enabled

VTP Traps Generation            : Disabled

MD5 digest                      : 0x28 0x75 0xFB 0xFD 0x03 0x82 0x20 0x29

Configuration last modified by 0.0.0.0 at 3-1-93 00:34:29

Local updater ID is 0.0.0.0 (no valid interface found)

 

CAT4#show vtp status

VTP Version                     : 2

Configuration Revision          : 1

Maximum VLANs supported locally : 1005

Number of existing VLANs        : 9

VTP Operating Mode              : Client

VTP Domain Name                 : lab2

VTP Pruning Mode                : Disabled

VTP V2 Mode                     : Enabled

VTP Traps Generation            : Disabled

MD5 digest                      : 0x28 0x75 0xFB 0xFD 0x03 0x82 0x20 0x29

Configuration last modified by 0.0.0.0 at 3-1-93 00:34:29

Use the show vlan brief command to verify that the VLAN information was propagated.  

CAT1#show vlan brief

 

VLAN Name                             Status Ports

---- -------------------------------- --------- -------------------------------

1    default                          active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

Fa0/9, Fa0/10, Fa0/11, Fa0/12

                                                Fa0/13, Fa0/14, Fa0/15, Fa0/16

Fa0/17, Fa0/18, Fa0/19, Fa0/20

Fa0/21, Fa0/22, Fa0/24, Gi0/1

Gi0/2

12   VLAN0012                         active   

16   VLAN0016                         active   

23   VLAN0023                         active   

34   VLAN0034                         active   

1002 fddi-default                     act/unsup

1003 trcrf-default                    act/unsup

1004 fddinet-default                  act/unsup

1005 trbrf-default                    act/unsup

 

CAT2#show vlan brief

 

VLAN Name                             Status Ports

---- -------------------------------- --------- -------------------------------

1    default                          active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

Fa0/9, Fa0/10, Fa0/11, Fa0/12

Fa0/13, Fa0/14, Fa0/15, Fa0/16

Fa0/17, Fa0/18, Fa0/19, Fa0/20

Fa0/21, Fa0/22, Fa0/24, Gi0/1

Gi0/2

12   VLAN0012                         active   

16   VLAN0016                         active   

23   VLAN0023                         active   

34   VLAN0034                         active   

1002 fddi-default                     act/unsup

1003 trcrf-default                    act/unsup

1004 fddinet-default                  act/unsup

1005 trbrf-default                    act/unsup

 

CAT3#show vlan brief

 

VLAN Name                             Status    Ports

---- -------------------------------- --------- -------------------------------

1    default                          active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12

Fa0/13, Fa0/14, Fa0/16, Fa0/17

Fa0/18, Fa0/19, Fa0/20, Fa0/21

                                                Fa0/22, Fa0/24, Gi0/1, Gi0/2

12   VLAN0012                         active   

16   VLAN0016                         active   

23   VLAN0023                         active   

34   VLAN0034                         active   

1002 fddi-default                     act/unsup

1003 trcrf-default                    act/unsup

1004 fddinet-default                  act/unsup

1005 trbrf-default                    act/unsup

 

CAT4#show vlan brief

 

VLAN Name                             Status Ports

---- -------------------------------- --------- -------------------------------

1    default                          active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12

Fa0/13, Fa0/14, Fa0/16, Fa0/17

Fa0/18, Fa0/19, Fa0/20, Fa0/21

Fa0/22, Fa0/24, Gi0/1, Gi0/2

12   VLAN0012                         active   

16   VLAN0016                         active   

23   VLAN0023                         active   

34   VLAN0034                         active   

1002 fddi-default                     act/unsup

1003 trcrf-default                    act/unsup

1004 fddinet-default                  act/unsup

1005 trbrf-default                    act/unsup

VLAN Configuration

Layer 7 - Application

Layer 6 - Presentation

Layer 5 - Session

Layer 4 - Transport

Layer 3 – Network

Layer 2 - Data Link

·  VLANs

·  Switches

Layer 1 - Physical

To configure a port to be in a VLAN, use the switchport access vlan command and the switchport mode access command on the switch.

CAT1(config)#interface fa0/3

CAT1(config-if)#switchport access vlan 34

CAT1(config-if)#switchport mode access

Sometimes a router needs to route between more networks then it has interfaces for. To do this, you can set up a trunk between the switch and the router. Just like a trunk between two switches allows multiple networks over the same cable, we can do this between a router and a switch. This is often called a ‘router on a stick.’

To configure a ‘router on a stick,’ configure the switchport just as you would a trunk between two switches.

CAT1(config)#interface fa0/2

CAT1(config-if)#switchport trunk encapsulation dot1q

CAT1(config-if)#switchport trunk allowed vlan 12,23

CAT1(config-if)#switchport mode trunk

CAT1(config-if)#

4d01h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down

4d01h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

On the router, use the interface and encapsulation commands. The syntax for the encapsulation command is

encapsulation dot1q <VLAN>

R2#configure t

Enter configuration commands, one per line.  End with CNTL/Z.

R2(config)#interface fa0/0.12

R2(config-subif)#encapsulation dot1q 12

R2(config-subif)#interface fa0/0.23

R2(config-subif)#encapsulation dot1q 23

R2(config-subif)#exit

Notice the additional information on the interface command. This specifies that it is a sub-interface.

Configure all Ethernet ports to be in the correct VLAN. Use the physical and logical diagrams to determine which VLAN each port should be in. Configure the trunks between CAT1 and R2 and CAT2 and R1. Use the sub-interface configuration example above to configure the router’s interfaces.

Confirmation: Use the show vlan brief command to verify VLAN port configuration.

CAT1#show vlan brief

 

VLAN Name                             Status Ports

---- -------------------------------- --------- -------------------------------

1    default                          active Fa0/1, Fa0/4, Fa0/5, Fa0/7

Fa0/8, Fa0/9, Fa0/10, Fa0/11

Fa0/12, Fa0/13, Fa0/14, Fa0/15

                                                Fa0/16, Fa0/17, Fa0/18, Fa0/20

Fa0/21, Fa0/22, Fa0/23, Fa0/24

Gi0/1, Gi0/2

12   VLAN0012                         active    

16   VLAN0016                         active Fa0/6

23   VLAN0023                         active   

34   VLAN0034                         active Fa0/3

1002 fddi-default                     act/unsup

1003 trcrf-default                    act/unsup

1004 fddinet-default                  act/unsup

1005 trbrf-default                    act/unsup

 

CAT2#show vlan brief

 

VLAN Name                             Status Ports

---- -------------------------------- --------- -------------------------------

1    default                          active Fa0/2, Fa0/5, Fa0/6, Fa0/7

Fa0/8, Fa0/9, Fa0/10, Fa0/11

Fa0/12, Fa0/13, Fa0/14, Fa0/15

                                                Fa0/16, Fa0/17, Fa0/18, Fa0/20

Fa0/21, Fa0/22, Fa0/23, Fa0/24

Gi0/1, Gi0/2

12   VLAN0012                         active   

16   VLAN0016                         active   

23   VLAN0023                         active Fa0/3

34   VLAN0034                         active Fa0/4

1002 fddi-default                     act/unsup

1003 trcrf-default                    act/unsup

1004 fddinet-default                  act/unsup

1005 trbrf-default                    act/unsup

Use the show interfaces trunk command to verify VLAN trunking.

CAT1#show interfaces trunk

 

Port        Mode         Encapsulation Status        Native vlan

Fa0/2       on           802.1q trunking      1

Fa0/19      on           802.1q trunking      1

 

Port        Vlans allowed on trunk

Fa0/2       12,23

Fa0/19      12,16,23,34

 

Port        Vlans allowed and active in management domain

Fa0/2       12,23

Fa0/19      12,16,23,34

 

Port        Vlans in spanning tree forwarding state and not pruned

Fa0/2       12,23

Fa0/19      12,16,23,34

 

CAT2#show interfaces trunk

 

Port        Mode         Encapsulation Status        Native vlan

Fa0/1       on           802.1q trunking      1

Fa0/19      on           802.1q trunking      1

 

Port        Vlans allowed on trunk

Fa0/1       12,16

Fa0/19      12,16,23,34

 

Port        Vlans allowed and active in management domain

Fa0/1       12,16

Fa0/19      12,16,23,34

 

Port        Vlans in spanning tree forwarding state and not pruned

Fa0/1       12,16

Fa0/19      12,16,23,34

Spanning Tree Protocol (STP)

Spanning Tree Protocol (STP) is a layer 2 protocol used on Ethernet networks to prevent switching loops. Switching loops are undesirable, as they cause flooding of traffic on the network, resulting in an unusable network.

STP works by electing a root switch, then creating a spanning tree from that switch. It then disables the forwarding of traffic on the interfaces that are not part of that tree. Per the definition of a spanning tree, the resulting network will have no loops. By default, there is one instance of spanning tree per VLAN.

By default, spanning tree is configured to run on most every switch sold by default. There are many commands that allow you to modify how the switches calculate the spanning tree. For this lab, we are only going to change which switch gets elected as the root bridge (bridge is another name for a switch).

The way that spanning tree elects a root switch is by using the lowest configured priority on the switches. In case of a tie in priority, it uses the switch with the lowest MAC address.

To configure the root priority of a switch, use the spanning-tree vlan root primary command. The syntax for this command is

spanning-tree vlan <vlan range> root primary

CAT3(config)#spanning-tree vlan 12,16 root primary

This command changes the root priority of that switch for vlans in the <vlan range> to a value of 24576. To manually change the priority of the switch, use the spanning-tree vlan priority command. The syntax for this command is

spanning-tree vlan <vlan range> priority <priority>

CAT4(config)#spanning-tree vlan 23,34 priority 16384

Using the spanning-tree vlan root primary command, configure CAT3 as the spanning-tree root of VLANs 12 and 16. Using the spanning-tree vlan priority command, configure CAT4 as the spanning-tree root of VLANs 23 and 34 with a priority of 16384.

Confirmation: To view spanning-tree information, use the show spanning-tree command.

CAT1#show spanning-tree

 

VLAN0012

  Spanning tree enabled protocol ieee

  Root ID    Priority    24588

             Address     001a.2fbe.2c80

             Cost        19

             Port        21 (FastEthernet0/19)

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    32780  (priority 32768 sys-id-ext 12)

             Address     001a.2fbe.3100

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/2            Desg FWD 19        128.4    P2p

Fa0/19           Root FWD 19        128.21   P2p

 

         

VLAN0016

  Spanning tree enabled protocol ieee

  Root ID    Priority    24592

             Address     001a.2fbe.2c80

             Cost        19

             Port        21 (FastEthernet0/19)

             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

 

  Bridge ID  Priority    32784  (priority 32768 sys-id-ext 16)

             Address     001a.2fbe.3100

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/6            Desg FWD 19        128.8    P2p

Fa0/19           Root FWD 19        128.21   P2p

 

         

VLAN0023

  Spanning tree enabled protocol ieee

  Root ID    Priority    16407

             Address     001a.2fbe.3780

             Cost        38

             Port        21 (FastEthernet0/19)

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    32791  (priority 32768 sys-id-ext 23)

             Address     001a.2fbe.3100

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/2            Desg FWD 19        128.4    P2p

Fa0/19           Root FWD 19        128.21   P2p

 

         

VLAN0034

  Spanning tree enabled protocol ieee

  Root ID    Priority    16418

             Address     001a.2fbe.3780

             Cost        38

             Port        21 (FastEthernet0/19)

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    32802  (priority 32768 sys-id-ext 34)

             Address     001a.2fbe.3100

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/3            Desg FWD 19        128.5    P2p

Fa0/19           Root FWD 19        128.21   P2p

 

CAT2#show spanning-tree

 

VLAN0012

  Spanning tree enabled protocol ieee

  Root ID    Priority    24588

             Address     001a.2fbe.2c80

             Cost        38

             Port        21 (FastEthernet0/19)

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    32780  (priority 32768 sys-id-ext 12)

             Address     001a.2fa8.2e80

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/1            Desg FWD 19        128.3    P2p

Fa0/19           Root FWD 19        128.21   P2p

 

         

VLAN0016

  Spanning tree enabled protocol ieee

  Root ID    Priority    24592

             Address     001a.2fbe.2c80

             Cost        38

             Port        21 (FastEthernet0/19)

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    32784  (priority 32768 sys-id-ext 16)

             Address     001a.2fa8.2e80

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/1            Desg FWD 19        128.3    P2p

Fa0/19           Root FWD 19        128.21   P2p

 

         

VLAN0023

  Spanning tree enabled protocol ieee

  Root ID    Priority    16407

             Address     001a.2fbe.3780

             Cost        19

             Port        21 (FastEthernet0/19)

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    32791  (priority 32768 sys-id-ext 23)

             Address     001a.2fa8.2e80

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/3            Desg FWD 19        128.5    P2p

Fa0/19           Root FWD 19        128.21   P2p

 

         

VLAN0034

  Spanning tree enabled protocol ieee

  Root ID    Priority    16418

             Address     001a.2fbe.3780

             Cost        19

             Port        21 (FastEthernet0/19)

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    32802  (priority 32768 sys-id-ext 34)

             Address     001a.2fa8.2e80

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/4            Desg FWD 19        128.6    P2p

Fa0/19           Root FWD 19        128.21   P2p

 

CAT3#show spanning-tree

 

VLAN0012

  Spanning tree enabled protocol ieee

  Root ID    Priority    24588

             Address     001a.2fbe.2c80

             This bridge is the root

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    24588  (priority 24576 sys-id-ext 12)

             Address     001a.2fbe.2c80

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/19           Desg FWD 19        128.21   P2p

Fa0/24           Desg FWD 19        128.26   P2p

 

         

VLAN0016

  Spanning tree enabled protocol ieee

  Root ID    Priority    24592

             Address     001a.2fbe.2c80

             This bridge is the root

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    24592  (priority 24576 sys-id-ext 16)

             Address     001a.2fbe.2c80

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/19           Desg FWD 19        128.21   P2p

Fa0/24           Desg FWD 19        128.26   P2p

 

         

VLAN0023

  Spanning tree enabled protocol ieee

  Root ID    Priority    16407

             Address     001a.2fbe.3780

             Cost        19

             Port        26 (FastEthernet0/24)

             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

 

  Bridge ID  Priority    32791  (priority 32768 sys-id-ext 23)

             Address     001a.2fbe.2c80

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/19           Desg FWD 19        128.21   P2p

Fa0/24           Root FWD 19        128.26   P2p

 

         

VLAN0034

  Spanning tree enabled protocol ieee

  Root ID    Priority    16418

             Address     001a.2fbe.3780

             Cost        19

             Port        26 (FastEthernet0/24)

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    32802  (priority 32768 sys-id-ext 34)

             Address     001a.2fbe.2c80

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/19           Desg FWD 19        128.21   P2p

Fa0/24           Root FWD 19        128.26   P2p

 

CAT4#show spanning-tree

 

VLAN0012

  Spanning tree enabled protocol ieee

  Root ID    Priority    24588

             Address     001a.2fbe.2c80

             Cost        19

             Port        26 (FastEthernet0/24)

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    32780  (priority 32768 sys-id-ext 12)

             Address     001a.2fbe.3780

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/19           Desg FWD 19        128.21   P2p

Fa0/24           Root FWD 19        128.26   P2p

 

         

VLAN0016

  Spanning tree enabled protocol ieee

  Root ID    Priority    24592

             Address     001a.2fbe.2c80

             Cost        19

             Port        26 (FastEthernet0/24)

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    32784  (priority 32768 sys-id-ext 16)

             Address     001a.2fbe.3780

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/19           Desg FWD 19        128.21   P2p

Fa0/24           Root FWD 19        128.26   P2p

 

         

VLAN0023

  Spanning tree enabled protocol ieee

  Root ID    Priority    16407

             Address     001a.2fbe.3780

             This bridge is the root

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    16407  (priority 16384 sys-id-ext 23)

             Address     001a.2fbe.3780

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/19           Desg FWD 19        128.21   P2p

Fa0/24           Desg FWD 19        128.26   P2p

 

         

VLAN0034

  Spanning tree enabled protocol ieee

  Root ID    Priority    16418

             Address     001a.2fbe.3780

             This bridge is the root

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

 

  Bridge ID  Priority    16418  (priority 16384 sys-id-ext 34)

             Address     001a.2fbe.3780

             Hello Time   2 sec  Max Age 20 sec Forward Delay 15 sec

             Aging Time 300

 

Interface        Role Sts Cost      Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/19           Desg FWD 19        128.21   P2p

Fa0/24           Desg FWD 19        128.26   P2p

IP Addressing

Layer 7 - Application

Layer 6 - Presentation

Layer 5 - Session

Layer 4 - Transport

Layer 3 – Network

·  IP Address

·  Ping

Layer 2 - Data Link

Layer 1 - Physical

For the purpose of this lab, we will be using only /24, or 255.255.255.0 networks.

To put an IP address on an interface, use the ip address command. The syntax for this command is

ip address <ip address> <mask>

R1(config)#interface fa0/1.12

R1(config-subif)#ip address 172.16.12.1 255.255.255.0

R1(config-subif)#exit

R1(config)#interface fa0/1.16

R1(config-subif)#ip address 172.16.16.1 255.255.255.0

 

R3(config)#interface fa0/0

R3(config-if)#ip address 172.16.34.3 255.255.255.0

R3(config-if)#exit    

R3(config)#interface fa0/1

R3(config-if)#ip address 172.16.23.3 255.255.255.0

R3(config-if)#exit

R3(config)#interface s0/1/0

R3(config-if)#ip address 10.0.35.3 255.255.255.0

Using the diagrams, finish addressing the remaining Ethernet and Serial interfaces. Do not configure the interfaces that are connected to the Frame Relay Switch (FRS).

Confirmation: To verify IP addressing, use the show ip interface brief command.

R1#show ip interface brief

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0            unassigned      YES NVRAM  administratively down down   

FastEthernet0/1            unassigned      YES NVRAM  up                    up     

FastEthernet0/1.12         172.16.12.1     YES NVRAM  up                    up     

FastEthernet0/1.16         172.16.16.1     YES NVRAM  up                    up     

Serial0/0/0                unassigned      YES NVRAM  administratively down down   

Serial0/0/1                unassigned      YES NVRAM  administratively down down   

Serial0/1/0                unassigned      YES NVRAM  administratively down down   

Serial0/1/1                unassigned      YES NVRAM administratively down down   

 

R2#show ip interface brief

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0            unassigned      YES unset  up                    up     

FastEthernet0/0.12         172.16.12.2     YES manual up                    up     

FastEthernet0/0.23         172.16.23.2     YES manual up                    up     

FastEthernet0/1            unassigned      YES unset  administratively down down   

Serial0/0/0                unassigned      YES unset  administratively down down   

Serial0/0/1                unassigned      YES unset  administratively down down   

Serial0/1/0                10.0.25.2       YES manual up                    up     

Serial0/1/1                unassigned      YES unset administratively down down        

 

R3#show ip interface brief

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0            172.16.34.3     YES manual up                    up     

FastEthernet0/1            172.16.23.3     YES manual up                    up     

Serial0/0/0                unassigned      YES unset  administratively down down   

Serial0/0/1                unassigned      YES unset  administratively down down   

Serial0/1/0                10.0.35.3       YES manual up                    up     

Serial0/1/1                unassigned      YES unset administratively down down        

 

R4#show ip interface brief

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0            unassigned      YES unset  administratively down down   

FastEthernet0/1            172.16.34.4     YES manual up                    up     

Serial0/0/0                unassigned      YES unset  administratively down down   

Serial0/0/1                unassigned      YES unset  administratively down down   

Serial0/1/0                unassigned      YES unset  administratively down down   

Serial0/1/1                unassigned      YES unset  administratively down down   

Serial0/2/0                unassigned      YES unset  administratively down down   

Serial0/2/1                unassigned      YES unset administratively down down     

 

R5#show ip interface brief

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0            unassigned      YES unset  administratively down down   

FastEthernet0/1            unassigned      YES unset  administratively down down   

Serial0/0/0                10.0.25.5       YES manual up                    up     

Serial0/0/1                10.0.35.5       YES manual up                    up     

Serial0/1/0                unassigned      YES manual administratively down down   

Serial0/1/1                unassigned      YES unset  administratively down down   

Serial0/2/0                unassigned      YES unset  administratively down down   

Serial0/2/1                unassigned      YES unset administratively down down       

 

R6#show ip interface brief

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0            172.16.16.6     YES manual up                    up     

FastEthernet0/1            unassigned      YES unset  administratively down down   

Serial0/0/0                unassigned      YES unset  administratively down down   

Serial0/0/1                unassigned      YES unset  administratively down down   

Serial0/1/0                unassigned      YES unset  administratively down down   

Serial0/1/1                unassigned      YES unset administratively down down            

To test Layer 3 connectivity, use the ping command. Each device should be able to ping its neighbors. Do not worry if the first one or two pings fail.  

R1#ping 172.16.12.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.12.2, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/4 ms

R1#ping 172.16.16.6

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.16.6, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/4 ms

 

R2#ping 172.16.12.1

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

R2#ping 172.16.23.3

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.23.3, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/4 ms

R2#ping 10.0.25.5

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.25.5, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms

 

R3#ping 172.16.23.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.23.2, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/4 ms

R3#ping 172.16.34.4

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.34.4, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/4 ms

R3#ping 10.0.35.5

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.35.5, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms

 

R4#ping 172.16.34.3

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.34.3, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

 

R5#ping 10.0.25.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.25.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms

R5#ping 10.0.35.3

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.35.3, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms

 

R6#ping 172.16.16.1

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.16.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Frame Relay

Layer 7 - Application

Layer 6 - Presentation

Layer 5 - Session

Layer 4 - Transport

Layer 3 – Network

Layer 2 - Data Link

·  Frame Relay

Layer 1 - Physical

To configure the Frame Relay Switch (FRS), use the configuration posted on the lab list page.

To configure frame relay on an interface, use the encapsulation frame-relay, no frame-relay inverse-arp and frame-relay map ip commands. The syntax for the frame-relay map ip command is

frame-relay map ip <ip address> <dlci> broadcast

R1(config)#interface s0/0/0
R1(config-if)#ip address 10.0.12.1 255.255.255.0

R1(config-if)#encapsulation frame-relay

R1(config-if)#no frame-relay inverse-arp

R1(config-if)#frame-relay map ip 10.0.12.1 102

R1(config-if)#frame-relay map ip 10.0.12.2 102 broadcast

R1(config-if)#no shutdown

 

R2(config)#interface s0/0/0

R2(config-if)#ip address 10.0.234.2 255.255.255.0

R2(config-if)#encapsulation frame-relay

R2(config-if)#no frame-relay inverse-arp

R2(config-if)#frame-relay map ip 10.0.234.2 203

R2(config-if)#frame-relay map ip 10.0.234.3 203 broadcast

R2(config-if)#frame-relay map ip 10.0.234.4 204 broadcast

R2(config-if)#no shutdown

R2(config-if)#exit

 

R3(config)#interface s0/0/0

R3(config-if)#ip address 10.0.234.3 255.255.255.0

R3(config-if)#encapsulation frame-relay

R3(config-if)#no frame-relay inverse-arp

R3(config-if)#frame-relay map ip 10.0.234.2 302 broadcast

R3(config-if)#frame-relay map ip 10.0.234.3 302         

R3(config-if)#frame-relay map ip 10.0.234.4 304 broadcast

R3(config-if)#no shutdown

 

R4(config)#interface s0/0/0

R4(config-if)#ip address 10.0.234.4 255.255.255.0

R4(config-if)#encapsulation frame-relay

R4(config-if)#no frame-relay inverse-arp

R4(config-if)#frame-relay map ip 10.0.234.2 402 broadcast

R4(config-if)#frame-relay map ip 10.0.234.3 403 broadcast

R4(config-if)#frame-relay map ip 10.0.234.4 402

R4(config-if)#no shutdown

To configure frame relay on a point to point sub-interface, use the frame-relay interface-dlci command.

R2(config)#interface s0/0/0.12 point-to-point

R2(config-subif)#ip address 10.0.12.2 255.255.255.0

R2(config-subif)#frame-relay interface-dlci 201

Using the commands above, configure frame relay on all applicable devices.

Confirmation: To verify frame relay, use the show frame-relay pvc, show frame-relay map, and show frame-relay lmi commands.

R1#show frame-relay pvc

 

PVC Statistics for interface Serial0/0/0 (Frame Relay DTE)

 

              Active     Inactive      Deleted Static

  Local          1            0 0            0

  Switched       0            0 0            0

  Unused         2            0 0            0

 

DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

 

  input pkts 11            output pkts 5 in bytes 1391     

  out bytes 520            dropped pkts 0 in pkts dropped 0        

  out pkts dropped 0                out bytes dropped 0        

  in FECN pkts 0           in BECN pkts 0 out FECN pkts 0        

  out BECN pkts 0          in DE pkts 0 out DE pkts 0        

  out bcast pkts 0         out bcast bytes 0

  5 minute input rate 0 bits/sec, 1 packets/sec

  5 minute output rate 0 bits/sec, 1 packets/sec

  pvc create time 00:02:14, last time pvc status changed 00:01:44

         

DLCI = 103, DLCI USAGE = UNUSED, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

 

  input pkts 0             output pkts 0 in bytes 0        

  out bytes 0              dropped pkts 0 in pkts dropped 0        

  out pkts dropped 0                out bytes dropped 0        

  in FECN pkts 0           in BECN pkts 0 out FECN pkts 0        

  out BECN pkts 0          in DE pkts 0 out DE pkts 0        

  out bcast pkts 0         out bcast bytes 0

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

  pvc create time 00:02:16, last time pvc status changed 00:01:56

         

DLCI = 104, DLCI USAGE = UNUSED, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

 

  input pkts 0             output pkts 0 in bytes 0        

  out bytes 0              dropped pkts 0 in pkts dropped 0        

  out pkts dropped 0                out bytes dropped 0        

  in FECN pkts 0           in BECN pkts 0 out FECN pkts 0        

  out BECN pkts 0          in DE pkts 0 out DE pkts 0        

  out bcast pkts 0         out bcast bytes 0

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

  pvc create time 00:02:17, last time pvc status changed 00:01:57

R1#show frame-relay map

Serial0/0/0 (up): ip 10.0.12.2 dlci 102(0x66,0x1860), static,

              broadcast,

              CISCO, status defined, active

Serial0/0/0 (up): ip 10.0.12.1 dlci 102(0x66,0x1860), static,

              CISCO, status defined, active

R1#show frame-relay lmi

 

LMI Statistics for interface Serial0/0/0 (Frame Relay DTE) LMI TYPE = CISCO

  Invalid Unnumbered info 0             Invalid Prot Disc 0

  Invalid dummy Call Ref 0              Invalid Msg Type 0

  Invalid Status Message 0              Invalid Lock Shift 0

  Invalid Information ID 0              Invalid Report IE Len 0

  Invalid Report Request 0              Invalid Keep IE Len 0

  Num Status Enq. Sent 14               Num Status msgs Rcvd 15

  Num Update Status Rcvd 0              Num Status Timeouts 0

  Last Full Status Req 00:00:27         Last Full Status Rcvd 00:00:27

 

R2#show frame-relay pvc

 

PVC Statistics for interface Serial0/0/0 (Frame Relay DTE)

 

              Active     Inactive      Deleted Static

  Local          3            0            0 0

  Switched       0            0 0            0

  Unused         0            0 0            0

 

DLCI = 201, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0.12

 

  input pkts 5             output pkts 15           in bytes 520      

  out bytes 2795           dropped pkts 0 in pkts dropped 0        

  out pkts dropped 0                out bytes dropped 0        

  in FECN pkts 0           in BECN pkts 0 out FECN pkts 0        

  out BECN pkts 0          in DE pkts 0 out DE pkts 0        

  out bcast pkts 5         out bcast bytes 1755

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

  pvc create time 00:08:32, last time pvc status changed 00:02:41

         

DLCI = 203, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

 

  input pkts 0             output pkts 0 in bytes 0        

  out bytes 0              dropped pkts 0 in pkts dropped 0        

  out pkts dropped 0                out bytes dropped 0        

  in FECN pkts 0           in BECN pkts 0 out FECN pkts 0        

  out BECN pkts 0          in DE pkts 0 out DE pkts 0        

  out bcast pkts 0         out bcast bytes 0

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

  pvc create time 00:09:36, last time pvc status changed 00:02:32

         

DLCI = 204, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

 

  input pkts 0             output pkts 0 in bytes 0        

  out bytes 0              dropped pkts 0 in pkts dropped 0        

  out pkts dropped 0                out bytes dropped 0        

  in FECN pkts 0           in BECN pkts 0 out FECN pkts 0        

  out BECN pkts 0          in DE pkts 0 out DE pkts 0        

  out bcast pkts 0         out bcast bytes 0

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

  pvc create time 00:09:19, last time pvc status changed 00:02:34

R2#show frame-relay map

Serial0/0/0 (up): ip 10.0.234.2 dlci 203(0xCB,0x30B0), static,

              CISCO, status defined, active

Serial0/0/0 (up): ip 10.0.234.3 dlci 203(0xCB,0x30B0), static,

              broadcast,

              CISCO, status defined, active

Serial0/0/0 (up): ip 10.0.234.4 dlci 204(0xCC,0x30C0), static,

              broadcast,

              CISCO, status defined, active

Serial0/0/0.12 (up): point-to-point dlci, dlci 201(0xC9,0x3090), broadcast

          status defined, active

R2#show frame-relay lmi

 

LMI Statistics for interface Serial0/0/0 (Frame Relay DTE) LMI TYPE = CISCO

  Invalid Unnumbered info 0             Invalid Prot Disc 0

  Invalid dummy Call Ref 0              Invalid Msg Type 0

  Invalid Status Message 0              Invalid Lock Shift 0

  Invalid Information ID 0              Invalid Report IE Len 0

  Invalid Report Request 0              Invalid Keep IE Len 0

  Num Status Enq. Sent 18               Num Status msgs Rcvd 20

  Num Update Status Rcvd 0              Num Status Timeouts 0

  Last Full Status Req 00:00:53         Last Full Status Rcvd 00:00:53

 

R3#show frame-relay pvc

 

PVC Statistics for interface Serial0/0/0 (Frame Relay DTE)

 

              Active     Inactive      Deleted Static

  Local          2            0 0            0

  Switched       0            0 0            0

  Unused         1            0 0            0

 

DLCI = 301, DLCI USAGE = UNUSED, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

 

  input pkts 0             output pkts 0 in bytes 0        

  out bytes 0              dropped pkts 0 in pkts dropped 0        

  out pkts dropped 0                out bytes dropped 0        

  in FECN pkts 0           in BECN pkts 0 out FECN pkts 0        

  out BECN pkts 0          in DE pkts 0 out DE pkts 0        

  out bcast pkts 0         out bcast bytes 0

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

  pvc create time 00:03:44, last time pvc status changed 00:03:34

         

DLCI = 302, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

 

  input pkts 16            output pkts 15 in bytes 1620     

  out bytes 1560           dropped pkts 0 in pkts dropped 0        

  out pkts dropped 0                out bytes dropped 0        

  in FECN pkts 0           in BECN pkts 0 out FECN pkts 0        

  out BECN pkts 0          in DE pkts 0 out DE pkts 0        

  out bcast pkts 0         out bcast bytes 0

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

  pvc create time 00:07:49, last time pvc status changed 00:03:26

         

DLCI = 304, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

 

  input pkts 5             output pkts 5 in bytes 520      

  out bytes 520            dropped pkts 0 in pkts dropped 0        

  out pkts dropped 0                out bytes dropped 0        

  in FECN pkts 0           in BECN pkts 0 out FECN pkts 0        

  out BECN pkts 0          in DE pkts 0 out DE pkts 0        

  out bcast pkts 0         out bcast bytes 0

  5 minute input rate 0 bits/sec, 1 packets/sec

  5 minute output rate 0 bits/sec, 1 packets/sec

  pvc create time 00:07:20, last time pvc status changed 00:03:26

R3#show frame-relay map

Serial0/0/0 (up): ip 10.0.234.2 dlci 302(0x12E,0x48E0), static,

              broadcast,

              CISCO, status defined, active

Serial0/0/0 (up): ip 10.0.234.3 dlci 302(0x12E,0x48E0), static,

              CISCO, status defined, active

Serial0/0/0 (up): ip 10.0.234.4 dlci 304(0x130,0x4C00), static,

              broadcast,

              CISCO, status defined, active

R3#show frame-relay lmi

 

LMI Statistics for interface Serial0/0/0 (Frame Relay DTE) LMI TYPE = CISCO

  Invalid Unnumbered info 0             Invalid Prot Disc 0

  Invalid dummy Call Ref 0              Invalid Msg Type 0

  Invalid Status Message 0              Invalid Lock Shift 0

  Invalid Information ID 0              Invalid Report IE Len 0

  Invalid Report Request 0              Invalid Keep IE Len 0

  Num Status Enq. Sent 23               Num Status msgs Rcvd 24

  Num Update Status Rcvd 0              Num Status Timeouts 0

  Last Full Status Req 00:00:54         Last Full Status Rcvd 00:00:54

 

R4#show frame-relay pvc

 

PVC Statistics for interface Serial0/0/0 (Frame Relay DTE)

 

              Active     Inactive      Deleted Static

  Local          2            0 0            0

  Switched       0            0 0            0

  Unused         1            0 0            0

 

DLCI = 401, DLCI USAGE = UNUSED, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

 

  input pkts 0             output pkts 0 in bytes 0        

  out bytes 0              dropped pkts 0 in pkts dropped 0        

  out pkts dropped 0                out bytes dropped 0        

  in FECN pkts 0           in BECN pkts 0           out FECN pkts 0        

  out BECN pkts 0          in DE pkts 0 out DE pkts 0        

  out bcast pkts 0         out bcast bytes 0

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

  pvc create time 00:04:19, last time pvc status changed 00:04:09

         

DLCI = 402, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

 

  input pkts 0             output pkts 0 in bytes 0        

  out bytes 0              dropped pkts 0 in pkts dropped 0        

  out pkts dropped 0                out bytes dropped 0        

  in FECN pkts 0           in BECN pkts 0 out FECN pkts 0        

  out BECN pkts 0          in DE pkts 0 out DE pkts 0        

  out bcast pkts 0         out bcast bytes 0

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

  pvc create time 00:06:51, last time pvc status changed 00:04:01

         

DLCI = 403, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

 

  input pkts 5             output pkts 5 in bytes 520      

  out bytes 520            dropped pkts 0 in pkts dropped 0        

  out pkts dropped 0                out bytes dropped 0        

  in FECN pkts 0           in BECN pkts 0 out FECN pkts 0        

  out BECN pkts 0          in DE pkts 0 out DE pkts 0        

  out bcast pkts 0         out bcast bytes 0

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

  pvc create time 00:06:41, last time pvc status changed 00:04:12

R4#show frame-relay map

Serial0/0/0 (up): ip 10.0.234.2 dlci 402(0x192,0x6420), static,

              broadcast,

              CISCO, status defined, active

Serial0/0/0 (up): ip 10.0.234.3 dlci 403(0x193,0x6430), static,

              broadcast,

              CISCO, status defined, active

Serial0/0/0 (up): ip 10.0.234.4 dlci 402(0x192,0x6420), static,

              CISCO, status defined, active

R4#show frame-relay lmi

 

LMI Statistics for interface Serial0/0/0 (Frame Relay DTE) LMI TYPE = CISCO

  Invalid Unnumbered info 0             Invalid Prot Disc 0

  Invalid dummy Call Ref 0              Invalid Msg Type 0

  Invalid Status Message 0              Invalid Lock Shift 0

  Invalid Information ID 0              Invalid Report IE Len 0

  Invalid Report Request 0              Invalid Keep IE Len 0

  Num Status Enq. Sent 27               Num Status msgs Rcvd 28

  Num Update Status Rcvd 0              Num Status Timeouts 0

  Last Full Status Req 00:00:35         Last Full Status Rcvd 00:00:35

To test Layer 3 connectivity, use the ping command. Each device should be able to ping its neighbors.

R1#ping 10.0.12.1

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.12.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 112/115/120 ms

R1#ping 10.0.12.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.12.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms

 

R2#ping 10.0.12.1     

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.12.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms

R2#ping 10.0.12.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.12.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 112/115/124 ms

R2#ping 10.0.234.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.234.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 112/112/116 ms

R2#ping 10.0.234.3

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.234.3, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms

R2#ping 10.0.234.4

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.234.4, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 56/57/60 ms

 

R3#ping 10.0.234.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.234.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 56/57/60 ms

R3#ping 10.0.234.3

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.234.3, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 112/113/116 ms

R3#ping 10.0.234.4

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.234.4, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms

 

R4#ping 10.0.234.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.234.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 56/57/60 ms

R4#ping 10.0.234.3

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.234.3, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms

R4#ping 10.0.234.4

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.234.4, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 112/114/120 ms

 EIGRP Routing

Layer 7 - Application

Layer 6 - Presentation

Layer 5 - Session

Layer 4 - Transport

Layer 3 – Network

·  Routing

Layer 2 - Data Link

Layer 1 - Physical

At this point in the lab, each router can send data to routers that are adjacent to itself. In this lab we will be configuring the EIGRP routing protocol.

To configure EIGRP, use the router eigrp 1, no auto-summary, and the network commands. The syntax for the network command is

network <network address>

R1(config)#router eigrp 1

R1(config-router)#no auto-summary

R1(config-router)#network 172.16.0.0

R1(config-router)#network 10.0.0.0

 

R2(config)#router eigrp 1

R2(config-router)#no auto-summary

R2(config-router)#network 172.16.0.0  

R2(config-router)#network 10.0.0.0

 

R3(config)#router eigrp 1

R3(config-router)#no auto-summary

R3(config-router)#network 172.16.0.0

R3(config-router)#network 10.0.0.0

 

R4(config)#router eigrp 1

R4(config-router)#no auto-summary

R4(config-router)#network 172.16.0.0

R4(config-router)#network 10.0.0.0

 

R5(config)#router eigrp 1

R5(config-router)#no auto-summary

R5(config-router)#network 10.0.0.0

 

R6(config)#router eigrp 1

R6(config-router)#no auto-summary

R6(config-router)#network 172.16.0.0

Using the examples above and the network diagrams, finish configuring EIGRP on all of the routers.

Confirmation: To verify routing, there are a number of commands at your disposal. Over time, you will learn many ways to diagnose and troubleshoot routing problems. Start off with the show ip protocols command.

R1#show ip protocols

Routing Protocol is "eigrp 1"

  Outgoing update filter list for all interfaces is not set

  Incoming update filter list for all interfaces is not set

  Default networks flagged in outgoing updates

  Default networks accepted from incoming updates

  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0

  EIGRP maximum hopcount 100

  EIGRP maximum metric variance 1

  Redistributing: eigrp 1

  EIGRP NSF-aware route hold timer is 240s

  Automatic network summarization is not in effect

  Maximum path: 4

  Routing for Networks:

    10.0.0.0

    172.16.0.0

  Routing Information Sources:

    Gateway         Distance      Last Update

    10.0.12.2             90      00:02:37

    172.16.12.2           90      00:02:37

  Distance: internal 90 external 170

 

R2#show ip protocols

Routing Protocol is "eigrp 1"

  Outgoing update filter list for all interfaces is not set

  Incoming update filter list for all interfaces is not set

  Default networks flagged in outgoing updates

  Default networks accepted from incoming updates

  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0

  EIGRP maximum hopcount 100

  EIGRP maximum metric variance 1

  Redistributing: eigrp 1

  EIGRP NSF-aware route hold timer is 240s

  Automatic network summarization is not in effect

  Maximum path: 4

  Routing for Networks:

    10.0.0.0

    172.16.0.0

  Routing Information Sources:

    Gateway         Distance      Last Update

    10.0.12.1             90      00:01:58

    10.0.25.5             90      00:01:58

    172.16.23.3           90      00:01:58

    172.16.12.1           90      00:02:35

    10.0.234.3            90      00:01:58

    10.0.234.4            90      00:01:58

  Distance: internal 90 external 170

 

R3#show ip protocols

Routing Protocol is "eigrp 1"

  Outgoing update filter list for all interfaces is not set

  Incoming update filter list for all interfaces is not set

  Default networks flagged in outgoing updates

  Default networks accepted from incoming updates

  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0

  EIGRP maximum hopcount 100

  EIGRP maximum metric variance 1

  Redistributing: eigrp 1

  EIGRP NSF-aware route hold timer is 240s

  Automatic network summarization is not in effect

  Maximum path: 4

  Routing for Networks:

    10.0.0.0

    172.16.0.0

  Routing Information Sources:

    Gateway         Distance      Last Update

    10.0.35.5             90      00:02:22

    172.16.34.4           90      00:03:01

    172.16.23.2           90      00:02:22

    10.0.234.2            90      00:02:22

    10.0.234.4            90      00:02:22

  Distance: internal 90 external 170

 

R4#show ip protocols

Routing Protocol is "eigrp 1"

  Outgoing update filter list for all interfaces is not set

  Incoming update filter list for all interfaces is not set

  Default networks flagged in outgoing updates

  Default networks accepted from incoming updates

  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0

  EIGRP maximum hopcount 100

  EIGRP maximum metric variance 1

  Redistributing: eigrp 1

  EIGRP NSF-aware route hold timer is 240s

  Automatic network summarization is not in effect

  Maximum path: 4

  Routing for Networks:

    10.0.0.0

    172.16.0.0

  Routing Information Sources:

    Gateway         Distance      Last Update

    172.16.34.3           90      00:03:23

    10.0.234.2            90      00:03:23

    10.0.234.3            90      00:03:23

  Distance: internal 90 external 170

 

R5#show ip protocols

Routing Protocol is "eigrp 1"

  Outgoing update filter list for all interfaces is not set

  Incoming update filter list for all interfaces is not set

  Default networks flagged in outgoing updates

  Default networks accepted from incoming updates

  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0

  EIGRP maximum hopcount 100

  EIGRP maximum metric variance 1

  Redistributing: eigrp 1

  EIGRP NSF-aware route hold timer is 240s

  Automatic network summarization is not in effect

  Maximum path: 4

  Routing for Networks:

    10.0.0.0

  Routing Information Sources:

    Gateway         Distance      Last Update

    10.0.25.2             90      00:03:10

    10.0.35.3             90      00:03:10

  Distance: internal 90 external 170

 

R6#show ip protocols

Routing Protocol is "eigrp 1"

  Outgoing update filter list for all interfaces is not set

  Incoming update filter list for all interfaces is not set

  Default networks flagged in outgoing updates

  Default networks accepted from incoming updates

  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0

  EIGRP maximum hopcount 100

  EIGRP maximum metric variance 1

  Redistributing: eigrp 1

  EIGRP NSF-aware route hold timer is 240s

  Automatic network summarization is not in effect

  Maximum path: 4

  Routing for Networks:

    172.16.0.0

  Routing Information Sources:

    Gateway         Distance      Last Update

    172.16.16.1           90      00:02:59

  Distance: internal 90 external 170

Now try the show ip route command. You will use this command a lot. Using your book or the internet, find out what each of the columns means.

R1#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route

 

Gateway of last resort is not set

 

     172.16.0.0/24 is subnetted, 4 subnets

D       172.16.34.0 [90/33280] via 172.16.12.2, 00:00:58, FastEthernet0/1.12

D       172.16.23.0 [90/30720] via 172.16.12.2, 00:01:11, FastEthernet0/1.12

C       172.16.16.0 is directly connected, FastEthernet0/1.16

C       172.16.12.0 is directly connected, FastEthernet0/1.12

     10.0.0.0/24 is subnetted, 4 subnets

C       10.0.12.0 is directly connected, Serial0/0/0

D       10.0.25.0 [90/2172416] via 172.16.12.2, 00:01:11, FastEthernet0/1.12

D       10.0.35.0 [90/2174976] via 172.16.12.2, 00:00:59, FastEthernet0/1.12

D       10.0.234.0 [90/2172416] via 172.16.12.2, 00:01:12, FastEthernet0/1.12

 

R2#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route

 

Gateway of last resort is not set

 

     172.16.0.0/24 is subnetted, 4 subnets

D       172.16.34.0 [90/30720] via 172.16.23.3, 00:00:34, FastEthernet0/0.23

C       172.16.23.0 is directly connected, FastEthernet0/0.23

D       172.16.16.0 [90/30720] via 172.16.12.1, 00:00:44, FastEthernet0/0.12

C       172.16.12.0 is directly connected, FastEthernet0/0.12

     10.0.0.0/24 is subnetted, 4 subnets

C       10.0.12.0 is directly connected, Serial0/0/0.12

C       10.0.25.0 is directly connected, Serial0/1/0

D       10.0.35.0 [90/2172416] via 172.16.23.3, 00:00:36, FastEthernet0/0.23

C       10.0.234.0 is directly connected, Serial0/0/0

 

R3#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route

 

Gateway of last resort is not set

 

     172.16.0.0/24 is subnetted, 4 subnets

C       172.16.34.0 is directly connected, FastEthernet0/0

C       172.16.23.0 is directly connected, FastEthernet0/1

D       172.16.16.0 [90/33280] via 172.16.23.2, 00:00:37, FastEthernet0/1

D       172.16.12.0 [90/30720] via 172.16.23.2, 00:00:37, FastEthernet0/1

     10.0.0.0/24 is subnetted, 4 subnets

D       10.0.12.0 [90/2172416] via 172.16.23.2, 00:00:37, FastEthernet0/1

D       10.0.25.0 [90/2172416] via 172.16.23.2, 00:00:37, FastEthernet0/1

C       10.0.35.0 is directly connected, Serial0/1/0

C       10.0.234.0 is directly connected, Serial0/0/0

 

R4#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route

 

Gateway of last resort is not set

 

     172.16.0.0/24 is subnetted, 4 subnets

C       172.16.34.0 is directly connected, FastEthernet0/1

D       172.16.23.0 [90/30720] via 172.16.34.3, 00:00:50, FastEthernet0/1

D       172.16.16.0 [90/35840] via 172.16.34.3, 00:00:50, FastEthernet0/1

D       172.16.12.0 [90/33280] via 172.16.34.3, 00:00:50, FastEthernet0/1

     10.0.0.0/24 is subnetted, 4 subnets

D       10.0.12.0 [90/2174976] via 172.16.34.3, 00:00:50, FastEthernet0/1

D       10.0.25.0 [90/2174976] via 172.16.34.3, 00:00:50, FastEthernet0/1

D       10.0.35.0 [90/2172416] via 172.16.34.3, 00:00:51, FastEthernet0/1

C       10.0.234.0 is directly connected, Serial0/0/0

 

R5#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route

 

Gateway of last resort is not set

 

     172.16.0.0/24 is subnetted, 4 subnets

D       172.16.34.0 [90/2172416] via 10.0.35.3, 00:00:42, Serial0/0/1

D       172.16.23.0 [90/2172416] via 10.0.35.3, 00:00:42, Serial0/0/1

                    [90/2172416] via 10.0.25.2, 00:00:42, Serial0/0/0

D       172.16.16.0 [90/2174976] via 10.0.25.2, 00:00:42, Serial0/0/0

D       172.16.12.0 [90/2172416] via 10.0.25.2, 00:00:42, Serial0/0/0

     10.0.0.0/24 is subnetted, 4 subnets

D       10.0.12.0 [90/2681856] via 10.0.25.2, 00:00:42, Serial0/0/0

C       10.0.25.0 is directly connected, Serial0/0/0

C       10.0.35.0 is directly connected, Serial0/0/1

D       10.0.234.0 [90/2681856] via 10.0.35.3, 00:00:44, Serial0/0/1

                   [90/2681856] via 10.0.25.2, 00:00:44, Serial0/0/0

 

R6#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route

 

Gateway of last resort is not set

 

     172.16.0.0/24 is subnetted, 4 subnets

D       172.16.34.0 [90/35840] via 172.16.16.1, 00:00:34, FastEthernet0/0

D       172.16.23.0 [90/33280] via 172.16.16.1, 00:00:34, FastEthernet0/0

C       172.16.16.0 is directly connected, FastEthernet0/0

D       172.16.12.0 [90/30720] via 172.16.16.1, 00:00:34, FastEthernet0/0

     10.0.0.0/24 is subnetted, 4 subnets

D       10.0.12.0 [90/2172416] via 172.16.16.1, 00:00:34, FastEthernet0/0

D       10.0.25.0 [90/2174976] via 172.16.16.1, 00:00:34, FastEthernet0/0

D       10.0.35.0 [90/2177536] via 172.16.16.1, 00:00:36, FastEthernet0/0

D       10.0.234.0 [90/2174976] via 172.16.16.1, 00:00:36, FastEthernet0/0

TCL Scripts / Lab Verification

Layer 7 - Application

Layer 6 - Presentation

Layer 5 - Session

Layer 4 - Transport

Layer 3 – Network

·  Ping

Layer 2 - Data Link

Layer 1 - Physical

At the end of each lab, you will need to verify that everything is working. To do this, you will need to ping from each device to every IP address in your network. This is not practical to do by hand, so we will use a handy tool called TCL (Pronounced tickle) scripts.

The basic syntax for this command is

tclsh
      foreach address {
      <address 1>
      <address 2>
      <address 3>
      <…>

      } {
         ping $address
      }
      tclquit

R1#tclsh

R1(tcl)#foreach address {

+>(tcl)#10.0.12.1

+>(tcl)#10.0.12.2

+>(tcl)#10.0.25.2

+>(tcl)#10.0.25.5

+>(tcl)#10.0.35.3

+>(tcl)#10.0.35.5

+>(tcl)#10.0.234.2

+>(tcl)#10.0.234.3

+>(tcl)#10.0.234.4

+>(tcl)#172.16.12.1

+>(tcl)#172.16.12.2

+>(tcl)#172.16.16.1

+>(tcl)#172.16.16.6

+>(tcl)#172.16.23.2

+>(tcl)#172.16.23.3

+>(tcl)#172.16.34.3

+>(tcl)#172.16.34.4

+>(tcl)#} {

+>(tcl)#   ping $address

+>(tcl)#}

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.12.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 112/112/112 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.12.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.25.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.25.5, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.35.3, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.35.5, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.234.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.234.3, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/30/32 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.234.4, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.12.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.16.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.16.6, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.23.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.23.3, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.34.3, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.34.4, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

For any ping that fails, go back and recheck the previous sections of the lab. Do the best you can to troubleshoot. If you cannot figure it out, call over a TA to give you a hand.

Once you have verified that the script works on every device, submit it to WebCT to be graded.