Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show route protocol

 

List of Syntax

Syntax

Syntax (EX Series Switches)

Syntax

Syntax (EX Series Switches)

Release Information

Command introduced before Junos OS Release 7.4.

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

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.

Description

Display the route entries in the routing table that were learned from a particular protocol.

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.
protocolProtocol 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

List of 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

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

user@host> show route protocol access

show route protocol arp

user@host> show route protocol arp

show route protocol bgp

user@host> show route protocol bgp 192.168.64.0/21

show route protocol direct

user@host> show route protocol direct

show route protocol frr

user@host> show route protocol frr

show route protocol ldp

user@host> show route protocol ldp

show route protocol ospf (Layer 3 VPN)

user@host> show route protocol ospf

show route protocol rip

user@host> show route protocol rip