Supported Platforms
show route export
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.
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
List of Sample Output
show route exportshow route export detail
show route export instance detail
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:
| detail |
Options | (instance keyword only) Configured option displays the type of routing tables the feature handles:
| 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
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
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
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