Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show route protocol

Syntax

Syntax (EX Series Switches)

Syntax (PTX and ACX Series Switches)

Operational mode

cli mode

cli-pfe mode.

Description

Display the route entries in the routing table that were learned from a particular protocol. Displays details about routes installed in cli-pfe mode after FIB compression of FIB compression statistics (PTX and ACX series devices only).

Options

brief | detail | extensive | terse

(Optional) Display the specified level of output. If you do not specify a level of output, the system defaults to brief.

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

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

protocol

Protocol from which the route was learned:

  • access—Access route for use by DHCP application

  • access-internal—Access-internal route for use by DHCP application

  • aggregate—Locally generated aggregate route

  • arp—Route learned through the Address Resolution Protocol

  • atmvpn—Asynchronous Transfer Mode virtual private network

  • bgp—Border Gateway Protocol

  • ccc—Circuit cross-connect

  • direct—Directly connected route

  • dvmrp—Distance Vector Multicast Routing Protocol

  • esis—End System-to-Intermediate System

  • flow—Locally defined flow-specification route

  • frr—Precomputed protection route or backup route used when a link goes down

  • isis—Intermediate System-to-Intermediate System

  • ldp—Label Distribution Protocol

  • l2circuit—Layer 2 circuit

  • l2vpn—Layer 2 virtual private network

  • local—Local address

  • mpls—Multiprotocol Label Switching

  • msdp—Multicast Source Discovery Protocol

  • ospf—Open Shortest Path First versions 2 and 3

  • ospf2—Open Shortest Path First versions 2 only

  • ospf3—Open Shortest Path First version 3 only

  • pim—Protocol Independent Multicast

  • rip—Routing Information Protocol

  • ripng—Routing Information Protocol next generation

  • rsvp—Resource Reservation Protocol

  • rtarget—Local route target virtual private network

  • static—Statically defined route

  • tunnel—Dynamic tunnel

  • vpn—Virtual private network

Note:

EX Series switches run a subset of these protocols. See the switch CLI for details.

Required Privilege Level

view

Output Fields

For information about output fields, see the output field tables for the show route command, the show route detail command, the show route extensive command, or the show route terse command.

Sample Output

show route protocol access

show route protocol arp

show route protocol bgp

show route protocol direct

show route protocol frr

show route protocol ldp

show route protocol ospf (Layer 3 VPN)

show route protocol rip

show route protocol rsvp extensive

show route protocol index prefix detail (ACX7100-32C, ACX7100-48L, and ACX7509 Devices)

Displays if a route is installed or not when FIB compression is enabledIf the route is not installed, the command displays the details of the parent route installed, that compressed the route.

Release Information

Command introduced before Junos OS Release 7.4.

ospf2 and ospf3 options introduced in Junos OS Release 9.2.

ospf2 and ospf3 options introduced in Junos OS Release 9.2 for EX Series switches.

flow option introduced in Junos OS Release 10.0.

flow option introduced in Junos OS Release 10.0 for EX Series switches.