To configure neighbour discovery on a JunOS platform, you include the following statements. Router advertisement are configured on a per-interface basis.

Configuring Prefix Information in Router Advertisements
You can set two fields in the router advertisement message to enable stateful autoconfiguration on a host: the managed-configuration field and the other-stateful-configuration field. Setting the managed configuration field enables the host to use a stateful autoconfiguration protocol for address autoconfiguration, along with any stateless autoconfiguration already configured. Setting the other stateful configuration field enables autoconfiguration of other non address-related information. By default, stateful autoconfiguration is disabled.
On-Link / Not On-Link
Router advertisement messages carry prefixes and information about them. A prefix is on-link when it
is assigned to an interface on a specified link. The prefixes specify whether they are on-link or not onlink.
A node considers a prefix to be on-link 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 on-link.
You can specify prefixes in the router advertisement messages as on-link. When set as on-link, the prefixes are used for on-link determination. By default, prefixes are on-link.
To explicitly set prefixes as on-link or not on-link, include the on-link or no-on-link statement:
[edit protocols router-advertisement interface interface-name prefix prefix]
on-link | no-on-link;
Autonomous / Not Autonomous
You can specify prefixes in the router advertisement messages as autonomous. When set as autonomous, the prefixes are used for stateless address autoconfiguration. By default, prefixes are autonomous.
To explicitly specify prefixes as autonomous, include the autonomous or no-autonomous statement:
[edit protocols router-advertisement interface interface-name prefix prefix]
autonomous | no-autonomous;
