RE: OSPF Question [bcc][faked-from]

From: marvin greenlee (marvin@ccbootcamp.com)
Date: Thu Sep 23 2004 - 15:56:49 GMT-3


The router will go by longest match for determining the area for OSPF.

r13(config-router)#network 172.0.0.0 1.255.255.255 area 1
r13(config-router)#network 172.0.0.0 0.255.255.255 area 2

*Mar 4 02:02:31.365: %OSPF-6-AREACHG: 172.0.0.0/8 changed from area 1 to
area 2

r13(config-router)#network 172.0.0.0 0.127.255.255 area 3
r13(config-router)#
*Mar 4 02:02:51.845: %OSPF-6-AREACHG: 172.0.0.0/9 changed from area 2 to
area 3

r13(config-router)#network 172.0.0.0 0.63.255.255 area 4
r13(config-router)#
*Mar 4 02:03:14.373: %OSPF-6-AREACHG: 172.0.0.0/10 changed from area 3 to
area
4

r13(config-router)#network 172.0.0.0 0.31.255.255 area 5
r13(config-router)#
*Mar 4 02:03:48.165: %OSPF-6-AREACHG: 172.0.0.0/11 changed from area 4 to
area
5

r13#show run | begin router ospf
router ospf 1
 router-id 13.13.13.13
 log-adjacency-changes
 network 172.0.0.0 0.31.255.255 area 5
 network 172.0.0.0 0.63.255.255 area 4
 network 172.0.0.0 0.127.255.255 area 3
 network 172.0.0.0 0.255.255.255 area 2
 network 172.0.0.0 1.255.255.255 area 1

- Marvin Greenlee, CCIE#12237
Network Learning Inc
marvin@ccbootcamp.com
www.ccbootcamp.com (Cisco Training)

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
duncan5322@bellsouth.net
Sent: Thursday, September 23, 2004 10:28 AM
To: ccielab@groupstudy.com
Subject: OSPF Question [bcc][faked-from]
Importance: Low

Could someone help me with this?
Let's say I have this config.

ROUTER OSPF 10
network 172.1.0.0 0.0.255.255 area 0

and I add:
network 172.1.1.0 0.0.0.255 area 1

which area will 172.1.1.0 be advertised in? Will the more specific
statement override the more general one even though it comes later in the
config?

Thanks



This archive was generated by hypermail 2.1.4 : Fri Oct 01 2004 - 15:00:48 GMT-3