Class 9

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

OSPF (Multi Area)

OSPF (Multi Area), Configuration:


Router-0:
router ospf 1
network 10.10.1.0 0.0.0.255 area 0 #show running-config
network 10.10.2.0 0.0.0.255 area 0
#show ip ospf
network 10.10.6.0 0.0.0.255 area 0
#show ip route
Router-1: show ip route connected
router ospf 1 #show ip route ospf
network 10.10.3.0 0.0.0.255 area 0 #show ip ospf neighbor
network 10.10.2.0 0.0.0.255 area 0
#show ip ospf interface f 0/0
Router-3: #show ip ospf border-routers
router ospf 1 #show ip ospf database
network 10.10.4.0 0.0.0.255 area 0 #show ip ospf database router
network 10.10.3.0 0.0.0.255 area 0 #show ip ospf interface
network 10.10.5.0 0.0.0.255 area 0
#show ip ospf multi–area
Router-2: #show ip ospf neighbor
router ospf 1 #show ip ospf statistics
network 10.10.1.0 0.0.0.255 area 0 #show ip ospf summary-address
network 10.10.4.0 0.0.0.255 area 0
#show ip ospf traffic
network 100.10.10.0 0.0.0.255 area 0
network 172.16.4.0 0.0.0.255 area 1 #shutdown (router OSPF)

Router-9: Change Cost:


router ospf 1 Router(config)#interface serial 0/3/1
network 172.16.2.0 0.0.0.255 area 1
network 172.16.3.0 0.0.0.255 area 1 Router(config-if)#ip ospf cost 100
network 172.16.4.0 0.0.0.255 area 1
Router-7:
router ospf 1
network 172.16.3.0 0.0.0.255 area 1 Router-2:
network 172.16.1.0 0.0.0.255 area 1 interface Tunnel1
ip address 100.10.10.1 255.255.255.0
Router-8: tunnel source Serial0/1/0
router ospf 1 tunnel destination 192.168.4.2
network 172.16.1.0 0.0.0.255 area 1
network 172.16.2.0 0.0.0.255 area 1 Router-4:
network 192.168.4.0 0.0.0.255 area 1 interface Tunnel1
ip address 100.10.10.2 255.255.255.0
Router-4: tunnel source Serial0/1/0
router ospf 1 tunnel destination 172.16.4.1
network 192.168.4.0 0.0.0.255 area 1
network 192.168.1.0 0.0.0.255 area 2 #show ip ospf traffic
network 192.168.2.0 0.0.0.255 area 2
network 100.10.10.0 0.0.0.255 area 0 #shutdown (router OSPF)

Router-5: Change Cost:


router ospf 1 Router(config)#interface serial 0/3/1
network 192.168.1.0 0.0.0.255 area 2
Router(config-if)#ip ospf cost 100
network 192.168.3.0 0.0.0.255 area 2

Router-6:
router ospf 1
network 192.168.2.0 0.0.0.255 area 2
network 192.168.3.0 0.0.0.255 area 2
network 192.168.5.0 0.0.0.255 area 2

You might also like