RE: minimal ospf database in area 0.

From: Victor Cappuccio (victor@ccbootcamp.com)
Date: Fri May 25 2007 - 21:35:12 ART


Hi,

something like this?

Welcome to Network Learning Inc RS/Security/SP Rack#11
For more information, please visit:
http://www.ccbootcamp.com/racks/rs-sec-sp-rack-access-faq.pdf
PLEASE ERASE YOUR CONFIGS AFTER YOU ARE FINISHED!

Username: victor
Password:

rack11>show user
    Line User Host(s) Idle Location
* 66 vty 0 victor idle 00:00:00 68.108.84.9

  Interface User Mode Idle Peer Address

rack11>R1
Trying R1 (1.1.1.1, 2033)... Open
rack11>R1
Trying R1 (1.1.1.1, 2033)... Open
R1#
R1#
R1#
R1#
R1#
rack11>R2
Trying r2 (1.1.1.1, 2034)... Open

R2#
R2#
R2#
R2#
R2#
R2#
R2#show ip ospf neigh

Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 0 FULL/ - 00:00:03 10.1.126.1
FastEthernet0/0
R2#show ip ospf data

            OSPF Router with ID (2.2.2.2) (Process ID 1)

                Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 5 0x80000005 0x00C223 3
2.2.2.2 2.2.2.2 53 0x80000002 0x0033A9 3
R2#show run int f0/0
Building configuration...

Current configuration : 189 bytes
!
interface FastEthernet0/0
 bandwidth 768
 ip address 10.1.126.2 255.255.255.0
 ip ospf network point-to-point
 ip ospf hello-interval 1
 duplex auto
 speed auto
 auto discovery qos
end

R2#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#do show ip ospf inter brief
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Fa0/0 1 0 10.1.126.2/24 130 P2P 1/1
Lo0 1 0 2.2.2.2/32 1 LOOP 0/0
R2(config)#router ospf 1
R2(config-router)#do show run | in network
 ip ospf network point-to-point
 network 2.2.2.2 0.0.0.0 area 0
 network 10.1.23.2 0.0.0.0 area 0
 network 10.1.126.2 0.0.0.0 area 0
R2(config-router)# network 2.2.2.2 0.0.0.0 area 1
R2(config-router)#
*May 26 00:36:26.319: %OSPF-6-AREACHG: 2.2.2.2/32 changed from area 0 to area
1
R2(config-router)#
rack11>1
[Resuming connection 1 to R1 ... ]

R1#show ip route 2.2.2.2
Routing entry for 2.2.2.2/32
  Known via "ospf 1", distance 110, metric 2, type inter area
  Last update from 10.1.126.2 on FastEthernet0/0, 00:00:02 ago
  Routing Descriptor Blocks:
  * 10.1.126.2, from 2.2.2.2, 00:00:02 ago, via FastEthernet0/0
      Route metric is 2, traffic share count is 1

thanks,
Victor Cappuccio.-
- CCSI# 31452
Network Learning Inc - A Cisco Sponsored Organization (SO) YES! We take
Cisco Learning credits!
victor@ccbootcamp.com
http://www.ccbootcamp.com (Cisco Training and Rental Racks)
http://www.ccbootcamp.com/groupstudy.html (groupstudy member discounts!)
Voice: 702-968-5100
FAX: 702-446-8012

-----Original Message-----
From: nobody@groupstudy.com on behalf of laidlaw@consecro.com
Sent: Fri 5/25/2007 16:51
To: ccielab@groupstudy.com
Subject: minimal ospf database in area 0.

I have two routers, r1 and r2. They are directly connected via
ethernet, say subnet 1.1.12.0/24 and they each have a loopback,
1.1.0.1/32 and 1.1.0.2/32 respectively. Both the ethernet and
loopbacks are going to be in area 0. Now the requirement is to have a
minimal ospf database, specifically, no net lsa's. The loopbacks must
be advertised to the adjacent router because they are going to used for
bgp peering.

I have tried the interface ospf database-filter command, which did
remove the net lsa's, and even though the routers became neighbors, the
loopbacks were no advertised. is there a way to convert the type 2 to
another type without changing the areas of the interfaces?

Thanks

-Rob



This archive was generated by hypermail 2.1.4 : Fri Jun 01 2007 - 06:55:22 ART