Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show route forwarding-table

    Syntax

    show route forwarding-table <detail | extensive | summary> <ccc interface-name><destination><family family | matching matching><label name><multicast> <table (default | routing-table-name)><vpn vpn>

    Release Information

    Command introduced in JUNOS Release 9.2 for EX-series switches.

    Description

    Display the forwarding table of the routing instance.

    Options

    none

    Display the routes in the forwarding table.

    detail | extensive | summary

    (Optional) Display the specified level of output.

    ccc interface-name

    (Optional) Display route entries for the specified circuit cross-connect interface.

    destination

    (Optional) Destination prefix.

    family family

    (Optional) Display routing table entries for the specified family: inet, inet6, iso, mpls, tnp, unix, or vpls.

    label name

    (Optional) Display route entries for the specified label.

    matching matching

    (Optional) Display routing table entries matching the specified prefix or prefix length.

    multicast

    (Optional) Display routing table entries for multicast routes.

    table (default | routing-table-name)

    (Optional) Display route entries for all the routing tables in the main routing instance or for the specified routing table.

    vpn vpn

    (Optional) Display routing table entries for a specified VPN.

    Required Privilege Level

    view

    List of Sample Output

    show route forwarding-table
    show route forwarding-table detail
    show route forwarding-table extensive

    Output Fields

    Table 1 lists the output fields for the show route forwarding-table command. Output fields are listed in the approximate order in which they appear. Field names may be abbreviated (as shown in parentheses) when no level of output is specified, or when the detail keyword is used instead of the extensive keyword.

    Table 1: show route forwarding-table Output Fields

    Field Name

    Field Description

    Level of Output

    Routing table

    Name of the routing table (for example, inet, inet6, mpls).

    All levels

    Destination

    Destination of the route.

    detail extensive

    Route Type (Type)

    How the route was placed into the forwarding table. When the detail keyword is used, the route type might be abbreviated (as shown in parentheses):

    • cloned (clon)—(TCP or multicast only) Cloned route.
    • destination (dest)—Remote addresses directly reachable through an interface.
    • destination down (iddn)—Destination route for which the interface is unreachable.
    • interface cloned (ifcl)—Cloned route for which the interface is unreachable.
    • route down (ifdn)—Interface route for which the interface is unreachable.
    • ignore (ignr)—Ignore this route.
    • interface (intf)—Installed as a result of configuring an interface.
    • permanent (perm)—Routes installed by the kernel when the routing table is initialized.
    • user—Routes installed by the routing protocol process or as a result of the configuration.

    All levels

    Route Reference (RtRef)

    Number of routes to reference.

    detail extensive

    Next hop

    IP address of the next hop to the destination.

    detail extensive

    Next hop Type (Type)

    Next-hop type. When the detail keyword is used, the next-hop type might be abbreviated (as indicated in parentheses):

    • broadcast (bcst) —Broadcast.
    • deny—Deny.
    • hold—Next hop is waiting to be resolved into a unicast or multicast type.
    • indexed (idxd)—Indexed next hop.
    • indirect (indr)—Indirect next hop.
    • local (locl)—Local address on an interface.
    • routed multicast (mcrt)—Regular multicast next hop
    • multicast (mcst)—Wire multicast next hop (limited to the LAN).
    • multicast discard (mdsc)—Multicast discard.
    • multicast group (mgrp) —Multicast group member.
    • receive (recv)—Receive.
    • reject (rjct) Discard. An ICMP unreachable message was sent.
    • resolve (rslv)—Resolving the next hop.
    • unicast (ucst)—Unicast.
    • unilist (ulst)—List of unicast next hops. A packet sent to this next hop goes to any next hop in the list.

    detail extensive

    Index

    Software index of the next hop that is used to route the traffic for a given prefix.

    detail extensive none

    Reference (NhRef)

    Number of routes that refer to this next hop.

    detail extensive none

    Next-hop interface (Netif)

    Interface used to reach the next hop.

    detail extensive none

    Sample Output

    show route forwarding-table

    user@host> show route forwarding-table
    Routing table: default.inet
    Internet:
    Destination        Type RtRef Next hop           Type Index NhRef Netif
    default            user     1 0:12:f2:21:cf:0    ucst   331     4 me0.0
    default            perm     0                    rjct    36     1
    0.0.0.0/32         perm     0                    dscd    34     1
    10.93.54.0/24      intf     0                    rslv   323     1 me0.0
    10.93.54.0/32      dest     0 10.93.54.0         recv   321     1 me0.0
    10.93.54.1/32      intf     0 10.93.54.1         locl   322     2
    10.93.54.1/32      dest     0 10.93.54.1         locl   322     2
    10.93.54.254/32    dest     0 0:12:f2:21:cf:0    ucst   331     4 me0.0
    10.93.54.255/32    dest     0 10.93.54.255       bcst   320     1 me0.0
    172.23.5.193/32    clon     1 10.93.54.254       ucst   331     4 me0.0
    224.0.0.0/4        perm     0                    mdsc    35     1
    224.0.0.1/32       perm     0 224.0.0.1          mcst    31     1
    255.255.255.255/32 perm     0                    bcst    32     1

    show route forwarding-table detail

    user@host> show route forwarding-table detail
    Routing table: default.inet
    Internet:
    Destination        Type RtRef Next hop           Type Index NhRef Netif
    default            user     1 0:12:f2:21:cf:0    ucst   331     4 me0.0
    default            perm     0                    rjct    36     1
    0.0.0.0/32         perm     0                    dscd    34     1
    10.93.54.0/24      intf     0                    rslv   323     1 me0.0
    10.93.54.0/32      dest     0 10.93.54.0         recv   321     1 me0.0
    10.93.54.1/32      intf     0 10.93.54.1         locl   322     2
    10.93.54.1/32      dest     0 10.93.54.1         locl   322     2
    10.93.54.254/32    dest     0 0:12:f2:21:cf:0    ucst   331     4 me0.0
    10.93.54.255/32    dest     0 10.93.54.255       bcst   320     1 me0.0
    172.23.5.193/32    clon     1 10.93.54.254       ucst   331     4 me0.0
    224.0.0.0/4        perm     0                    mdsc    35     1
    224.0.0.1/32       perm     0 224.0.0.1          mcst    31     1
    255.255.255.255/32 perm     0                    bcst    32     1

    show route forwarding-table extensive

    user@host> show route forwarding-table extensive
    Routing table: default.inet [Index 0]
    Internet:
    
    Destination:  default
      Route type: user
      Route reference: 1                   Route interface-index: 0
      Flags: sent to PFE, rt nh decoupled
      Nexthop: 0:12:f2:21:cf:0
      Next-hop type: unicast               Index: 331      Reference: 4
      Next-hop interface: me0.0

    Modified: 2017-03-29