Related Documentation
show route forwarding-table
Syntax
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
Related Documentation
List of Sample Output
show route forwarding-tableshow 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):
| 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):
| 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