SlideShare a Scribd company logo
1 of 10
Download to read offline
OSPF (Open Shortest Path First) Part- II
Topology
R1 (config) #int fa0/0
R1 (config-if) #ip add 192.168.101.1 255.255.255.0
R1 (config-if) #no shut
R1 (config-if) #int s0/0
R1 (config-if) #ip add 192.168.1.1 255.255.255.0
R1 (config-if) #no shut
R2 (config) #int fa0/0
R2 (config-if) #ip add 192.168.102.1 255.255.255.0
R2 (config-if) #no shut
R2 (config-if) #int s0/0
R2 (config-if) #ip add 192.168.1.2 255.255.255.0
R2 (config-if) #no shut
R2 (config-if) #int s0/1
R2 (config-if) #ip add 192.168.2.1 255.255.255.0
R2 (config-if) #no shut
Figure 1 OSPF Topology
OSPF (Open Shortest Path First) Part- II
R3 (config) #int fa0/0
R3 (config-if) #ip add 192.168.103.1 255.255.255.0
R3 (config-if) #no shut
R3 (config-if) #int s0/0
R3 (config-if) #ip add 192.168.2.2 255.255.255.0
R3 (config-if) #no shut
R3 (config-if) #int s0/1
R3 (config-if) #ip add 192.168.3.1 255.255.255.0
R3 (config-if) #no shut
R4 (config) #int fa0/0
R4 (config-if) #ip add 192.168.104.1 255.255.255.0
R4 (config-if) #no shut
R4 (config-if) #int s0/0
R4 (config-if) #ip add 192.168.3.2 255.255.255.0
R4 (config-if) #no shut
R4 (config-if) #int s0/1
R4 (config-if) #ip add 192.168.4.1 255.255.255.0
R4 (config-if) #no shut
R4 (config-if) #int s0/2
R4 (config-if) #ip add 192.168.7.1 255.255.255.0
R4 (config-if) #no shut
R5 (config) #int fa0/0
R5 (config-if) #ip add 192.168.105.1 255.255.255.0
R5 (config-if) #no shut
R5 (config-if) #int s0/0
R5 (config-if) #ip add 192.168.4.2 255.255.255.0
R5 (config-if) #no shut
R5 (config-if) #int s0/1
R5 (config-if) #ip add 192.168.5.1 255.255.255.0
R5 (config-if) #no shut
R5 (config-if) #int lo1
R5 (config-if) #ip add 170.50.1.1 255.255.255.0
R5 (config-if) #int lo2
R5 (config-if) #ip add 170.50.2.1 255.255.255.0
R5 (config-if) #int lo3
R5 (config-if) #ip add 170.50.3.1 255.255.255.0
R5 (config-if) #int lo4
R5 (config-if) #ip add 170.50.4.1 255.255.255.0
R5 (config-if) #int lo5
OSPF (Open Shortest Path First) Part- II
R5 (config-if) #ip add 170.50.5.1 255.255.255.0
R6 (config) #int fa0/0
R6 (config-if) #ip add 192.168.106.1 255.255.255.0
R6 (config-if) #no shut
R6 (config-if) #int s0/0
R6 (config-if) #ip add 192.168.5.2 255.255.255.0
R6 (config-if) #no shut
R6 (config-if) #int s0/1
R6 (config-if) #ip add 192.168.6.1 255.255.255.0
R6 (config-if) #no shut
R7 (config) #int fa0/0
R7 (config-if) #ip add 192.168.107.1 255.255.255.0
R7 (config-if) #no shut
R7 (config-if) #int s0/0
R7 (config-if) #ip add 192.168.6.2 255.255.255.0
R7 (config-if) #no shut
R7 (config-if) #int lo1
R7 (config-if) #ip add 170.70.1.1 255.255.255.0
R7 (config-if) #int lo2
R7 (config-if) #ip add 170.70.2.1 255.255.255.0
R7 (config-if) #int lo3
R7 (config-if) #ip add 170.70.3.1 255.255.255.0
R7 (config-if) #int lo4
R7 (config-if) #ip add 170.70.4.1 255.255.255.0
R7 (config-if) #int lo5
R7 (config-if) #ip add 170.70.5.1 255.255.255.0
R8 (config) #int fa0/0
R8 (config-if) #ip add 192.168.108.1 255.255.255.0
R8 (config-if) #no shut
R8 (config-if) #int s0/0
R8 (config-if) #ip add 192.168.7.2 255.255.255.0
R8 (config-if) #no shut
R8 (config-if) #int lo1
R8 (config-if) #ip add 170.80.1.1 255.255.255.0
R8 (config-if) #int lo2
R8 (config-if) #ip add 170.80.2.1 255.255.255.0
R8 (config-if) #int lo3
R8 (config-if) #ip add 170.80.3.1 255.255.255.0
OSPF (Open Shortest Path First) Part- II
R8 (config-if) #int lo4
R8 (config-if) #ip add 170.80.4.1 255.255.255.0
R8 (config-if) #int lo5
R8 (config-if) #ip add 170.80.5.1 255.255.255.0
 Now we will run routing protocol on each router.
