Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    default-information originate

    Syntax

    For BGP:

    default-information originate [ route-map mapTag ]

    no default-information originate [ route-map [ mapTag ] ]

    For IS-IS:

    [ no ] default-information originate [ route-map mapTag ]

    For RIP:

    [ no ] default-information originate [ route-map mapTag ]

    default-information originate always

    For OSPF:

    [ no ] default-information originate [ always | metric metricValue | metric-type 1 | metric-type 2 | route-map mapTag ]*

    Release Information

    Command introduced before JunosE Release 7.1.0.

    Description

    Enables BGP to advertise a default route (0.0.0.0/0) if the default route exists in the IP routing table. If the default route does not exist, you must configure it using the ip route command.

    When you issue this command in the route-target address family, BGP advertises the Default-RT-MEM-NLRI route (0:0:0/0)

    For IS-IS, OSPF, and RIP, configures a default route for the distribution of default information into the respective routing domain. IS-IS creates the default route (0.0.0.0/0) if it does not exist in the IP routing table. OSPF and RIP do not create the default route unless you use the always option.

    For all protocols, the no version disables advertisement of the default route. The syntax varies with the protocol.

    Options

    • mapTag—Name of route map used to import the default route; string of up to 32 characters
    • always—Creates the default route, so that it is always advertised
    • metricValue—Sets the metric for the default route; in the range 0–4294967295
    • metric-type 1—Sets the default route's metric type to OSPF external type 1
    • metric-type 2—Sets the default route's metric type to OSPF external type 2
    • *—Indicates that one or more parameters can be repeated multiple times in a list in the command line

    Mode

    Address Family Configuration, Router Configuration

    Published: 2014-08-14