Country

- China
- France
- Germany
- Japan
- Korea
- Spain
- Taiwan
- United Kingdom
- United States

Contact Us
|
Country
United States

# Technical Documentation

- Download Software
- Research a Problem
- Case Management
- Contract & Product Management
- Technical Documentation
  - Advanced Search
  - Documentation Archive
  - Documentation Bug Report
  - Enterprise MIBs
  - File Format Help
  - Glossary
  - Portable Libraries
- End-of-Life Products
- Contact Support
- Guidelines and Policies
- Security Resources

# show ip route

#### Syntax

show ip route [ vrf vrfName ] [ destination [ ipMask ] [ detail ] ] [ all ] [ protocol ]
[ filter ]

To display summary information:

show ip route summary [ vrf vrfName ] [ filter ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Displays current state of the routing table.

#### Options

- vrfName—Displays the contents of the IP routing table associated with a VRF
- destination—Specifies the IP address or domain name of the host to show
- ipMask—IP mask of the specific address to show
- detail—Displays detailed information about the specific prefix; currently shows the tag added by means of the ip route command
- all—Displays all routes in the routing table inserted from all protocols (not just the best routes that are used for forwarding)
- protocol—One of the following protocols for which you want to display the best routes in the routing table; no routes are displayed if routes for the specified protocol are not present in the routing table
  - access—Displays the best access-server routes (BGP) in the routing table
  - access-internal—Displays the best access-internal routes in the routing table
  - bgp—Displays the best BGP routes in the routing table
  - bgp-tunnel—Displays the best BGP tunnel routes in the routing table
  - dvmrp—Displays the best DVMRP routes in the routing table
  - isis—Displays the best IS-IS routes in the routing table
  - ldp—Displays the best LDP tunnel routes in the routing table
  - local—Displays the best locally connected routes in the routing table
  - mbgp—Displays the best MBGP routes in the routing table
  - ospf—Displays the best OSPF routes owned by in the routing table
  - other—Displays the best internal control routes in the routing table
  - rip—Displays the best RIP routes in the routing table
  - rsvp—Displays the best RSVP tunnel routes in the routing table
  - static—Displays the best static routes added by network management to the routing table
  - static-rpf—Displays the best static RPF routes added by network management to the routing table
- summary—Displays summary counters for all routes in the IP routing table
- filter—See Filtering show Commands

#### Mode

Privileged Exec, User Exec

#### Published: 2010-07-14

Help
|
My Account
|
Log Out