R1 (config) #router ospf 100
R1 (config-router) #router-id 1.1.1.1
R1 (config-router) #int fa0/0
R1 (config-if) #ip ospf 100 area 2
R1 (config-router) #int s0/0
R1 (config-if) #ip ospf 100 area 2
R2 (config) #router ospf 100
R2 (config-router) #router-id 2.2.2.2
R2 (config-router) #int fa0/0
R2 (config-if) #ip ospf 100 area 2
R2 (config-router) #int s0/0
R2 (config-if) #ip ospf 100 area 2
R2 (config-router) #int s0/1
R2 (config-if) #ip ospf 100 area 1
R3 (config) #router ospf 100
R3 (config-router) #router-id 3.3.3.3
R3 (config-router) #int fa0/0
R3 (config-if) #ip ospf 100 area 1
R3 (config-router) #int s0/0
R3 (config-if) #ip ospf 100 area 1
R3 (config-router) #int s0/1
R3 (config-if) #ip ospf 100 area 0
R4 (config) #router ospf 100
R4 (config-router) #router-id 4.4.4.4
R4 (config-router) #int fa0/0
R4 (config-if) #ip ospf 100 area 0
R4 (config-router) #int s0/0
R4 (config-if) #ip ospf 100 area 0
R4 (config-router) #int s0/1
R4 (config-if) #ip ospf 100 area 0
R4 (config) #router ei 100
R4 (config-router) #no auto-summary
OSPF (Open Shortest Path First) Part- II
R4 (config-router) #network 192.168.7.0
R5 (config) #router ospf 100
R5 (config-router) #router-id 5.5.5.5
R5 (config-router) #int fa0/0
R5 (config-if) #ip ospf 100 area 3
R5 (config-router) #int s0/0
R5 (config-if) #ip ospf 100 area 0
R5 (config-router) #int s0/1
R5 (config-if) #ip ospf 100 area 3
R5 (config-router) #int lo1
R5 (config-if) #ip ospf 100 area 3
R5 (config-router) #int lo2
R5 (config-if) #ip ospf 100 area 3
R5 (config-router) #int lo3
R5 (config-if) #ip ospf 100 area 3
R5 (config-router) #int lo4
R5 (config-if) #ip ospf 100 area 3
R5 (config-router) #int lo5
R5 (config-if) #ip ospf 100 area 3
R6 (config) #router ospf 100
R6 (config-router) #router-id 6.6.6.6
R6 (config-router) #int s0/0
R6 (config-if) #ip ospf 100 area 3
R6 (config-router) #router ei 200
R6 (config-router) #no auto-summary
R6 (config-router) #network 192.168.6.0
R6 (config-router) #network 192.168.106.0
R7 (config) #router ei 200
R7 (config) #no auto-summary
R7 (config) #network 0.0.0.0
R8 (config) #router ei 100
R8 (config-router) #no auto-summary
R8 (config-router) #network 0.0.0.0
R1#sh ip route
OSPF (Open Shortest Path First) Part- II
Here we can see only one route, because R1 is in Area 2 and it is not directly connected with area 0.
Each area must be connected with area 0. Now we will create virtual link to connect area 2 with area 0.
 Virtual link would be created on edge to edge router.
R2 (config) #router os 100
R2 (config-router) #area 1 virtual link 3.3.3.3
R3 (config) #router os 100
R3 (config-router) #area 1 virtual link 2.2.2.2
R1#sh ip route os
R1#ping 192.168.5.2 successful
R1#ping 172.30.1.1 successful
 OSPF creates three tables
R1#sh ip os neighbor
R1#sh ip os database
R1#sh ip route os
 Passive-Interface
R1 (config) #router os 100
R1 (config-router) #passive-interface default
This command will apply on each interface.
R1 (config-router) #no passive-interface s0/0
If we want to make only fa0/0 passive then we need to apply only on fa0/0
R1 (config) #router os 100
R1 (config-router) #passive-interface fa0/0
 OSPF Authentication
R1 (config) #int s0/0
R1 (config-if) #ip ospf authentication message-digest
R1 (config-if) #ip ospf message-digest key 1 md-5 Mani
R1#sh ip ospf neighbor
After 40 sec neighborship will be down.
R1#debug ip ospf events
OSPF (Open Shortest Path First) Part- II
Mismatch authentication.
R1#un all
R2 (config) #int s0/0
R2 (config-if) #ip ospf authentication message-digest
R2 (config-if) #ip ospf message-digest key 1 md-5 Mani
Neighborship will be up.
 Now we will check hello & hold timers
R1#sh ip ospf int s0/0
Hello – 10 sec Dead 40 sec
We will change the timer
R1 (config) #int s0/0
R1 (config-if) #ip ospf hello-interval 5
R1#sh ip os int s0/0
Hello 5 Dead 20
We can see if we change hello, Dead will be changed automatically.
R1#sh ip os ne
Neighborship will be break. In ospf hello and dead interval must match for the neighborship.
R1#clear ip os process
Yes
R1#debug ip os events
Mismatch hello parameter
R – Received
C – Configured
R2 (config) #int s0/0
R2 (config-if) #ip os hello-interval 5
Neighborship will be build-up
Now we will change Dead interval
OSPF (Open Shortest Path First) Part- II
R2 (config) #int s0/0
R2 (config-if) #ip os dead-interval 15
R2#sh ip int os s0/0
When we change dead, hello will not change automatically.
R2#debug ip os events
R2#un all
R1 (config) #int s0/0
R1 (config-if) #ip os dead-interval 15
Neighborship will be buildup
Now OSPF domain should be communicated with Eigrp 100.
 For that we will perform redistribution.
