Sie sind auf Seite 1von 8

Scenario1_LAN_Switching_V1.5.

pptx
HET424 Scenario 1 – LAN Switching - V1.5

Network Topology

OSPF
LAN C
as Loopback WAN D
SW/W Athens
Cairo
Router
Router SX/X
DCE

Fa 0/0 (default gateway)


Fa 0/0 (default gateway)
Corporate Network Address
145.10.0.0/22

Fa 0/1
Fa 0/1
Cairo
Athens
Switch
Switch

Fa 0/2
Fa 0/2
LAN A
LAN B

Cairo
Athens
PC
PC

Note: The Scenario should be started in the Lab using the Lab Kits.
The Lab is a Packet Tracer free zone.
1
Scenario 1 -Tasks
1. On each router, ensure router config-register is set to 0x2142: router(config)# config-register 0x2142 , Why would you do this, refer page 8
2. Do not configure enable passwords OR line console passwords on router and switches, unless specified by the task

3. VLSM Design
a) Design IP VLSM Addressing Scheme with subnets: LAN A 150 hosts, LAN B 100 hosts, LAN C 50 hosts, WAN D Serial link 2 hosts
b) Document assignment of ip addresses to router interfaces and PC Hosts

4. Cable Connection
a) Connect routers to switches
b) Check routers are connected via serial link
c) Connect PCs to Fa 0/2 switch ports

5. Line Console Configuration


Configure the line console on each router and switch, as shown below:
line console 0
logging synchronous
exec-timeout 0 0

6. Message of the Day (MOTD) Configuration


Configure a MOTD, recording your name and student id, only on the Cairo router, as shown below:
banner motd &
Welcome to Cairo
<Your Family Name>
<Your Student Id>
&
7. Network IP Address Configuration
a) Configure router interfaces with ip addresses
b) Configure PC Hosts with specified
i) IP address and subnet mask.
ii) Default Gateway IP address.

2
Scenario 1 -Tasks
8. Trouble Shooting Point-to-Point Single Link Testing
a) This test is to check that each individual link in the network is working.
b) Ping (command) - ensure you can ping from one end of each link to the other:
– PC to Router in same subnet (network).
– PC to PC in same subnet (network).
– Router to each direct neighbour Router over a serial link.
c) Link NOT working ? - Common problems:
– Physical connection not made.
– The clock rate is not configured on DCE interface of a serial link.
– An incorrect IP address or subnet mask is configured on one interface of a link
– The interface is shutdown.

9. Routing Protocol Configuration


Configure OSPF on both Routers, advertise each subnet separately using wildcards

10. Trouble Shooting OSPF Neighbor Adjacency


a) Verify that the routers have formed an adjacency with each other, use- show ip ospf neighbor
b) If the router ID of the neighboring router is not displayed, or the state is not shown as FULL, the two routers have not formed an OSPF adjacency.
This will stop link-state information from being exchanged , leading to inaccurate SPF trees and routing tables
c) If an adjacency has not formed it could be due to: i) subnet masks on each end of link do not match ii) hello or dead timers do not match iii) there is
a missing/incorrect OSPF network command
d) Other trouble shooting commands: show ip protocols, show ip ospf, show ip ospf interface

11. Trouble Shooting End-to-End Path Testing


a) This test is to check that the routing - static and dynamic, is working.
b) Ping from a PC Host to all other PC Hosts in the different subnets
c) Use traceroute to pin point problems
d) Check if a subnet is missing from a routing table, use - show ip route
e) Common problems:
– Default gateway IP address not configured on a PC.
– PC connected to incorrect interface.
3
Scenario 1 -Tasks
12. Refer LabC3 2-1_2.5.1 Basic Switch Configuration P63 for Switch Configuration Commands

13. Switch Configuration


