This will show you unique areas:
tclsh
puts [lsort -unique [regexp -inline -all -- {Area \d+} [exec "show ip ospf
data | inc Area"]]]
exit
Cheers,
Adel Abouchaev, CCIE# 12037, CISSP, MCSE
Technical Support Engineer
Netmasterclass LLC, Cisco Learning Partner
RFC821: adel_at_netmasterclass.net
E.164: +18886772669
HTTP: www.netmasterclass.net
-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
ccie-lab
Sent: Monday, August 09, 2010 1:25 PM
To: Ryan West
Cc: Cisco certification
Subject: Re: OSPF area commands
This is what I get from that, and I have 100's of area's in the
internetwork,
Router-6#show ip o d | i Area
Router Link States (Area 0)
Net Link States (Area 0)
Summary Net Link States (Area 0)
Summary ASB Link States (Area 0)
Router Link States (Area 201)
Net Link States (Area 201)
Summary Net Link States (Area 201)
Summary ASB Link States (Area 201)
Router Link States (Area 423)
Summary Net Link States (Area 423)
Router-6#
On 8/9/2010 4:10 PM, Ryan West wrote:
> Show ip ospf database | i Area
>
> -ryan
>
>> -----Original Message-----
>> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On
>> Behalf Of ccie-lab
>> Sent: Monday, August 09, 2010 3:59 PM
>> To: Cisco certification
>> Subject: OSPF area commands
>>
>> All,
>> I am trying to get a list from the router of all OSPF Area Id's in use on
the
>> internetwork.
>> Does anyone know a command that would show me this?
>>
>> Thanks in advance.
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> __________________________________________________________
>> _____________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Mon Aug 09 2010 - 15:08:51 ART
This archive was generated by hypermail 2.2.0 : Wed Sep 01 2010 - 11:20:52 ART