R4 (config) #router os 100
R4 (config-router) #redistribute ei 100
R1#sh ip route os
E2 – 192.168.108.0
E2 – 192.168.7.0
By default it would advertise classfull network. If we want to advertise classless also then we need to
add a keyword “Subnets”.
R4 (config) #router os 100
R4 (config-router) #redistribute ei 100 subnets
R1#sh ip route os
Now we can see the classless network also. 172.50.0.0.
O – OSPF
E2 – External (Metric type 2)
Now we can see external routes metric is 20 on each route.
That is not true.
Default metric 20
Here internal cost should be added.
OSPF (Open Shortest Path First) Part- II
R4 (config) #router os 100
R4 (config-router) #redistribute ei 100 subnets metric-type 1
Metric type 1 means add internal cost also when you exchange routes.
R1#sh ip route
OE – 172.30.4.0 (110/212) previously it was 20.
Above we redistributed Eigrp in ospf
 Now we will redistribute ospf in Eigrp
R4 (config) #router ei 100
R4 (config-router) #redistribute os 100 metric 1 1 1 1 1
R1#ping 172.30.1.1 successful
R1#sh ip route
Here we can see two types of route, External routes and Inter area routes.
There are two types of summarization
1. External Summarization (ASBR)
2. Inter Area Summarization (ABR)
ASBR router is router no 4 here.
R4 (config) #router os 100
R4 (config-router) #summary-address 172.80.0.0 255.255.248.0
R1#sh ip route
Here we can see only one route of 172.80.0.0/21
R1#ping 172.80.1.1
R1#ping 172.80.1.1
Successful
Now we will remove it.
R4 (config) #router os 100
R4 (config-router) #no summary-address 172.80.0.0 255.255.248.0
 Now we will summarize inter area routes.
It will perform on ABR.
OSPF (Open Shortest Path First) Part- II
We will summarize the network 172.50.0.0 network. For that ABR is R5.
R5 (config) #router os 100
R5 (config-router) #area 3 range 172.50.0.0 255.255.248.0
R1#sh ip route os
Here we can see summarized inter area routes.
R1#ping 172.50.1.1
R1#ping 172.50.1.1
Successful

More Related Content

What's hot

Cisco CCNA EIGRP IPV6 Configuration
Cisco CCNA EIGRP IPV6 ConfigurationCisco CCNA EIGRP IPV6 Configuration
Cisco CCNA EIGRP IPV6 ConfigurationHamed Moghaddam
 
Cisco CCNA IPV6 Static Configuration
Cisco CCNA  IPV6 Static ConfigurationCisco CCNA  IPV6 Static Configuration
Cisco CCNA IPV6 Static ConfigurationHamed Moghaddam
 
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route ConfigurationJuniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route ConfigurationHamed Moghaddam
 
Route Redistribution
Route RedistributionRoute Redistribution
Route RedistributionNetwax Lab
 
Cisco CCNA CCNP VACL Configuration
Cisco CCNA CCNP VACL ConfigurationCisco CCNA CCNP VACL Configuration
Cisco CCNA CCNP VACL ConfigurationHamed Moghaddam
 
Juniper JNCIA – Juniper Floating Static Route Configuration
Juniper JNCIA – Juniper Floating Static Route ConfigurationJuniper JNCIA – Juniper Floating Static Route Configuration
Juniper JNCIA – Juniper Floating Static Route ConfigurationHamed Moghaddam
 
Juniper JNCIA – Juniper RIP Route Configuration
Juniper JNCIA – Juniper RIP Route ConfigurationJuniper JNCIA – Juniper RIP Route Configuration
Juniper JNCIA – Juniper RIP Route ConfigurationHamed Moghaddam
 
Cisco CCNA- PPP Multilink Configuration
Cisco CCNA- PPP Multilink ConfigurationCisco CCNA- PPP Multilink Configuration
Cisco CCNA- PPP Multilink ConfigurationHamed Moghaddam
 
Cisco CCNA-CCNP IP SLA Configuration
Cisco CCNA-CCNP IP SLA ConfigurationCisco CCNA-CCNP IP SLA Configuration
Cisco CCNA-CCNP IP SLA ConfigurationHamed Moghaddam
 
Cisco CCNA-Router on Stick
Cisco CCNA-Router on StickCisco CCNA-Router on Stick
Cisco CCNA-Router on StickHamed Moghaddam
 
Basic cisco commands_by_marcus_nielson_2
Basic cisco commands_by_marcus_nielson_2Basic cisco commands_by_marcus_nielson_2
Basic cisco commands_by_marcus_nielson_2MAFANTIRI SELLO
 
Cisco CCNA GRE Tunnel Configuration
Cisco CCNA GRE Tunnel ConfigurationCisco CCNA GRE Tunnel Configuration
Cisco CCNA GRE Tunnel ConfigurationHamed Moghaddam
 
CCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsCCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsEng. Emad Al-Atoum
 
Cisco CCNA- NAT Configuration
Cisco CCNA- NAT ConfigurationCisco CCNA- NAT Configuration
Cisco CCNA- NAT ConfigurationHamed Moghaddam
 

What's hot (18)

Cisco CCNA EIGRP IPV6 Configuration
Cisco CCNA EIGRP IPV6 ConfigurationCisco CCNA EIGRP IPV6 Configuration
Cisco CCNA EIGRP IPV6 Configuration
 
Cisco CCNA IPV6 Static Configuration
Cisco CCNA  IPV6 Static ConfigurationCisco CCNA  IPV6 Static Configuration
Cisco CCNA IPV6 Static Configuration
 
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route ConfigurationJuniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
 
Ccna command
Ccna commandCcna command
Ccna command
 
Route Redistribution
Route RedistributionRoute Redistribution
Route Redistribution
 
