Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show route export

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show route export 
<brief | detail> 
<instance <instance-name> | routing-table-name>
<logical-system (all | logical-system-name)>

Syntax (EX Series Switches)

content_copy zoom_out_map
show route export 
<brief | detail> 
<instance <instance-name> | routing-table-name>

Description

Display policy-based route export information. Policy-based export simplifies the process of exchanging route information between routing instances.

Options

none

(Same as brief.) Display standard information about policy-based export for all instances and routing tables on all systems.

brief | detail

(Optional) Display the specified level of output.

instance <instance-name>

(Optional) Display a particular routing instance for which policy-based export is currently enabled.

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

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

routing-table-name

(Optional) Display information about policy-based export 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 export inet command).

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show route export command. Output fields are listed in the approximate order in which they appear.

Table 1: show route export Output Fields

Field Name

Field Description

Level of Output

Table or table-name

Name of the routing tables that either import or export routes.

All levels

Routes

Number of routes exported from this table into other tables. If a particular route is exported to different tables, the counter will only increment by one.

brief none

Export

Whether the table is currently exporting routes to other tables: Y or N (Yes or No).

brief none

Import

Tables currently importing routes from the originator table. (Not displayed for tables that are not exporting any routes.)

detail

Flags

(instance keyword only) Flags for this feature on this instance:

  • config auto-policy—The policy was deduced from the configured IGP export policies.

  • cleanup—Configuration information for this instance is no longer valid.

  • config—The instance was explicitly configured.

detail

Options

(instance keyword only) Configured option displays the type of routing tables the feature handles:

  • unicast—Indicates instance.inet.0.

  • multicast—Indicates instance.inet.2.

  • unicast multicast—Indicates instance.inet.0 and instance.inet.2.

detail

Import policy

(instance keyword only) Policy that route export uses to construct the import-export matrix. Not displayed if the instance type is vrf.

detail

Instance

(instance keyword only) Name of the routing instance.

detail

Type

(instance keyword only) Type of routing instance: forwarding, non-forwarding, or vrf.

detail

Sample Output

show route export

content_copy zoom_out_map
user@host> show route export   
Table                            Export           Routes
inet.0                           N                     0
black.inet.0                     Y                     3
red.inet.0                       Y                     4

show route export detail

content_copy zoom_out_map
user@host> show route export detail    
inet.0                                          Routes:        0
black.inet.0                                    Routes:        3
  Import: [ inet.0 ]
red.inet.0                                      Routes:        4
  Import: [ inet.0 ]

show route export instance detail

content_copy zoom_out_map
user@host> show route export instance detail    
Instance: master                        Type: forwarding    
  Flags: <config auto-policy> Options: <unicast multicast>
  Import policy: [ (ospf-master-from-red || isis-master-from-black) ]
Instance: black                         Type: non-forwarding
Instance: red                           Type: non-forwarding

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation