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

    show route summary

    Syntax

    show route summary<logical-system (all | logical-system-name)><table routing-table-name>

    Syntax (EX Series Switches)

    show route summary

    Release Information

    Command introduced before Junos OS Release 7.4.

    Command introduced in Junos OS Release 9.0 for EX Series switches.

    Description

    Display summary statistics about the entries in the routing table.

    CPU utilization might increase while the device learns routes. We recommend that you use the show route summary command after the device learns and enters the routes into the routing table. Depending on the size of your network, this might take several minutes. If you receive a “timeout communicating with routing daemon” error when using the show route summary command, wait several minutes before attempting to use the command again. This is not a critical system error, but you might experience a delay in using the command-line interface (CLI).

    Options

    none
    —

    Display summary statistics about the entries in the routing table.

    logical-system (all | logical-system-name)
    —

    (Optional) Perform this operation on all logical systems or on a particular logical system.

    table routing-table-name
    —

    (Optional) Display summary statistics for all routing tables whose name begins with this string (for example, inet.0 and inet6.0 are both displayed when you run the show route summary table inet command). If you only want to display statistics for a specific routing table, make sure to enter the exact name of that routing table.

    Required Privilege Level

    view

    List of Sample Output

    show route summary
    show route summary table
    show route summary table (with Route Limits Configured for the Routing Table)

    Output Fields

    Table 1 lists the output fields for the show route summary command. Output fields are listed in the approximate order in which they appear.

    Table 1: show route summary Output Fields

    Field Name

    Field Description

    Router ID

    Address of the local routing device.

    routing-table-name

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

    destinations

    Number of destinations for which there are routes in the routing table.

    routes

    Number of routes in the routing table:

    • active—Number of routes that are active.
    • holddown—Number of routes that are in the hold-down state before being declared inactive.
    • hidden—Number of routes that are not used because of routing policy.

    Limit/Threshold

    Displays the configured route limits for the routing table set with the maximum-prefixes and the maximum-paths statements. If you do not configure route limits for the routing table, the show output does not display this information.

    • destinations—The first number represents the maximum number of route prefixes installed in the routing table. The second number represents the number of route prefixes that trigger a warning message.
    • routes—The first number represents the maximum number of routes. The second number represents the number of routes that trigger a warning message.

    Direct

    Routes on the directly connected network.

    Local

    Local routes.

    protocol-name

    Name of the protocol from which the route was learned. For example, OSPF, RSVP, and Static.

    Sample Output

    show route summary

    user@host> show route summary
    Autonomous system number: 69
    Router ID: 10.255.71.52
    Maximum-ECMP: 32
    inet.0: 24 destinations, 25 routes (23 active, 0 holddown, 1 hidden)
    Restart Complete
                  Direct:      6 routes,      5 active
                   Local:      4 routes,      4 active
                    OSPF:      5 routes,      4 active
                  Static:      7 routes,      7 active
                    IGMP:      1 routes,      1 active
                     PIM:      2 routes,      2 active
    
    inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
    Restart Complete
                    RSVP:      2 routes,      2 active
    
    iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
    Restart Complete
                  Direct:      1 routes,      1 active
    
    mpls.0: 7 destinations, 7 routes (5 active, 0 holddown, 2 hidden)
    Restart Complete
                    MPLS:      3 routes,      3 active
                    VPLS:      4 routes,      2 active
    
    inet6.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
    Restart Complete
                  Direct:      2 routes,      2 active
                     PIM:      2 routes,      2 active
                     MLD:      1 routes,      1 active
    
    green.l2vpn.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
    Restart Complete
                     BGP:      2 routes,      2 active
                   L2VPN:      2 routes,      2 active
    
    red.l2vpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
    Restart Complete
                     BGP:      2 routes,      2 active
                   L2VPN:      1 routes,      1 active
    
    bgp.l2vpn.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
    Restart Complete
                     BGP:      4 routes,      4 active
    

    show route summary table

    user@host> show route summary table inet
    Router ID: 192.168.0.1
    
    inet.0: 32 destinations, 34 routes (31 active, 0 holddown, 1 hidden)
                  Direct:      6 routes,      5 active
                   Local:      9 routes,      9 active
                    OSPF:      3 routes,      1 active
                  Static:     13 routes,     13 active
                    IGMP:      1 routes,      1 active
                     PIM:      2 routes,      2 active
    
    inet.1: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
               Multicast:      1 routes,      1 active
    
    inet6.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
                   Local:      1 routes,      1 active
                     PIM:      2 routes,      2 active
    
    inet6.1: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
               Multicast:      1 routes,      1 active
    

    show route summary table (with Route Limits Configured for the Routing Table)

    user@host> show route summary table VPN-A.inet.0
    Autonomous system number: 100
    Router ID: 10.255.182.142
    
    VPN-A.inet.0: 13 destinations, 14 routes (13 active, 0 holddown, 0 hidden)
    Limit/Threshold: 2000/200 destinations 20/12 routes
                  Direct:      2 routes,      2 active
                   Local:      1 routes,      1 active
                    OSPF:      4 routes,      3 active
                     BGP:      4 routes,      4 active
                    IGMP:      1 routes,      1 active
                     PIM:      2 routes,      2 active

    Published: 2013-08-15