Cisco CCNA CCNP VACL Configuration
Cisco CCNA CCNP VACL ConfigurationCisco CCNA CCNP VACL Configuration
Cisco CCNA CCNP VACL Configuration
 
Ccna command
Ccna commandCcna command
Ccna command
 
Juniper JNCIA – Juniper Floating Static Route Configuration
Juniper JNCIA – Juniper Floating Static Route ConfigurationJuniper JNCIA – Juniper Floating Static Route Configuration
Juniper JNCIA – Juniper Floating Static Route Configuration
 
Juniper JNCIA – Juniper RIP Route Configuration
Juniper JNCIA – Juniper RIP Route ConfigurationJuniper JNCIA – Juniper RIP Route Configuration
Juniper JNCIA – Juniper RIP Route Configuration
 
Cisco CCNA- PPP Multilink Configuration
Cisco CCNA- PPP Multilink ConfigurationCisco CCNA- PPP Multilink Configuration
Cisco CCNA- PPP Multilink Configuration
 
Cisco CCNA-CCNP IP SLA Configuration
Cisco CCNA-CCNP IP SLA ConfigurationCisco CCNA-CCNP IP SLA Configuration
Cisco CCNA-CCNP IP SLA Configuration
 
Cisco CCNA-Router on Stick
Cisco CCNA-Router on StickCisco CCNA-Router on Stick
Cisco CCNA-Router on Stick
 
Ccna commands
Ccna commandsCcna commands
Ccna commands
 
Basic cisco commands_by_marcus_nielson_2
Basic cisco commands_by_marcus_nielson_2Basic cisco commands_by_marcus_nielson_2
Basic cisco commands_by_marcus_nielson_2
 
Cisco CCNA GRE Tunnel Configuration
Cisco CCNA GRE Tunnel ConfigurationCisco CCNA GRE Tunnel Configuration
Cisco CCNA GRE Tunnel Configuration
 
IPSec VPN
IPSec VPNIPSec VPN
IPSec VPN
 
CCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsCCNA - Routing & Switching Commands
CCNA - Routing & Switching Commands
 
Cisco CCNA- NAT Configuration
Cisco CCNA- NAT ConfigurationCisco CCNA- NAT Configuration
Cisco CCNA- NAT Configuration
 

Viewers also liked

119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tutnicolelemmimg
 
Eincop Netwax Lab: EIGRP iii
Eincop Netwax Lab: EIGRP iiiEincop Netwax Lab: EIGRP iii
Eincop Netwax Lab: EIGRP iiiNetwax Lab
 
Networking Devices
Networking DevicesNetworking Devices
Networking DevicesNetwax Lab
 
Wireless Technology
Wireless TechnologyWireless Technology
Wireless TechnologyNetwax Lab
 
VPN (virtual private network)
VPN (virtual private network) VPN (virtual private network)
VPN (virtual private network) Netwax Lab
 
Introduction of Networking
Introduction of NetworkingIntroduction of Networking
Introduction of NetworkingNetwax Lab
 
STP Protection
STP ProtectionSTP Protection
STP ProtectionNetwax Lab
 
VRF Configuration
VRF ConfigurationVRF Configuration
VRF ConfigurationNetwax Lab
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Netwax Lab
 
Why We Need IPv6
Why We Need IPv6Why We Need IPv6
Why We Need IPv6Netwax Lab
 
Routed Protocol
Routed ProtocolRouted Protocol
Routed ProtocolNetwax Lab
 
VLAN (virtual local area network)
VLAN (virtual local area network)VLAN (virtual local area network)
VLAN (virtual local area network)Netwax Lab
 
Nxll10 v lan and trunking
Nxll10 v lan and trunkingNxll10 v lan and trunking
Nxll10 v lan and trunkingNetwax Lab
 

Viewers also liked (20)

Nxll24 i pv6
Nxll24 i pv6Nxll24 i pv6
Nxll24 i pv6
 
119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut
 
Eincop Netwax Lab: EIGRP iii
Eincop Netwax Lab: EIGRP iiiEincop Netwax Lab: EIGRP iii
Eincop Netwax Lab: EIGRP iii
 
Networking Devices
Networking DevicesNetworking Devices
Networking Devices
 
Wireless Technology
Wireless TechnologyWireless Technology
Wireless Technology
 
IP Address
IP AddressIP Address
IP Address
 
VPN (virtual private network)
VPN (virtual private network) VPN (virtual private network)
VPN (virtual private network)
 
Introduction of Networking
Introduction of NetworkingIntroduction of Networking
Introduction of Networking
 
SSL Web VPN
SSL Web VPNSSL Web VPN
SSL Web VPN
 
Nxll23 i pv6
Nxll23 i pv6Nxll23 i pv6
Nxll23 i pv6
 
TCP Intercept
TCP InterceptTCP Intercept
TCP Intercept
 
STP Protection
STP ProtectionSTP Protection
STP Protection
 
VRF Configuration
VRF ConfigurationVRF Configuration
VRF Configuration
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)
 
Frame Relay
Frame RelayFrame Relay
Frame Relay
 
Why We Need IPv6
Why We Need IPv6Why We Need IPv6
Why We Need IPv6
 
Routed Protocol
Routed ProtocolRouted Protocol
Routed Protocol
 
VLAN (virtual local area network)
VLAN (virtual local area network)VLAN (virtual local area network)
VLAN (virtual local area network)
 
Proxy Server
Proxy ServerProxy Server
Proxy Server
 
