Switching

last person joined: 2 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  Discard, Reject and Unilist route types in show pfe route ip output ?

    Posted 07-01-2013 11:18

    1. This is output from "show pfe route ip"

     

    0.0.0.0                                            Discard    34 RT-ifl 0

     

    172.20.104.70                               Reject     36 RT-ifl 0

     

    What is the difference between Discard and a Reject route ? aren't both dropped ?

     

    2. What does the following Unilist entry mean from the "---show pfe route ip---" output ? 

    The documentation says that it has a list of next hops but from this table I dont see any info. Is there any other command I need to use to look for the list of nexthops ?

     

    [130.126.0.136/30                        Unilist   1048577 RT-ifl 0] entry mean :

     

    130.126.0.134    130.126.0.134 Unicast 909 RT-ifl 83 xe-0/1/0.0 ifl 83
    130.126.0.135                                Bcast 781 RT-ifl 83 xe-0/1/0.0 ifl 83
    130.126.0.136/30                          Unilist 1048577 RT-ifl 0
    130.126.0.140/30  130.126.0.134 Unicast 909 RT-ifl 0 xe-0/1/0.0 ifl 83
    130.126.0.145 130.126.0.241 Unicast 859 RT-ifl 0 xe-0/2/0.0 ifl 85
    130.126.0.148/30 130.126.0.241 Unicast 859 RT-ifl 0 xe-0/2/0.0 ifl 85
    130.126.0.152/30 130.126.0.241 Unicast 859 RT-ifl 0 xe-0/2/0.0 ifl 85
    130.126.0.156/30 130.126.0.241 Unicast 859 RT-ifl 0 xe-0/2/0.0 ifl 8

     

    however for same router in show route forwarding-table I do see those multiple NH.

     

    ---show route forwarding-table---
    Routing table: default.inet
    Internet:
    Destination Type RtRef Next hop Type Index NhRef Netif

     

    130.126.0.136/30    user 0                                     ulst    1048577 2
                                                      130.126.0.94          ucst    858         5    xe-0/0/0.0
                                                      130.126.0.134        ucst   909         16   xe-0/1/0.0

     

    3. How do we interpret this entry :

    224.0.1.24.128.174.30.10/64                       Indirect 131078 RT-ifl 76

     

    What does the highlighted entry mean ?

     



  • 2.  RE: Discard, Reject and Unilist route types in show pfe route ip output ?
    Best Answer

    Posted 07-01-2013 23:03

    Hi Jiten:
    1.- Diference between discard and reject is:
       - DISCARD: DROP Packet.
       - REJECT: DROP packet and send ICMP packet to sender.

    Please read http://www.juniper.net/techpubs/software/junos/junos94/swconfig-policy/configuring-a-filter-action-statement.html

    2.- As you can see in (It provide some information) http://www.junosandme.net/article-junos-load-balancing-part-1-introduction-105738134.html

    " On Junos, the load balancing algorithm is the same for ECMP and LAG interfaces. Junos uses the term of “unilist” and “aggregate” Next Hops to refer to ECMP and LAG Next Hops. Forwarding Next Hop is called “unicast”. "

    3.- I think that you are using some multicast protocol like MSDP or PIM:

    http://www.juniper.net/techpubs/software/junos/junos94/swconfig-multicast/example-configuring-msdp.html#id-13355331

    What can you tell about 128.174.30.10 address? It's a interface with PIM or MSDP configurated
    224.0.1.24.128.174.30.10/64                       Indirect 131078 RT-ifl 76

    Bye



  • 3.  RE: Discard, Reject and Unilist route types in show pfe route ip output ?

    Posted 07-02-2013 11:17

    thanks dr_trauma for sharing and explainng my queries.

     

    1. I got the diff from the Junos CookBook as well.

     

    2.  Its weird that show pfe route ip output does not have those Unicast Next Hop following the Unilist entry but the show route forwarding-table does have any idea what could be the reason or am I missing something.  I need to parse the ouput for show pfe route ip but can not find unicast NH for a unilist entry.

     

     

     



  • 4.  RE: Discard, Reject and Unilist route types in show pfe route ip output ?

    Posted 07-02-2013 22:57

    Hi.

    2) Have you tried "show pfe route ip prefix <PREFIX>detail" command?

     

    In http://www.junosandme.net/article-junos-load-balancing-part-1-introduction-105738134.html give you examples about findind Unilist and next hops.

     

    Bye