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

    on-link

    Syntax

    (on-link | no-on-link);

    Hierarchy Level

    [edit logical-systems logical-system-name protocols router-advertisement interface interface-name prefix prefix],[edit protocols router-advertisement interface interface-name prefix prefix]

    Release Information

    Statement introduced before Junos OS Release 7.4.

    Description

    Specify whether to enable prefixes to be used for onlink determination:

    • no-on-link—Disable prefixes from being used for onlink determination.
    • on-link—Enable prefixes to be used for onlink determination.

    Router advertisement messages carry prefixes and information about them. A prefix is onlink when it is assigned to an interface on a specified link. The prefixes specify whether they are onlink or not onlink. A node considers a prefix to be onlink if it is represented by one of the link’s prefixes, a neighboring router specifies the address as the target of a redirect message, a neighbor advertisement message is received for the (target) address, or any neighbor discovery message is received from the address. These prefixes are also used for address autoconfiguration. The information about the prefixes specifies the lifetime of the prefixes, whether the prefix is autonomous, and whether the prefix is onlink.

    Default

    Prefixes are onlink unless explicitly disabled.

    Required Privilege Level

    routing—To view this statement in the configuration.

    routing-control—To add this statement to the configuration.

    Published: 2013-02-02