Nxll10 v lan and trunking
Nxll10 v lan and trunkingNxll10 v lan and trunking
Nxll10 v lan and trunking
 

Similar to OSPF (open shortest path first) part ii

Similar to OSPF (open shortest path first) part ii (20)

OSPF Virtual Link
OSPF Virtual LinkOSPF Virtual Link
OSPF Virtual Link
 
Ccna commands
Ccna commandsCcna commands
Ccna commands
 
Ccna commands
Ccna commands   Ccna commands
Ccna commands
 
Ccna Commands In 10 Minutes
Ccna Commands In 10 MinutesCcna Commands In 10 Minutes
Ccna Commands In 10 Minutes
 
Ciso commands
Ciso commandsCiso commands
Ciso commands
 
Ciso commands
Ciso commandsCiso commands
Ciso commands
 
Ccnacommand 140205001152-phpapp01
Ccnacommand 140205001152-phpapp01Ccnacommand 140205001152-phpapp01
Ccnacommand 140205001152-phpapp01
 
Service Provider Networks and Frame Relay
Service Provider Networks and Frame RelayService Provider Networks and Frame Relay
Service Provider Networks and Frame Relay
 
Ccna4 cs diaz_&_romero
Ccna4 cs diaz_&_romeroCcna4 cs diaz_&_romero
Ccna4 cs diaz_&_romero
 
Trik singkat STATIC ROUTING via cli Packet Tracer
Trik singkat STATIC ROUTING via cli Packet Tracer Trik singkat STATIC ROUTING via cli Packet Tracer
Trik singkat STATIC ROUTING via cli Packet Tracer
 
ccna cheat_sheet
ccna cheat_sheetccna cheat_sheet
ccna cheat_sheet
 
cisco ccna cheat_sheet
cisco ccna cheat_sheetcisco ccna cheat_sheet
cisco ccna cheat_sheet
 
Ncat ccna cheat sheet
Ncat ccna cheat sheetNcat ccna cheat sheet
Ncat ccna cheat sheet
 
Cisco Commands
Cisco CommandsCisco Commands
Cisco Commands
 
Dynamic routing OSPF 1
Dynamic routing OSPF 1Dynamic routing OSPF 1
Dynamic routing OSPF 1
 
Frame Relay (Multipoint)
Frame Relay (Multipoint)Frame Relay (Multipoint)
Frame Relay (Multipoint)
 
GRE Tunnel Configuration
GRE Tunnel ConfigurationGRE Tunnel Configuration
GRE Tunnel Configuration
 
Configure ospf v3 single areaa
Configure ospf v3 single areaaConfigure ospf v3 single areaa
Configure ospf v3 single areaa
 
RIP (routing information protocol)
RIP (routing information protocol)RIP (routing information protocol)
RIP (routing information protocol)
 
How to configure frame realy
How to configure frame realyHow to configure frame realy
How to configure frame realy
 

More from Netwax Lab

Eincop Netwax Lab: Lab 1 static route
Eincop Netwax Lab: Lab 1 static routeEincop Netwax Lab: Lab 1 static route
Eincop Netwax Lab: Lab 1 static routeNetwax Lab
 
Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)
Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)
Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)Netwax Lab
 
Eincop Netwax Lab: Redistribution
Eincop Netwax Lab: RedistributionEincop Netwax Lab: Redistribution
Eincop Netwax Lab: RedistributionNetwax Lab
 
Eincop Netwax Lab: Route Redistribution
Eincop Netwax Lab: Route RedistributionEincop Netwax Lab: Route Redistribution
Eincop Netwax Lab: Route RedistributionNetwax Lab
 
Nxll12 zone based firewall
Nxll12 zone based firewallNxll12 zone based firewall
Nxll12 zone based firewallNetwax Lab
 
Nxll09 access list
Nxll09 access listNxll09 access list
Nxll09 access listNetwax Lab
 
Nxll21 ospf filtering & summarization
Nxll21 ospf filtering & summarizationNxll21 ospf filtering & summarization
Nxll21 ospf filtering & summarizationNetwax Lab
 
Nxll16 basic asa v8.2
Nxll16 basic asa v8.2Nxll16 basic asa v8.2
Nxll16 basic asa v8.2Netwax Lab
 
Nxll20 na ting
Nxll20 na ting Nxll20 na ting
Nxll20 na ting Netwax Lab
 
Nxll14 cut through-proxy on asa
Nxll14 cut through-proxy on asaNxll14 cut through-proxy on asa
Nxll14 cut through-proxy on asaNetwax Lab
 
Nxll17 dynamic routing with asa
Nxll17 dynamic routing with asaNxll17 dynamic routing with asa
Nxll17 dynamic routing with asaNetwax Lab
 
Nxll18 vpn (s2 s gre & dmvpn)
Nxll18 vpn (s2 s gre & dmvpn)Nxll18 vpn (s2 s gre & dmvpn)
Nxll18 vpn (s2 s gre & dmvpn)Netwax Lab
 
Nxll19 vrrp (virtual router redundancy protocol)
Nxll19 vrrp (virtual router redundancy protocol)Nxll19 vrrp (virtual router redundancy protocol)
Nxll19 vrrp (virtual router redundancy protocol)Netwax Lab
 
Nxll22 role based cli
Nxll22 role based cliNxll22 role based cli
Nxll22 role based cliNetwax Lab
 
Nxll25 hsrp with failover
Nxll25 hsrp with failoverNxll25 hsrp with failover
Nxll25 hsrp with failoverNetwax Lab
 
