[j-nsp] OSPF default in TSA

The Dark One thedarkone at list.ru
Thu May 14 16:24:17 EDT 2009


Experts,
according to JNCIP_studyguide pag 179:
"Juniper Networks routers do not automatically generate a default route when
operating as an ABR attached to a stub or not-so-stubby area. With JUNOS
software, you must configure a default metric before a default route will be
advertised!"

But router 'itp' doesn't get it :-( any idea why and how?
Thanks!

rc2> show configuration routing-instances RI protocols ospf   
area 13.246.165.176 {
    stub default-metric 1 no-summaries;
    interface ge-5/2/1.176;
}
area 0.0.0.0 {
    interface ge-5/2/0.314;
}

rc2> show ospf database instance RI 

    OSPF database, Area 0.0.0.0
 Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len 
Router  *13.246.165.177   13.246.165.177   0x80000004   119  0x22 0x1813  36
Summary *13.246.165.151   13.246.165.177   0x80000004   119  0x22 0x712a  28
Summary *13.246.165.176   13.246.165.177   0x80000004   119  0x22 0x4248  28

    OSPF database, Area 13.246.165.176
 Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len 
Router   13.246.165.151   13.246.165.151   0x80000006   266  0x20 0x8f14  48
Router  *13.246.165.177   13.246.165.177   0x80000008   119  0x20 0xeed0  36
Network *13.246.165.177   13.246.165.177   0x80000003   119  0x20 0x12db  32

lab at hu-bud01a-rc2> show ospf neighbor instance RI 
Address          Interface              State     ID               Pri  Dead
13.246.165.178   ge-5/2/1.176           Full      13.246.165.151     1    36

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

itp#show ip interface brief | ex una
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            13.246.165.178  YES manual up                    up      
Loopback0                  13.246.165.151  YES manual up                    up      

itp#show running-config | s router ospf
router ospf 1
 router-id 13.246.165.151
 log-adjacency-changes
 area 13.246.165.176 stub
 network 0.0.0.0 255.255.255.255 area 13.246.165.176
itp#show ip route 
<....>
Gateway of last resort is not set

     13.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       13.246.165.151/32 is directly connected, Loopback0
C       13.246.165.176/29 is directly connected, FastEthernet0/0


itp#show ip ospf database 

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

                Router Link States (Area 13.246.165.176)

Link ID         ADV Router      Age         Seq#       Checksum Link count
13.246.165.151  13.246.165.151  424         0x80000006 0x008F14 2
13.246.165.177  13.246.165.177  278         0x80000008 0x00EED0 1

                Net Link States (Area 13.246.165.176)

Link ID         ADV Router      Age         Seq#       Checksum
13.246.165.177  13.246.165.177  278         0x80000003 0x0012DB



More information about the juniper-nsp mailing list