Technical Documentation

default-fields route

Syntax

[ no ] default-fields route fieldOptions

Release Information

Command introduced before JunosE Release 7.1.0.

Description

Specifies the fields that will appear by default in the output of any subsequently issued show ip bgp or show bgp ipv6 command that displays routes (except for the show ip bgp summary or show bgp ipv6 summary commands). The no version removes the fields from the output.

Options

  • fieldOptions—Field(s) to be displayed, in the format
    all | [ afi | aggregator | as-path | atomic-aggregate | best | clusters | communities | extended-communities | imported | intro | in-label | loc-pref | med | next-hop | next-hop-cost | origin | originator-id | out-label | peer | peer-type | rd | safi | stale | unknown-types | weight ]*
    • allAll available information; not recommended, because this information for each network does not fit on a single line and is difficult to read
    • afi—Address family identifier
    • aggregatorAS number and IP address of aggregator
    • as-pathAS path through which this route bas been advertised
    • atomic-aggregateWhether the atomic aggregate attribute is present
    • bestWhether this is the best route for the prefix
    • clustersList of cluster IDs through which the route has been advertised
    • communitiesCommunity number associated with the route
    • extended-communities—Extended community
    • importedWhether the route was imported
    • intro—Introductory information about the state of various BGP attributes; this information is displayed only if you specify this keyword
    • in-label—MPLS label for the route; the label received with incoming MPLS frames
    • loc-pref—Local preference for the route
    • med—Multiexit discriminator for the route
    • next-hop—IP address of the next router that is used when forwarding a packet to the destination network
    • next-hop-cost—Whether the indirect next hop of the route is unreachable, if not, displays IGP cost to the indirect next hop
    • out-label—MPLS label for the route; the label with outgoing MPLS frames
    • peer—IP address of BGP peer from which route was learned
    • peer-type—Type of BGP peer: internal, external, or confederation
    • origin—Origin of the route
    • originator-id—Router ID of the router in the local AS that originated the route
    • rd—Route distinguisher
    • safi—Subsequent address family identifier
    • stale—Route that has gone stale due to peer restart
    • unknown-types—Attribute codes for unknown path attributes
    • weight—Weight of the route
    • *—Indicates that one or more parameters can be repeated multiple times in a list in the command line

Mode

Router Configuration


Published: 2010-07-19

Help
|
My Account
|
Log Out