Nxll28 ospf iii
Nxll28 ospf iiiNxll28 ospf iii
Nxll28 ospf iiiNetwax Lab
 
Eincop Netwax Lab: Vlan and Trunking ii
Eincop Netwax Lab: Vlan and Trunking iiEincop Netwax Lab: Vlan and Trunking ii
Eincop Netwax Lab: Vlan and Trunking iiNetwax Lab
 
Eincop Netwax Lab: EIGRP ii
Eincop Netwax Lab: EIGRP iiEincop Netwax Lab: EIGRP ii
Eincop Netwax Lab: EIGRP iiNetwax Lab
 

More from Netwax Lab (20)

Eincop Netwax Lab: Lab 1 static route
Eincop Netwax Lab: Lab 1 static routeEincop Netwax Lab: Lab 1 static route
Eincop Netwax Lab: Lab 1 static route
 
Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)
Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)
Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)
 
Eincop Netwax Lab: Redistribution
Eincop Netwax Lab: RedistributionEincop Netwax Lab: Redistribution
Eincop Netwax Lab: Redistribution
 
Eincop Netwax Lab: Route Redistribution
Eincop Netwax Lab: Route RedistributionEincop Netwax Lab: Route Redistribution
Eincop Netwax Lab: Route Redistribution
 
Nxll12 zone based firewall
Nxll12 zone based firewallNxll12 zone based firewall
Nxll12 zone based firewall
 
Nxll11 bgp
Nxll11 bgpNxll11 bgp
Nxll11 bgp
 
Nxll09 access list
Nxll09 access listNxll09 access list
Nxll09 access list
 
Nxll21 ospf filtering & summarization
Nxll21 ospf filtering & summarizationNxll21 ospf filtering & summarization
Nxll21 ospf filtering & summarization
 
Nxll16 basic asa v8.2
Nxll16 basic asa v8.2Nxll16 basic asa v8.2
Nxll16 basic asa v8.2
 
Nxll20 na ting
Nxll20 na ting Nxll20 na ting
Nxll20 na ting
 
Nxll14 cut through-proxy on asa
Nxll14 cut through-proxy on asaNxll14 cut through-proxy on asa
Nxll14 cut through-proxy on asa
 
Nxll17 dynamic routing with asa
Nxll17 dynamic routing with asaNxll17 dynamic routing with asa
Nxll17 dynamic routing with asa
 
Nxll18 vpn (s2 s gre & dmvpn)
Nxll18 vpn (s2 s gre & dmvpn)Nxll18 vpn (s2 s gre & dmvpn)
Nxll18 vpn (s2 s gre & dmvpn)
 
Nxll19 vrrp (virtual router redundancy protocol)
Nxll19 vrrp (virtual router redundancy protocol)Nxll19 vrrp (virtual router redundancy protocol)
Nxll19 vrrp (virtual router redundancy protocol)
 
Nxll22 role based cli
Nxll22 role based cliNxll22 role based cli
Nxll22 role based cli
 
Nxll25 hsrp with failover
Nxll25 hsrp with failoverNxll25 hsrp with failover
Nxll25 hsrp with failover
 
Nxll26 bgp ii
Nxll26 bgp iiNxll26 bgp ii
Nxll26 bgp ii
 
Nxll28 ospf iii
Nxll28 ospf iiiNxll28 ospf iii
Nxll28 ospf iii
 
Eincop Netwax Lab: Vlan and Trunking ii
Eincop Netwax Lab: Vlan and Trunking iiEincop Netwax Lab: Vlan and Trunking ii
Eincop Netwax Lab: Vlan and Trunking ii
 
Eincop Netwax Lab: EIGRP ii
Eincop Netwax Lab: EIGRP iiEincop Netwax Lab: EIGRP ii
Eincop Netwax Lab: EIGRP ii
 

