Upload
others
View
44
Download
12
Embed Size (px)
Citation preview
OSPFLab - 1 : OSPF - Basic Configuration
Lab - 2 : OSPF - Multiaccess network
Lab - 3 : OSPF - NBMA Point to Multipoint
Lab - 4 : OSPF - Virtual Link
Lab - 5 : OSPF - Default Route &
STUB Areas
Lab - 6 : OSPF - Metric
Lab - 7 : OSPF - Summarization
Lab - 8 : OSPF - Route Filtering
Lab - 9 : OSPF - Version 3
Lab - 10 : OSPF - Authentication
IPSOFTWARE SOLUTION
www.ipsoftwaresolution.com
CCNPROUTE 300-101
Lab Manual
OBJECTIVES:
This Lab Topology would make the student understand the following concepts.
1. Behavior of OSPF Enabling Move. 2. Understanding the importance of hello protocol. 3. Under standing the neighbor states. LAB EXERCISES: 1. Configuration of OSPF 2. Automatic selection process of router-id. 3. Manual selection of router-id. 4. Manipulation of hello interval of OSPF 5. Debugging and understanding the functioning of hello protocol 6. Debugging and understanding the adjacency formation. 7. Understanding the different neighbor states. 8. Verification of the OSPF database. 9. Understand The OSPF Packet Types Hello Packet Database Description (DBD) Link -state Request (LSR) Link State Advertisement (LSA) Link State Update (LSU) Link State Acknowledgment (Lsack )COMMANDS: # router ospf<process id> # network <network address> <wild card mask > area <area id.> # ip ospf 1 area 0 # router-id # ip ospf hello-interval # debug ip ospf adj
Verification # show ip route ospf # show ip interface brief # show ip protocols # show ip ospf neighbor # shoo ip ospf database # show ip ospf database database-summary # show ip ospf # show ip ospf neighbor details # show ip ospf virtual-links # show ip ospf neighbor # show run interface serial 0/0/0 # show ip ospf interface serial 0/0/0 # show ip ospf database summary 10.0.0.0 # show ip ospf | begin ara 0 # show ipv6 ospf interface brief # show ipv6 ospf neigbor # show ipv6 ospf database # show ipv6 route ospf # debug ip ospf adj # debug ip ospf hello # show running-config | section ospf # show running-config | begin ospf # show running-config
TOPOLOGY DIAGRAM:
www.ipsoftwaresolution.com
Basic Configuration
s 0/0/0
172.16.101.1/24172.16.26.1/24 BOHO
s 0/0/0
172.16.26.2/24
CASE STUDY-1
IPSOFTWARE SOLUTION
OBJECTIVES:
This Lab Topology would make the student understand the following concepts
1. Implementation of OSPF in a broadcast multi-access network.2. Behavior of OSPF routing protocol in a broadcast multi-access network.3. Designated router, Backup Designated Router, Drother router issues.
LAB EXERCISES
1. Election of DR and BDR.2. Configuration of the priority value.3. DR/BDR and DRother adjacency concepts.4. Understanding the concept of dead interval.5. Promotion of the BDR as DR.6. Election of BDR- priority value.7. Election of BDR-Router-id.8. Configuration of the priority value as 0-effect.9. Spanning Tree Protocol convergence
COMMANDS:
# router ospf <process-id> # show ip ospf # network <network address> <Wild card mask> area<area ID> # show ip ospf interface Ethernet 0 # show ip ospf neighbors # show ip route # shutdown # ip os pf priority <value> # debug ip ospf adj.
TOPOLOGY DIAGRAM:
Fa 0/1192.168.1.10
192.168.1.40 192.168.1.20
192.168.1.30
R1
R2
R3
R4
CASE STUDY-2
Fa 0/1
Fa 0/1
Fa 0/1
2IPSOFTWARE
SOLUTIONwww.ipsoftwaresolution.com
OSPF Multiaccess network
OBJECTIVES:
This Lab topology would make the student understand the following concepts.1. Behavior of OSPF in a Non Broadcast multi access network like Frame-relay.
LAB EXERCISES:1. Configuration of a Frame-relay switch.2. Configuration of OSPF.3. Verification of adjacencies.4. Configuration of adjacency formation by Neighbor command.5. Configuration of adjacency by defining the network type as broadcast.6. Configuration of adjacency by defining the network type as point-to-point.7. OSPF NET WORK TYPES 8. Designs of NBMA Networks9. Understanding OSPF Over NBMA Modes 10. OSPF Over NBMA: Five Modes Non – Broadcast (NBMA) Point -to- Multi Point Point To Point Broadcast Point To Multi Point Non–Broadcast COMMANDS:# Frame-relay switching # Encapsulation frame-relay# Frame-relay intf-type dce # Frame-relay route# Network <network-id> <wildcard mask> area<area-id.># Show ip ospf neighbors # Show ip route # Ip ospf network point-to-point # Neighbor# Ip ospf network broadcast # Show ip ospf interface
TOPOLOGY DIAGRAM:
CASE STUDY-3
DELCI 100
DELC
I 200
DELCI 250
DE
LC
I 300
DE
LC
I 350
S0/3/1
172.16.0.1/24
172.16.0.2/24
172.16.0.3/24
30.0.0.1/8
FRSWHO
BO 2
DELCI 150 S0/3/0
S0/0/0
S0/3/
1 S0/0/
0
S0/0/
1
10.0.0.1/8
20.0.0.1/8
3IPSOFTWARE
SOLUTIONwww.ipsoftwaresolution.com
OSPF NBMA Point to Multipoint
BO 1
OBJECTIVES:This Lab topology would make the student understand the following concepts. 1. Behavior of ospf in multiple areas. 2. Importance of Area Border Router. 3. Importance of autonomous System boundary router. 4. Understanding OSPF LSA TypesLAB EXERCISES: 1. Configuration of OSPF in multiple areas. 2. Verification of the roles of routers as ABR. 3. Verification of the routing tables. 4. Configuration of the virtual link. 5. Verification of the routing tables. 6. Configuration of RIP. 7. Configuration of the mutual redistribution between OSPF and RIP. 8. Verification of the role of router as ASBR. 9. Verification of the reachability. 10. LSA Type 1: Router LSA LSA Type 2: Notwork LSA (DR Generated) LSA Type 3: Summary LSA (ABR Summary Route) LSA Type 4:summary LSA (ASBR Location) LSA Type 5:external LSA (ASBR Summery Router)COMMANDS: # router ospf <process- id> # network <network Id> <wildcard mask>area <area no.> # show ip ospf # show ip route # show ip ospf neighbors # area <area-id> virtual link<router-id of neighbor> # router rip # retwork <network address> # router ospf 10 # redistribute rip # show ip ospf database
TOPOLOGY DIAGRAM:
CASE STUDY-4
4IPSOFTWARE
SOLUTIONwww.ipsoftwaresolution.com
OSPF Virtual Link
Area 0
Area 2Area 1
ASBR
172.16.1.0/24L0
S1 S1 S0 S0
10.1.0.1/32
10.1
.1.1
/24
10.1
.1.2
/24
10.1
.2.1
/24
10.1
.2.2
/24
10.1.3.1/24
10.1
.3.2
/24
Vir
tua
l L
ink
R1 R2 R3
R4ABRRIP
Area 3
Area 4
ABR
10.1
.3.1
/24
10.1.4.1/24
OBJECTIVES:
This Lab topology would make the student understand the following concepts.
1. Behavior of Default Information-orginate 2. Understanding the concept of STUB Areas 3. Understanding the type of STUB Areas 4. Understanding the concept of Stubby, Totally Stubby and Metric. 5. Configuration of Totally Stubby Areas 6. Configuration of Not-so-Stubby Area (NSSA) 7. Understanding the OSPF Stubby Area Types like Stuby, Totally stubby, NSSA, Totally NSSA
LAB EXERCISES & COMMANDS:
# router ospf <process- id> # area 3 stub # area 3 stub no-summary # area 3 nssa no-summary # area 3 nssa # ip ospf cost # show ip ospf database | begin AS External # show ip ospf database # show ip ospf # show ip ospf neighbor
TOPOLOGY DIAGRAM:
CASE STUDY-5
5IPSOFTWARE
SOLUTIONwww.ipsoftwaresolution.com
OSPF Default Route and STUB Areas
Area 0
Area 2Area 1
ASBR
172.16.1.0/24L0
S1 S1 S0 S0
10.1.0.1/32
10.1
.1.1
/24
10.1
.1.2
/24
10.1
.2.1
/24
10.1
.2.2
/24
10.1.3.1/24
10.1
.3.2
/24
R1 R2 R3
R4ABRRIP
Area 3
Area 4
ABR
10.1
.3.1
/24
10.1.4.1/24
OBJECTIVES:
This Lab topology would make the student understand the following concepts.
1. Metric Calculation 2. OSPF Intra Area Routes 3. OSPF Inter Area Routes 4. OSPF External Routes 5. Reference Bandwith Calculation
LAB EXERCISES & COMMANDS:
# router ospf <process- id> # ip ospf cost # auto-cost reference-bandwith <bw value> # show ip route ospf # show interface serial | I BW # show ip ospf int | I cost # bandwith <bw value> # show ip ospf interface serial # show ip ospf neighbor
TOPOLOGY DIAGRAM:
CASE STUDY-6
6IPSOFTWARE
SOLUTIONwww.ipsoftwaresolution.com
OSPF Metric
R2
20.0
.0.1
20.0
.0.2
DELCI 150DELCI 100
R1FRSW
L0 :10.0.0.1 L0 : 30.0.0.1
S0/3/
1
S0/3/
1
S0/0/
0
S0/3/
0
fa 0
/1
200.100.100.1/24
R3
fa 0
/1
200.
100.
100.
2/24
L0 : 172.16.0.1/32
40.0
.0.1
40.0
.0.2
S0/3/
0
S0/3/
0
AREA 1 AREA 0
RIP
100.1
00.1
00.1
/32
OBJECTIVES:
This Lab topology would make the student understand the following concepts.
1. OSPF Route Summarization 2. Inter Area Route Summarization 3. External Route Summarization 4. OSPF : Router LSA And Summarization Options 5. OSPF Areas and Router Types 6. Summarize technique In OSPF 7. Understanding OSPF LSA Types
LAB EXERCISES & COMMANDS:
# router ospf <process- id> # area <area> range <address> <SNM> # summary address <address> <SNM> # debug ip ospf adj # show ip ospf int s0/0/0 # show ip ospf neighbor # debug ip routing # shutdown
TOPOLOGY DIAGRAM:
CASE STUDY-7
7IPSOFTWARE
SOLUTIONwww.ipsoftwaresolution.com
OSPF Summarization
R2
20.0
.0.1
20.0
.0.2
DELCI 150DELCI 100
R1FRSW
L0 : 172.16.96.1/24L1 : 172.16.97.1/24 L2 : 172.16.98.1/24L3 : 172.16.99.1/24
L0 : 30.0.0.1/32L1 : 192.168.1.1/24
S0/0/
0
S0/0/
0
S0/0/
1
S0/0/
1
fa 0
/1
200.100.100.1/24
R3
fa 0
/1
200.
100.
100.
2/24
L0 : 172.16.0.1/32
40.0
.0.1
40.0
.0.2
S0/3/
0
S0/3/
0
AREA 1
AREA 0
RIPL0 : 100.100.10.1/24L0 : 100.100.20.1/24L0 : 100.100.30.1/24L0 : 100.100.40.1/24
OBJECTIVES:
This Lab topology would make the student understand the following concepts.
1. Filtering Type 3 LSA.
3. Routing Table Entry Filtering.
4. Understand the concept of Prefix-list.
5. Configuration and Verification of routing table and OSPF Database.
LAB EXERCISES & COMMANDS:
# ip prefix-list filter_into_area seq 10 deny
# ip prefix-list filter_into_area seq 10 permit 0.0.0.0/0 le 32
# router ospf <process- id>
# area filter-list prefix filter_into_area in
# show ip ospf int s0/0/0
# show ip ospf neighbor
# show ip route ospf
# show ip route <> longer -prefix
TOPOLOGY DIAGRAM:
CASE STUDY-8
8IPSOFTWARE
SOLUTIONwww.ipsoftwaresolution.com
OSPF Route Filtering
R2
20.0
.0.1
20.0
.0.2
DELCI 150DELCI 100
R1FRSW
L0 : 172.16.96.1/24L1 : 172.16.97.1/24 L2 : 172.16.98.1/24L3 : 172.16.99.1/24
L0 : 30.0.0.1/32L1 : 192.168.1.1/24
S0/0/
0
S0/0/
0
S0/0/
1
S0/0/
1
fa 0
/1
200.100.100.1/24
R3
fa 0
/1
200.
100.
100.
2/24
L0 : 172.16.0.1/32
40.0
.0.1
40.0
.0.2
S0/3/
0
S0/3/
0
AREA 1
AREA 0
RIPL0 : 100.100.10.1/24L0 : 100.100.20.1/24L0 : 100.100.30.1/24L0 : 100.100.40.1/24
OBJECTIVES:
This Lab topology would make the student understand the following concepts.
1. Characteristics- difference between V2 and V3 2. Link – local addresses used for adjacency 3. Multiple IPv6 sub nets can be assigned to a single link 4. Two nodes can communicate over a link even they do not share a common Subnet 5. Understand and Characteristics – similarities with v2 Run concurrently with v2 Same basic packet types Neighbor Discovery and Adjacent formation identical Same network types LSA flooding and aging mechanism are identical
LAB EXERCISES & COMMANDS:
# router ospf <process- id> # ipv6 ospf 1 area 0 # router-id <0.0.0.1? # debug ipv6 ospf adj # show ipv6 ospf neighbor # shwo ipv6 int ser # show ipv6 ospf int ser # area <area> stub no-summary
Topology Diagram:
CASE STUDY-9
9IPSOFTWARE
SOLUTIONwww.ipsoftwaresolution.com
OSPFv3
R4
R2 R3
R1
AREA 0
AR
EA
2
AR
EA
1
12::12:1/64 12::12:2/64
13::13:1/64
13::13:3/64
13::13:1/64
13::13:3/64S 0/3/1
S 0/3/1
S 0/0/0 S 0/3/0
S 0/3/1
S 0/3/1
fa 0
/1
DE
LC
I 100
DE
LC
I 200
DELCI 250
S0/3/1
172.16.100.1/24
FRSWBO 1
HO
BO 2
DELCI 150
S0/3/0
S0/0/0
S0/3/
1
S0/0/0
S0/0/1
172.16.123.0/24172.1
6.1
3.0
/30
AREA 20
AREA 0A
RE
A 1
0fa
0/1
OBJECTIVES:
This Lab topology would make the student understand the following concepts.
1. Behavior of OSPF Authentication 2. Understanding the conept of clear text Authentication 3. Importance of autonomous System boundary router. 4. Dose not use “key-chain” system of EIGRP 5. Enabled on a per interface basis 6. Supports clear - text(simple) or MD5 hashed passwords 7. OSPF packet key-id with password
LAB EXERCISES & COMMANDS:
# router ospf <process- id> # area 10 authentication # ip ospf authentication-key 10 # debug ip ospf adj # area 20 authentication message-digest # ip ospf message-digest-key 10 d5 cisco # show ip ospf int s0/0/0 # show ip ospf neighbor
TOPOLOGY DIAGRAM:
CASE STUDY-10
5IPSOFTWARE
SOLUTIONwww.ipsoftwaresolution.com
OSPF Authentication