Ask the Expert

  • 1.  OSPF Route Types in RT

    Posted 01-18-2021 00:27
    Hi
    In Cisco IOS we can find out the OSPF route-type  by checking the  routing table. for example LSA Type#3 is marked with O IA or NSSA type 2 is noted by N2. In JunOS by checking routing table this information is not shown. How can we find out the route-type by checking the routing table?
    for example in Following output how can we say which routes are Intra-Area(O) which ones are Inter-area(O IA) and so on...(I know I have both External routes and NSSA routes but  there is no distinction between them in RT)

    jcluser@vMX1> show route protocol ospf

    inet.0: 21 destinations, 22 routes (21 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both

    1.1.1.1/32 *[OSPF/150] 00:14:35, metric 23, tag 0
    > to 192.168.101.1 via ge-0/0/0.101
    2.2.2.2/32 *[OSPF/150] 00:14:35, metric 23, tag 0
    > to 192.168.101.1 via ge-0/0/0.101
    3.3.3.3/32 *[OSPF/150] 00:14:35, metric 23, tag 0
    > to 192.168.101.1 via ge-0/0/0.101
    10.10.10.10/32 *[OSPF/150] 00:31:13, metric 20, tag 0
    > to 192.168.104.4 via ge-0/0/0.104
    11.11.11.11/32 *[OSPF/150] 00:31:13, metric 20, tag 0
    > to 192.168.104.4 via ge-0/0/0.104
    150.1.1.1/32 [OSPF/10] 00:35:58, metric 2
    > to 192.168.101.1 via ge-0/0/0.101
    150.1.2.2/32 *[OSPF/10] 00:34:41, metric 4
    > to 192.168.101.1 via ge-0/0/0.101
    150.1.3.3/32 *[OSPF/10] 00:34:41, metric 3
    > to 192.168.101.1 via ge-0/0/0.101
    192.168.13.0/24 *[OSPF/10] 00:36:54, metric 2
    > to 192.168.101.1 via ge-0/0/0.101
    192.168.23.0/24 *[OSPF/10] 00:34:51, metric 3
    > to 192.168.101.1 via ge-0/0/0.101
    192.168.45.0/24 *[OSPF/10] 00:32:50, metric 2
    > to 192.168.104.4 via ge-0/0/0.104
    192.168.46.0/24 *[OSPF/10] 00:32:45, metric 2
    > to 192.168.104.4 via ge-0/0/0.104
    224.0.0.5/32 *[OSPF/10] 00:41:55, metric 1
    MultiRecv


    Thank you
    Alireza

    ------------------------------
    Ali Soltan
    ------------------------------


  • 2.  RE: OSPF Route Types in RT
    Best Answer

    Posted 01-18-2021 16:46
    Edited by asoltanian1979 01-19-2021 07:57
    "show ospf route" might be what you're looking for.

    You can specifically view inter and intra as well.

    "show ospf route inter"
    "show ospf route intra"

    ------------------------------
    Lou Rosa
    ------------------------------



  • 3.  RE: OSPF Route Types in RT

    Posted 01-19-2021 07:57
    Thank you 
    This covers my need
    Best Regards

    ------------------------------
    Ali Soltan
    ------------------------------