Recently uploaded

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Recently uploaded (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

OSPF (open shortest path first) part ii

  • 1. OSPF (Open Shortest Path First) Part- II Topology R1 (config) #int fa0/0 R1 (config-if) #ip add 192.168.101.1 255.255.255.0 R1 (config-if) #no shut R1 (config-if) #int s0/0 R1 (config-if) #ip add 192.168.1.1 255.255.255.0 R1 (config-if) #no shut R2 (config) #int fa0/0 R2 (config-if) #ip add 192.168.102.1 255.255.255.0 R2 (config-if) #no shut R2 (config-if) #int s0/0 R2 (config-if) #ip add 192.168.1.2 255.255.255.0 R2 (config-if) #no shut R2 (config-if) #int s0/1 R2 (config-if) #ip add 192.168.2.1 255.255.255.0 R2 (config-if) #no shut Figure 1 OSPF Topology
  • 2. OSPF (Open Shortest Path First) Part- II R3 (config) #int fa0/0 R3 (config-if) #ip add 192.168.103.1 255.255.255.0 R3 (config-if) #no shut R3 (config-if) #int s0/0 R3 (config-if) #ip add 192.168.2.2 255.255.255.0 R3 (config-if) #no shut R3 (config-if) #int s0/1 R3 (config-if) #ip add 192.168.3.1 255.255.255.0 R3 (config-if) #no shut R4 (config) #int fa0/0 R4 (config-if) #ip add 192.168.104.1 255.255.255.0 R4 (config-if) #no shut R4 (config-if) #int s0/0 R4 (config-if) #ip add 192.168.3.2 255.255.255.0 R4 (config-if) #no shut R4 (config-if) #int s0/1 R4 (config-if) #ip add 192.168.4.1 255.255.255.0 R4 (config-if) #no shut R4 (config-if) #int s0/2 R4 (config-if) #ip add 192.168.7.1 255.255.255.0 R4 (config-if) #no shut R5 (config) #int fa0/0 R5 (config-if) #ip add 192.168.105.1 255.255.255.0 R5 (config-if) #no shut R5 (config-if) #int s0/0 R5 (config-if) #ip add 192.168.4.2 255.255.255.0 R5 (config-if) #no shut R5 (config-if) #int s0/1 R5 (config-if) #ip add 192.168.5.1 255.255.255.0 R5 (config-if) #no shut R5 (config-if) #int lo1 R5 (config-if) #ip add 170.50.1.1 255.255.255.0 R5 (config-if) #int lo2 R5 (config-if) #ip add 170.50.2.1 255.255.255.0 R5 (config-if) #int lo3 R5 (config-if) #ip add 170.50.3.1 255.255.255.0 R5 (config-if) #int lo4 R5 (config-if) #ip add 170.50.4.1 255.255.255.0 R5 (config-if) #int lo5
  • 3. OSPF (Open Shortest Path First) Part- II R5 (config-if) #ip add 170.50.5.1 255.255.255.0 R6 (config) #int fa0/0 R6 (config-if) #ip add 192.168.106.1 255.255.255.0 R6 (config-if) #no shut R6 (config-if) #int s0/0 R6 (config-if) #ip add 192.168.5.2 255.255.255.0 R6 (config-if) #no shut R6 (config-if) #int s0/1 R6 (config-if) #ip add 192.168.6.1 255.255.255.0 R6 (config-if) #no shut R7 (config) #int fa0/0 R7 (config-if) #ip add 192.168.107.1 255.255.255.0 R7 (config-if) #no shut R7 (config-if) #int s0/0 R7 (config-if) #ip add 192.168.6.2 255.255.255.0 R7 (config-if) #no shut R7 (config-if) #int lo1 R7 (config-if) #ip add 170.70.1.1 255.255.255.0 R7 (config-if) #int lo2 R7 (config-if) #ip add 170.70.2.1 255.255.255.0 R7 (config-if) #int lo3 R7 (config-if) #ip add 170.70.3.1 255.255.255.0 R7 (config-if) #int lo4 R7 (config-if) #ip add 170.70.4.1 255.255.255.0 R7 (config-if) #int lo5 R7 (config-if) #ip add 170.70.5.1 255.255.255.0 R8 (config) #int fa0/0 R8 (config-if) #ip add 192.168.108.1 255.255.255.0 R8 (config-if) #no shut R8 (config-if) #int s0/0 R8 (config-if) #ip add 192.168.7.2 255.255.255.0 R8 (config-if) #no shut R8 (config-if) #int lo1 R8 (config-if) #ip add 170.80.1.1 255.255.255.0 R8 (config-if) #int lo2 R8 (config-if) #ip add 170.80.2.1 255.255.255.0 R8 (config-if) #int lo3 R8 (config-if) #ip add 170.80.3.1 255.255.255.0
  • 4. OSPF (Open Shortest Path First) Part- II R8 (config-if) #int lo4 R8 (config-if) #ip add 170.80.4.1 255.255.255.0 R8 (config-if) #int lo5 R8 (config-if) #ip add 170.80.5.1 255.255.255.0  Now we will run routing protocol on each router. R1 (config) #router ospf 100 R1 (config-router) #router-id 1.1.1.1 R1 (config-router) #int fa0/0 R1 (config-if) #ip ospf 100 area 2 R1 (config-router) #int s0/0 R1 (config-if) #ip ospf 100 area 2 R2 (config) #router ospf 100 R2 (config-router) #router-id 2.2.2.2 R2 (config-router) #int fa0/0 R2 (config-if) #ip ospf 100 area 2 R2 (config-router) #int s0/0 R2 (config-if) #ip ospf 100 area 2 R2 (config-router) #int s0/1 R2 (config-if) #ip ospf 100 area 1 R3 (config) #router ospf 100 R3 (config-router) #router-id 3.3.3.3 R3 (config-router) #int fa0/0 R3 (config-if) #ip ospf 100 area 1 R3 (config-router) #int s0/0 R3 (config-if) #ip ospf 100 area 1 R3 (config-router) #int s0/1 R3 (config-if) #ip ospf 100 area 0 R4 (config) #router ospf 100 R4 (config-router) #router-id 4.4.4.4 R4 (config-router) #int fa0/0 R4 (config-if) #ip ospf 100 area 0 R4 (config-router) #int s0/0 R4 (config-if) #ip ospf 100 area 0 R4 (config-router) #int s0/1 R4 (config-if) #ip ospf 100 area 0 R4 (config) #router ei 100 R4 (config-router) #no auto-summary
  • 5. OSPF (Open Shortest Path First) Part- II R4 (config-router) #network 192.168.7.0 R5 (config) #router ospf 100 R5 (config-router) #router-id 5.5.5.5 R5 (config-router) #int fa0/0 R5 (config-if) #ip ospf 100 area 3 R5 (config-router) #int s0/0 R5 (config-if) #ip ospf 100 area 0 R5 (config-router) #int s0/1 R5 (config-if) #ip ospf 100 area 3 R5 (config-router) #int lo1 R5 (config-if) #ip ospf 100 area 3 R5 (config-router) #int lo2 R5 (config-if) #ip ospf 100 area 3 R5 (config-router) #int lo3 R5 (config-if) #ip ospf 100 area 3 R5 (config-router) #int lo4 R5 (config-if) #ip ospf 100 area 3 R5 (config-router) #int lo5 R5 (config-if) #ip ospf 100 area 3 R6 (config) #router ospf 100 R6 (config-router) #router-id 6.6.6.6 R6 (config-router) #int s0/0 R6 (config-if) #ip ospf 100 area 3 R6 (config-router) #router ei 200 R6 (config-router) #no auto-summary R6 (config-router) #network 192.168.6.0 R6 (config-router) #network 192.168.106.0 R7 (config) #router ei 200 R7 (config) #no auto-summary R7 (config) #network 0.0.0.0 R8 (config) #router ei 100 R8 (config-router) #no auto-summary R8 (config-router) #network 0.0.0.0 R1#sh ip route
  • 6. OSPF (Open Shortest Path First) Part- II Here we can see only one route, because R1 is in Area 2 and it is not directly connected with area 0. Each area must be connected with area 0. Now we will create virtual link to connect area 2 with area 0.  Virtual link would be created on edge to edge router. R2 (config) #router os 100 R2 (config-router) #area 1 virtual link 3.3.3.3 R3 (config) #router os 100 R3 (config-router) #area 1 virtual link 2.2.2.2 R1#sh ip route os R1#ping 192.168.5.2 successful R1#ping 172.30.1.1 successful  OSPF creates three tables R1#sh ip os neighbor R1#sh ip os database R1#sh ip route os  Passive-Interface R1 (config) #router os 100 R1 (config-router) #passive-interface default This command will apply on each interface. R1 (config-router) #no passive-interface s0/0 If we want to make only fa0/0 passive then we need to apply only on fa0/0 R1 (config) #router os 100 R1 (config-router) #passive-interface fa0/0  OSPF Authentication R1 (config) #int s0/0 R1 (config-if) #ip ospf authentication message-digest R1 (config-if) #ip ospf message-digest key 1 md-5 Mani R1#sh ip ospf neighbor After 40 sec neighborship will be down. R1#debug ip ospf events
  • 7. OSPF (Open Shortest Path First) Part- II Mismatch authentication. R1#un all R2 (config) #int s0/0 R2 (config-if) #ip ospf authentication message-digest R2 (config-if) #ip ospf message-digest key 1 md-5 Mani Neighborship will be up.  Now we will check hello & hold timers R1#sh ip ospf int s0/0 Hello – 10 sec Dead 40 sec We will change the timer R1 (config) #int s0/0 R1 (config-if) #ip ospf hello-interval 5 R1#sh ip os int s0/0 Hello 5 Dead 20 We can see if we change hello, Dead will be changed automatically. R1#sh ip os ne Neighborship will be break. In ospf hello and dead interval must match for the neighborship. R1#clear ip os process Yes R1#debug ip os events Mismatch hello parameter R – Received C – Configured R2 (config) #int s0/0 R2 (config-if) #ip os hello-interval 5 Neighborship will be build-up Now we will change Dead interval
  • 8. OSPF (Open Shortest Path First) Part- II R2 (config) #int s0/0 R2 (config-if) #ip os dead-interval 15 R2#sh ip int os s0/0 When we change dead, hello will not change automatically. R2#debug ip os events R2#un all R1 (config) #int s0/0 R1 (config-if) #ip os dead-interval 15 Neighborship will be buildup Now OSPF domain should be communicated with Eigrp 100.  For that we will perform redistribution. R4 (config) #router os 100 R4 (config-router) #redistribute ei 100 R1#sh ip route os E2 – 192.168.108.0 E2 – 192.168.7.0 By default it would advertise classfull network. If we want to advertise classless also then we need to add a keyword “Subnets”. R4 (config) #router os 100 R4 (config-router) #redistribute ei 100 subnets R1#sh ip route os Now we can see the classless network also. 172.50.0.0. O – OSPF E2 – External (Metric type 2) Now we can see external routes metric is 20 on each route. That is not true. Default metric 20 Here internal cost should be added.
  • 9. OSPF (Open Shortest Path First) Part- II R4 (config) #router os 100 R4 (config-router) #redistribute ei 100 subnets metric-type 1 Metric type 1 means add internal cost also when you exchange routes. R1#sh ip route OE – 172.30.4.0 (110/212) previously it was 20. Above we redistributed Eigrp in ospf  Now we will redistribute ospf in Eigrp R4 (config) #router ei 100 R4 (config-router) #redistribute os 100 metric 1 1 1 1 1 R1#ping 172.30.1.1 successful R1#sh ip route Here we can see two types of route, External routes and Inter area routes. There are two types of summarization 1. External Summarization (ASBR) 2. Inter Area Summarization (ABR) ASBR router is router no 4 here. R4 (config) #router os 100 R4 (config-router) #summary-address 172.80.0.0 255.255.248.0 R1#sh ip route Here we can see only one route of 172.80.0.0/21 R1#ping 172.80.1.1 R1#ping 172.80.1.1 Successful Now we will remove it. R4 (config) #router os 100 R4 (config-router) #no summary-address 172.80.0.0 255.255.248.0  Now we will summarize inter area routes. It will perform on ABR.
  • 10. OSPF (Open Shortest Path First) Part- II We will summarize the network 172.50.0.0 network. For that ABR is R5. R5 (config) #router os 100 R5 (config-router) #area 3 range 172.50.0.0 255.255.248.0 R1#sh ip route os Here we can see summarized inter area routes. R1#ping 172.50.1.1 R1#ping 172.50.1.1 Successful