From: Walter Chen (wchen@xxxxxxxxx)
Date: Fri May 04 2001 - 17:27:14 GMT-3
OSPF summary-addr command is a tricky one. By default, it will only work
without fail to any external networks redistributed into OSPF, such as
152.12.0.0/14 in your case.
To send summarized internal (especially directly connected) OSPF routes out
to IGRP or other protocols, Cisco never explicitly said that the
"summary-addr" command will do the job (check CCO or CD or tons of messages
in this group). Because of this, there is no authoritative words on how and
why this command works in this case and you have to experiment and observe.
The key thing is to check your OSPF summary route table by issuing the "sh
ip ospf summ" command on the advertising router, r6 in your case. If this
route is listed as a "Type 1" with a reasonable metric, say, 20 for the
default external routes, then it will show up in your routing table such as
O E1 152.1.1.0/24 is a summary, 19:50:54, Null0
and it will also be passed to IGRP or other protocols. If, on the other
hand and in 5 out of 10 times from my experience, this route is listed as a
"Type 0" with a HUGE metric, then it won't show up in your ip routing table
and so won't go out.
Why sometimes this command works and sometimes it doesn't, I don't know.
Perhaps the IOS flips a coin when you ask it to do something it was
originally not designed to do. Just a guess.
How do you change this route to a Type 1 if it is listed as a Type 0? I do
not have a sure answer. You can configure a static route "ip route
152.1.1.0 255.255.255.0 null0", then it will become a Type 1 and be
redistributed into IGRP even if you do not issue "redis static" in IGRP.
You can then remove the static route and the summary address will still
remain in your routing table as an OSPF route. I even rebooted the router
and it still works. Weird? Yes. Why? I hope someone knows more about the
coding of the IOS can give a definitive answer.
To "summarize", the summary-addr command does not always work for
summarizing internal OSPF routes to be redistributed into other routing
protocols. While there are a lot of discussion about this topic in this
group, I'm still waiting to see if anyone can post a clean solution that
always works and explain why.
Walter
-----Original Message-----
From: Virnoche, Phil [mailto:phil.virnoche@attws.com]
Sent: Friday, May 04, 2001 2:17 PM
To: ccielab@groupstudy.com
Subject: Hutnik and Slattery Second Edition OSPF lab
Hey folks-
First off, I want to vent a little,..... this "new" book is SOOOO full of
mistakes!!! I can't believe someone could put out a book like this with
these amount of mistakes! Do they not proof read???
Here is my question... On the OSPF lab on R6, I am trying to get 2 summary
routes (summary-address 152.1.2.0 255.255.255.0 and summary-address
152.1.1.0 255.255.255.0) into the IGRP domain... I have it configured "just
like the book says" but to no avail..... relevent configs and debugs follow:
Any ideas?
router ospf 64
log-adjacency-changes
auto-cost reference-bandwidth 900
area 0 authentication message-digest
area 1 authentication
area 1 virtual-link 152.1.2.5 message-digest-key 1 md5 cisco0
area 2 nssa
summary-address 152.12.0.0 255.252.0.0
summary-address 152.1.2.0 255.255.255.0
summary-address 152.1.1.0 255.255.255.0
redistribute igrp 64 metric 1000
network 152.1.1.78 0.0.0.0 area 2
network 152.1.10.2 0.0.0.0 area 1
network 152.1.11.1 0.0.0.0 area 2
network 152.1.12.1 0.0.0.0 area 2
default-information originate always
distribute-list 1 in Serial0
!
router igrp 64
redistribute ospf 64 route-map summary
passive-interface BRI0
passive-interface Loopback0
passive-interface Loopback1
passive-interface Serial0
network 152.1.0.0
distribute-list 2 in Ethernet0
r6#deb ip igrp trans
IGRP protocol debugging is on
r6#sh ip rou
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
152.1.0.0/16 is variably subnetted, 8 subnets, 5 masks
O 152.1.1.128/25 [110/1030] via 152.1.10.1, 19:51:02, Serial0
C 152.1.11.0/24 is directly connected, Loopback0
C 152.1.10.0/26 is directly connected, Serial0
C 152.1.12.0/24 is directly connected, Loopback1
O IA 152.1.1.0/25 [110/1612] via 152.1.10.1, 19:51:02, Serial0
C 152.1.0.0/24 is directly connected, Ethernet0
O 152.1.2.0/30 [110/1021] via 152.1.10.1, 19:51:02, Serial0
O 152.1.2.4/32 [110/1022] via 152.1.10.1, 19:51:03, Serial0
I 152.12.0.0/16 [100/1600] via 152.1.0.2, 00:00:50, Ethernet0
I 152.13.0.0/16 [100/1600] via 152.1.0.2, 00:00:50, Ethernet0
I 152.14.0.0/16 [100/1600] via 152.1.0.2, 00:00:50, Ethernet0
I 152.15.0.0/16 [100/1600] via 152.1.0.2, 00:00:50, Ethernet0
O 152.12.0.0/14 is a summary, 19:50:54, Null0
r6#
*Mar 1 20:29:55.526: IGRP: sending update to 255.255.255.255 via Ethernet0
(152 .1.0.1)
*Mar 1 20:29:55.534: subnet 152.1.11.0, metric=501
*Mar 1 20:29:55.534: subnet 152.1.12.0, metric=501
r6#
*Mar 1 20:30:04.106: IGRP: received update from 152.1.0.2 on Ethernet0
*Mar 1 20:30:04.106: network 152.10.0.0, metric 1600 (neighbor 501)
*Mar 1 20:30:04.110: network 152.11.0.0, metric 1600 (neighbor 501)
*Mar 1 20:30:04.114: network 152.12.0.0, metric 1600 (neighbor 501)
*Mar 1 20:30:04.118: network 152.13.0.0, metric 1600 (neighbor 501)
*Mar 1 20:30:04.122: network 152.14.0.0, metric 1600 (neighbor 501)
*Mar 1 20:30:04.122: network 152.15.0.0, metric 1600 (neighbor 501)
*Mar 1 20:30:04.126: network 152.16.0.0, metric 1600 (neighbor 501)
r6#
r6#
Philip G. Virnoche
Sr. Network Engineer - AT&T Wireless
phone: 425.580.5239
cell: 206.601.3134
"HAM AND EGGS - A day's work for a chicken; A lifetime commitment for a
pig."
-----Original Message-----
From: tom cheung [mailto:tkc9789@hotmail.com]
Sent: Friday, May 04, 2001 4:53 AM
To: hhlin@szskzj.com; ccielab@groupstudy.com
Subject: Re: How to delete CAM entries marked 'Port Security Entry'
set port security 2/17 disable
>From: "Haohong Lin" <hhlin@szskzj.com>
>Reply-To: "Haohong Lin" <hhlin@szskzj.com>
>To: "CCIELab" <ccielab@groupstudy.com>
>Subject: How to delete CAM entries marked 'Port Security Entry'
>Date: Fri, 4 May 2001 16:04:14 +0800
>
>Hi,
>
> I can't delete some static entries in cam table, as show in following.
>I
>find no command corelatively via show conf all .
> I have pressed "set arp" command before, which maybe results in such
>situation. After entered with "set arp ...", no commands are correlating
>with it in nvram config.
>
> Any advice is welcome, thanks in advance
>
>Cat5k> (enable) sh cam stat
>* = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry.
>X = Port Security Entry
>
>VLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol
>Type]
>---- ------------------ -----
>-----------------------------------------
>--
>1 00-08-ca-fe-ca-fe X 2/17
>1 00-10-7b-3a-26-ee X 2/17
>Total Matching CAM Entries Displayed = 2
>Cat5k> (enable)
>
>
>
>regards,
>
>Haohong Lin
>**Please read:http://www.groupstudy.com/list/posting.html
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:30:34 GMT-3