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

    Protocol-Independent Routing Operational Mode Commands

    Table 1 summarizes the command-line interface (CLI) commands you can use to monitor and troubleshoot protocol-independent routing properties. Commands are listed in alphabetical order.

    Note: The show route command has a lengthy set of options. Therefore, this chapter describes each option as a separate command. You can, however, combine several options and issue them as single show route command. For example, show route ccc exact.

    The exceptions to this convention are the show as-path, show route damping, show route export, show route export-vrf-target, show route forwarding-table, show route instance, and show route martians commands, which cannot be used with any other options (other than level of output options, such as detail and extensive).

    The show route flow validation command can only be used with the table option.

    Table 1: Protocol-Independent Routing Operational Mode Commands

    Task

    Command

    Display known autonomous system (AS) paths.

    show as-path

    Display AS path domain information.

    show as-path domain

    Display AS path summary information.

    show as-path summary

    Display information about the entries in the routing tables.

    show route

    Display routes that are currently active.

    show route active-path

    Display routes transmitted by a particular routing protocol.

    show route advertising-protocol

    Display all information about all routes.

    show route all

    Display routes containing a specified AS path.

    show route aspath-regex

    Display the best route to the specified address or range of addresses.

    show route best

    Display brief information about the entries in the routing table.

    show route brief

    Display circuit cross-connect (CCC) entries in the Multiprotocol Link Switching (MPLS) routing table.

    show route ccc

    Display routes containing members of a specified BGP community.

    show route community

    Display routes containing members of a specified BGP community based on a particular community name.

    show route community-name

    Display routes that have been damped.

    show route damping

    Display detailed information about the entries in the routing table.

    show route detail

    Display routes that exactly match the specified address or range of addresses.

    show route exact

    Display list of instances or routing tables that are importers or exporters of routes.

    show route export

    Display target communities for which autoexport is currently distributing routes.

    show route export vrf-target

    Display extensive information about the entries in the routing table.

    show route extensive

    Display the best route to an address.

    show route flow validation

    Display the Junos OS forwarding table.

    show route forwarding-table

    Display information about the interfaces in the Junos OS forwarding table.

    show route forwarding-table interface-name

    Display hidden routes only.

    show route hidden

    Display routes that are not preferred.

    show route inactive-path

    Display routes that are currently inactive.

    show route inactive-prefix

    Display routing instance information.

    show route instance

    Display routes corresponding to a specified label value.

    show route label

    Display routes that form a label-switched path.

    show route label-switched-path

    Display route localization information.

    show route localization

    Display information about martian addresses.

    show route martians

    Display routes that contain the specified next hop.

    show route next-hop

    Display routes not associated with any BGP community.

    show route no-community

    Display routes exiting the router through the specified interface.

    show route output

    Display routes learned by the specified protocol.

    show route protocol

    Display routes in a range of destination prefixes.

    show route range

    Display routes received by a particular routing protocol.

    show route receive-protocol

    Display entries in the next-hop resolution database.

    show route resolution

    Display routes learned from snooping.

    show route snooping

    Display routes learned from the specified source.

    show route source-gateway

    Display statistics about the routes in all routing tables.

    show route summary

    Display routes in a particular routing table.

    show route table

    Display high-level summary of routing table information.

    show route terse

    Note: For information about how to configure protocol-independent features, see the Junos Routing Protocols Configuration Guide and the Junos Policy Framework Configuration Guide.

    Published: 2013-03-14