Routing

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  OSPF Advertised routes

    Posted 03-20-2010 11:17

    How can we chek the advertised to peer by OSPF in JUNOS?

     

    i.e. in case of bgp we use

     

    show route advertised-protocol bgp 1.1.1.1

     

    Your qiuck help will be apprecited.

     

     



  • 2.  RE: OSPF Advertised routes
    Best Answer

    Posted 03-20-2010 11:29

    Hi,

     

    OSPF advertises LSAs. So just check OSPF database for self-created LSAs:

    lab@mexico# run show ospf database advertising-router self

        OSPF database, Area 0.0.0.0
     Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len
    Router  *100.100.100.100  100.100.100.100  0x8000000b   509  0x22 0xbe95  84
    Network *10.0.32.1        100.100.100.100  0x80000004   509  0x22 0x83e4  32

    [edit]
    lab@mexico# run show ospf database advertising-router self extensive

        OSPF database, Area 0.0.0.0
     Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len
    Router  *100.100.100.100  100.100.100.100  0x8000000b   533  0x22 0xbe95  84
      bits 0x0, link count 5
      id 10.0.30.2, data 10.0.30.1, Type Transit (2)
        Topology count: 0, Default metric: 1
      id 10.0.32.1, data 10.0.32.1, Type Transit (2)
        Topology count: 0, Default metric: 1
      id 10.0.0.2, data 10.0.0.1, Type Transit (2)
        Topology count: 0, Default metric: 1
      id 10.0.20.0, data 255.255.255.0, Type Stub (3)
        Topology count: 0, Default metric: 1
      id 100.100.100.100, data 255.255.255.255, Type Stub (3)
        Topology count: 0, Default metric: 0
      Topology default (ID 0)
        Type: Transit, Node ID: 10.0.0.2
          Metric: 1, Bidirectional
        Type: Transit, Node ID: 10.0.32.1
          Metric: 1, Bidirectional
        Type: Transit, Node ID: 10.0.30.2
          Metric: 1, Bidirectional
      Gen timer 00:41:06
      Aging timer 00:51:06
      Installed 00:08:53 ago, expires in 00:51:07, sent 00:08:51 ago
      Last changed 02:38:53 ago, Change count: 6, Ours
    Network *10.0.32.1        100.100.100.100  0x80000004   533  0x22 0x83e4  32
      mask 255.255.255.0
      attached router 100.100.100.100
      attached router 32.32.32.32
      Topology default (ID 0)
        Type: Transit, Node ID: 32.32.32.32
          Metric: 0, Bidirectional
        Type: Transit, Node ID: 100.100.100.100
          Metric: 0, Bidirectional
      Gen timer 00:41:06
      Aging timer 00:51:06
      Installed 00:08:53 ago, expires in 00:51:07, sent 00:08:51 ago
      Last changed 02:38:53 ago, Change count: 1, Ours

     

    Kind Regards

    Michael Pergament

     

    If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.



  • 3.  RE: OSPF Advertised routes

    Posted 03-21-2010 01:47

    I think only way, we can verify is, by verifying the link state databases of all the routers in that area. If the LSA of a particular router is present in LSDB, then we can assume that router has advertised their networks.

     

    Thanks