Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show route summary

Syntax

Syntax (EX Series Switches)

Operational mode

cli mode

cli-pfe mode.

Description

Display summary statistics about the entries in the routing table. Additionally, displays summary of FIB compression statistics in cli-pfe mode. (PTX and ACX series devices).

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.

rib-sharding (main | rib-shard-name)

(Optional) Display name of the rib shard.

Required Privilege Level

view

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.

Highwater Mark

High-water mark data of routing and forwarding (RIB/FIB) table routes and VRFs in a system. Shows the following details:

  • RIB Unique destination routes

  • RIB routes

  • FIB routes

  • VRF type routing instances

The high-water mark data can also be viewed in the syslog at the LOG_NOTICE level.

routing-table-name

Name of the routing table example:

  • inet.0— List all routes for IPv4.

  • junos-main::inet.0—Lists all active routes for Ipv4.

  • junos-bgpshard0::inet.0—Lists IPv4 routes present in bgpshard0 thread.

  • __raass__inet.inet.0—Lists IPv4 routes stored in RaaS Server that are received from the clients.

  • __raasc__inet.inet.0—Lists IPv4 routes stored in RaaS Clients that are used for local resolution.

  • inet.6— List all routes for IPv6.

  • junos-main::inet6.0— Lists all active routes for IPv6.

  • junos-bgpshard0::inet6.0—Lists IPv6 routes present in bgpshard0 thread.

  • __raass__inet.inet6.0—Lists IPv6 routes stored in RaaS Server that are received from the clients.

  • __raasc__inet.inet6.0—Lists IPv6 routes stored in RaaS Clients that are used for local resolution.

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.

Restart complete

All protocols have restarted for this routing table.

Restart state:

  • Pending:protocol-name—List of protocols that have not yet completed graceful restart for this routing table.

  • Complete—All protocols have restarted for this routing table.

For example, if the output shows-

  • LDP.inet.0: 5 routes (4 active, 1 holddown, 0 hidden)
        Restart Pending: OSPF LDP VPN

    This indicates that OSPF, LDP, and VPN protocols did not restart for LDP.inet.0 routing table.

  • vpls_1.l2vpn.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
    Restart Complete

    This indicates that all protocols have restarted for vpls_1.l2vpn.0 routing table.

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.

Output fields for CLI-PFE mode (ACX7100-32C, ACX7100-48L, and ACX7509 Devices) that display route table statistics at the PFE (for example, IPv4, IPv6, MPLS Route Tables)
Index Routing table index number.
Routes Number of active routes
Size(b) Size of the packets #chk w SME.
Prefixes Actual number of routes published by the peer devices.
Aggr Number of aggregated routes generated by the PFE after compression that includes valid next hops
Installed Number of routes installed on the ACX device.
Comp(%) Route table compression percentage.

Sample Output

show route summary

show route summary (cli-pfe mode in ACX7100-32C, ACX7100-48L, and ACX7509 Devices)

The following command shows the route summary information in cli-pfe mode only:

show route summary table (with rib-sharding configured)

The following command shows the route summary information in junos-bgpshard0 thread only:

show route summary table

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

show route summary rib-sharding

Release Information

Command introduced before Junos OS Release 7.4.

rib-sharding option introduced for cRPD Release 20.1R1.