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.  "show route forwarding-table" Output Meaning

    Posted 9 days ago

    Does anyone know what the trailing dash in the Netif column means?

    user@device> show route forwarding-table table blah destination 1.2.3.4
    Routing table: blah.inet
    Internet:
    Destination        Type RtRef Next hop           Type Index    NhRef Netif
    default            user     0                    ulst   262143     3
                                                     indr   262146     2
                                                     ulst   262150     4
                                                     ucst     1180     2 gr-0/0/0.702
                                                     ucst     1559     2 gr-0/0/0.701 -
                                                     indr   262144     2
                                                     ulst   262147     4
                                                     ucst     1590     2 gr-0/0/0.703 -
                                                     ucst     1608     2 gr-0/0/0.704
    default            perm     0                    rjct     1116     1
    
    ------------------------------------------------------------------------------
    
    user@device> show route forwarding-table table blah destination 1.2.3.4 extensive
    Routing table: blah.inet [Index 14]
    Internet:
    
    Destination:  default
      Route type: user
      Route reference: 0                   Route interface-index: 0
      Multicast RPF nh index: 0
      P2mpidx: 0
      Flags: sent to PFE, rt nh decoupled
      Next-hop type: unilist               Index: 262143   Reference: 3
      Next-hop type: indirect              Index: 262146   Reference: 2
                                        Weight: 0x0
      Next-hop type: unilist               Index: 262150   Reference: 4
      Next-hop type: unicast               Index: 1180     Reference: 2
      Next-hop interface: gr-0/0/0.702  Weight: 0x0
      Next-hop type: unicast               Index: 1559     Reference: 2
      Next-hop interface: gr-0/0/0.701 - Weight: 0x0
      Next-hop type: indirect              Index: 262144   Reference: 2
                                        Weight: 0x0
      Next-hop type: unilist               Index: 262147   Reference: 4
      Next-hop type: unicast               Index: 1590     Reference: 2
      Next-hop interface: gr-0/0/0.703 - Weight: 0x0
      Next-hop type: unicast               Index: 1608     Reference: 2
      Next-hop interface: gr-0/0/0.704  Weight: 0x0
    
    Destination:  default
      Route type: permanent
      Route reference: 0                   Route interface-index: 0
      Multicast RPF nh index: 0
      P2mpidx: 0
      Flags: none
      Next-hop type: reject                Index: 1116     Reference: 1
    


    ------------------------------
    Nikolay Semov
    ------------------------------


  • 2.  RE: "show route forwarding-table" Output Meaning

    Posted 9 days ago

    According to the manual

    Next-hop interface (Netif)

    Interface used to reach the next hop.



    ------------------------------
    SCOTT AITKEN
    ------------------------------



  • 3.  RE: "show route forwarding-table" Output Meaning

    Posted 8 days ago

    Thank you, Scott . Do you happen to know what the dash after the interface name means?



    ------------------------------
    Nikolay Semov
    ------------------------------



  • 4.  RE: "show route forwarding-table" Output Meaning

    Posted 8 days ago

    If it follows the key from the "show route" command it means "Last Active".   That's if.

    show route table mpls.0 label 20

    mpls.0: 118 destinations, 127 routes (118 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both

    Wouldn't be hard to lab to see if that's what it means.



    ------------------------------
    SCOTT AITKEN
    ------------------------------



  • 5.  RE: "show route forwarding-table" Output Meaning

    Posted 7 days ago
    Edited by Nikolay Semov 7 days ago

    I don't think that fits because:

    • "Last active" means it's not currently active, and an inactive route shouldn't even be in the forwarding table to begin with 
    • None of the other symbols from that key seem to show up 
    • XML output shows the dash is appended to the interface name in the "via" field, rather than being its own field 
    • It seems likely that if the indicator symbols were intended to be the same as for the routing table output, so too would the output header been similar by way of including the key at the beginning
    • If it did indicate a last active route, the routing table would have a corresponding route listed with a "-" and it doesn't 



    ------------------------------
    Nikolay Semov
    ------------------------------



  • 6.  RE: "show route forwarding-table" Output Meaning

     
    Posted 8 days ago

    I don't off the top of my head, perhaps try 

    show route forwarding-table table blah destination 1.2.3.4 extensive | display xml

    and see if the XML tags give any indication/pointer as to what it is.

    Regards




  • 7.  RE: "show route forwarding-table" Output Meaning

    Posted 8 days ago

    Great idea, but alas, no further information revealed. It's not a separate field; there's just a dash slapped at the end of the interface name for some reason.

    [... output trimmed ...]
    <nh>
       <to></to>
       <nh-type>unicast</nh-type>
       <nh-index>1180</nh-index>
       <nh-reference-count>2</nh-reference-count>
       <via>gr-0/0/0.702</via>
       <nh-weight>0x0</nh-weight>
    </nh>
    <nh>
       <to></to>
       <nh-type>unicast</nh-type>
       <nh-index>1559</nh-index>
       <nh-reference-count>2</nh-reference-count>
       <via>gr-0/0/0.701 -</via>
       <nh-weight>0x0</nh-weight>
    </nh>
    [... output trimmed ...]


    ------------------------------
    Nikolay Semov
    ------------------------------