On each Switch:
a) Delete the vlan.dat file to remove old VLANs from the Switch, use - delete vlan.dat
b) Create a new VLAN 99
c) Make VLAN 99 the Management VLAN
d) Assign all ports to VLAN 99
e) Assign Interface VLAN99 an IP address for management purposes as required from LAN A or LAN B
f) Set the default gateway (ip address on router Fa0/0)
g) Configure enable password cisco and Line vty with password cisco and login, so each switch can be configured via Telnet
h) On Athens Switch set Port Security mac address sticky on Fa 0/3 to 6, max 1, with violation protect (refer Switch Configuration)
i) On Cairo Switch set a static mac address on Fa 0/2 to the MAC address of the Cairo PC – Why would you do this ?

14. Trouble Shooting Port Security


To check port security is enabled use - show port-security

15. Trouble Shooting Testing Switch Port Security


a) Athens Switch
– Move Athens PC from Fa0/2 to Fa 0/3 switch port
– Ping default gateway to trigger mac address sticky
– Show run, to confirm mac address has stuck
b) Cairo Switch
– Move Cairo PC from Fa0/2 to Fa 0/3
– Ping default gateway, What happens ?, Why ?
c) Athens Switch
– Move Cairo PC (change its IP address) to Athens Switch Fa 0/3
• Ping default gateway from PC, What happens?
– Change port security to violation shutdown
• Ping default gateway from PC, What happens?
• show port-security, What information is provided?
d) To re-activate a switch port - do a shutdown then a no shutdown on the port
e) Telnet from Cairo PC to each switch (interface VLAN99 ip address) to demonstrate remote configuration is possible 4
Scenario 1 - Submission and Completion

1. Scenarios can be completed individually or as a group

2. If a scenario is completed as a group, each member of the group must make a separate submission via Blackboard

3. If you do not complete the scenario in the lab, you can take the configurations and complete the scenario using NetLab or Packet Tracer

4.Submission

Submit ONE file ONLY (each member of a group must make a separate submission) via Blackboard.
Two options:
a) Configuration details (as one text file: s<Student Id>.txt)
i) Routers - show run, show ip route, show ip interface brief, show access-lists
ii) Switches – show run, show vlan, show port-security, show vtp status
b) Packet Tracer V5.3 file as s<Student Id>.pkt
Note: No submissions will be will be accepted by email, Can only submit once.

5
Switch Configuration
• Configure a switch port (or range of switch ports):

interface fa 0/3 (or interface range fa 0/3 – 6)


switchport access vlan <number> (assigns port to a vlan)

switchport mode access (sets port to access, for PCs)


OR
switchport mode trunk (sets port to trunk, for connection to a router or switch)

switchport port-security (turns security on)

switchport port-security maximum 1


switchport port-security mac-address sticky

switchport port-security violation shutdown (default when turn security on)


OR
switchport port-security violation protect

6
Switch Commands
Managing the MAC Address Table

• show mac address-table (displays entries in table)

• show mac address-table dynamic (displays only dynamic entries in table)

• clear mac address-table (deletes all entries from table)

• clear mac address-table dynamic (deletes only dynamic entries from table)

7
By passing the startup-configuration on boot up
I would ask all students to change the configuration register on each router via:

router(config)# config-register 0x2142


Example:

! Router configured with hostname Athens


Athens#
! To change the router's register so that it bypasses the startup-configure
config t
Athens(config)# config-register 0x2142
Athens(config)#end
! To check that the register will be changed
Athens# show version
! When you turn off the router, the next time it is turned on it will bypass startup-configure an will bootup un-configured eg
router>
! To reload startup-configure from NVRAM, if you DO want to use it
router>enable
router#
router#copy startup-configure running-configure
Athens#

! Changing the config register will ensure that from then on the router will bypass the startup-configuration on boot up.

! This means you will not have to first erase someone else's config or do a password recovery, saving time and hassle.

! However you can still get the startup configuration if you want to use it.

Das könnte Ihnen auch gefallen