[Contents] [Prev] [Next] [Index] [Report an Error]


show route source-gateway

Syntax

show route source-gateway address

Description

Display the entries in the routing table that were learned from a particular address. The Source field in the show route detail command output lists the source for each route, if known.

Options

address—IP address of the system.

Required Privilege Level

view

Output Fields

routing-table-name—Name of the routing table; for example, inet.0.

destinations—Number of destinations for which there are routes in the routing table.

routes—Number of routes in the routing table:

prefix—Route address.

[protocol/preference ]—Protocol from which the route was learned and the route's preference value.

+—A plus sign before [protocol/preference ] indicates the active route, which is the route installed from the routing table into the forwarding table.

—A hyphen before [protocol/preference ] indicates the last active route.

*—An asterisk before [protocol/preference ] indicates that the route is both the active and the last active route. An asterisk before a to line indicates the best subpath to the route.

time—How long the route has been known.

from—Address and interface from which route was learned.

AS Path—AS path included in the route.

[ ]—Brackets enclose the local AS number associated with the AS path if more than one AS number is configured on the router.

{ }—Braces enclose AS sets, which are groups of AS numbers in which the order does not matter. A set commonly results from route aggregation. The numbers in each AS set are displayed in ascending order.

( )—Parentheses enclose a confederation.

( [ ] )—Enclose a confederation set.

Sample Output

user@host> show route source-gateway 131.103.20.49
inet.0: 46035 destinations, 46035 routes (46033 active, 0 holddown, 2 hidden)
+ = Active Route, - = Last Active, * = Both
 
4.0.0.0/8          *[BGP/170] 04:43:40, from 131.103.20.49
                   AS Path: {666} 234 2548 1 IGP
                     to 192.156.169.1 via 192.156.169.14(de0.0)
6.0.0.0/8          *[BGP/170] 04:43:40, from 131.103.20.49
                   AS Path: {666} 234 2548 568 721 Incomplete
                     to 192.156.169.1 via 192.156.169.14(de0.0)
...

[Contents] [Prev] [Next] [Index] [Report an Error]