Re: Summary on ASBR / Make a Type-1 ?!?

From: Bit Gossip (bit.gossip@chello.nl)
Date: Sat Aug 18 2007 - 09:44:25 ART


Quickly labbing it, shows that:
- if ALL contributing are type-1 the summary is type-1
- if ALL contributing are type-2 the summary is type-2
- in a mix of type-1 and 2 the summary in type-1
Would be interesting to understand better the last case.

The funny thing is that on the ASBR the summary address is not shown as
external in the 'show ip route' even if it is clearly external in the 'show
ip ospf database'

R5#show ip route ospf
     1.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
O 1.1.1.0/24 is a summary, 00:01:56, Null0

R5#show ip ospf database

            OSPF Router with ID (150.1.5.5) (Process ID 1)
<...>
                Type-5 AS External Link States

Link ID ADV Router Age Seq# Checksum Tag
1.1.1.0 150.1.5.5 200 0x80000001 0x00ABD0 0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R5#show ip ospf summary-address

OSPF Process 1, Summary-address

1.1.1.0/255.255.255.0 Metric 20, Type 1, Tag 0
R5#show run | s ospf
router ospf 1
 log-adjacency-changes
 summary-address 1.1.1.0 255.255.255.0
 redistribute connected metric-type 1 subnets
 network 149.1.45.5 0.0.0.0 area 0
 network 150.1.5.5 0.0.0.0 area 0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R5#show run | s ospf
router ospf 1
 log-adjacency-changes
 summary-address 1.1.1.0 255.255.255.0
 redistribute connected metric-type 1 subnets
 redistribute rip subnets
 network 149.1.45.5 0.0.0.0 area 0
 network 150.1.5.5 0.0.0.0 area 0
access-list 100 deny ospf any any
R5#show ospf dat
R5#show ip ospf sum
R5#show ip ospf summary-address

OSPF Process 1, Summary-address

1.1.1.0/255.255.255.0 Metric 20, Type 1, Tag 0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R5(config-router)#do show run | s ospf
router ospf 1
 log-adjacency-changes
 summary-address 1.1.1.0 255.255.255.0
 redistribute connected subnets
 redistribute rip subnets
 network 149.1.45.5 0.0.0.0 area 0
 network 150.1.5.5 0.0.0.0 area 0
access-list 100 deny ospf any any
R5(config-router)#do show ip ospf summary

OSPF Process 1, Summary-address

1.1.1.0/255.255.255.0 Metric 20, Type 2, Tag 0

----- Original Message -----
From: "Toh Soon, Lim" <tohsoon28@gmail.com>
To: "Theo M" <theorack@gmail.com>
Cc: "Herbert Maosa" <asawilunda@googlemail.com>; "Cisco certification"
<ccielab@groupstudy.com>
Sent: Saturday, August 18, 2007 12:17 AM
Subject: Re: Summary on ASBR / Make a Type-1 ?!?

> Hi Theo,
>
> Do you mean if all the component routes are E1s then the summary address
> is
> advertised as E1, and vice versa for E2? I have not labbed and tested it
> yet.
>
> This is the same question that baffles me when I was studying for Written
> Exam. Browsing thru the OSPF commands in Command References, I don't see
> any
> command to set the metric type of the summary route.
>
> Herbert was saying to tag the summary, then use the tag in a route-map to
> set the metric-type. But on which router to define the route-map and what
> mechanism to call it? My understanding is we call the route-map in a
> redistribute statement when redistributing OSPF into other protocols.
>
> Please help.
>
>
> Thank you.
>
> Confused Too,
> Lim TS
>
>
> On 8/18/07, Theo M <theorack@gmail.com> wrote:
>>
>> Hello guys,
>>
>> I know I can change the metric-type when redistributing.
>> In my scenario, I redistribute 2 connected interfaces w/ a RMAP,
>> one as E1 and one as E2, then I summarize on the same router.
>> In fact my goal here is to understand the original meaning of the
>> item in Anthony's Extended Blueprint.
>>
>> --
>> Theo
>>
>> On 8/17/07, Herbert Maosa <asawilunda@googlemail.com> wrote:
>> >
>> > I doesnt look like the summary address has an option of setting the
>> > metric-type. Are you looking to do this on the same router you are
>> > generating the summary or on a different router ?
>> >
>> > Without understanding the scenario the only thing I am thinking of at
>> the
>> > moment is to tag the summary, then use the tag in a route-map to set
>> > the
>> > metric-type.
>> >
>> >
>> > Herbert.
>> >
>> > On 8/17/07, Herbert Maosa <asawilunda@googlemail.com> wrote:
>> > >
>> > > Type 5 LSAs ( External routes ) are either type-1 or type-2 ( E1 or
>> E2
>> > > ).
>> > >
>> > >
>> > > Herbert.
>> > >
>> > >
>> > > On 8/17/07, Theo M < theorack@gmail.com> wrote:
>> > > >
>> > > > Hello,
>> > > >
>> > > > I found this on Anthony Sequeira's Extended Blueprint:
>> > > >
>> > > > >>>
>> > > > II. Summary Address on ASBR
>> > > > I. Make a Type-1
>> > > > <<<
>> > > >
>> > > > It's a typo, should be a Type-5, right ?
>> > > >
>> > > > --
>> > > >
>> > > >
>> _______________________________________________________________________
>> > > >
>> > > > Subscription information may be found at:
>> > > > http://www.groupstudy.com/list/CCIELab.html
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Kindest regards,
>> > > hm
>> >
>> >
>> >
>> >
>> > --
>> > Kindest regards,
>> > hm
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Sep 01 2007 - 11:32:11 ART