No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - IP Service

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Neighbor Discovery

Configuring Neighbor Discovery

Context

IPv6 NDP provides address resolution, neighbor unreachability detection, DAD, router/prefix discovery, address autoconfiguration, and redirection.

NOTE:

After the IPv6 function is enabled on the router, the router automatically implements address resolution, DAD, and redirection. Neighbor unreachability detection, router/prefix discovery, and address autoconfiguration need to be manually configured. You can also configure the router to send RA packets to enable router/prefix discovery and address autoconfiguration, and enable the automatic detection of ND entries to check whether neighbors are reachable.

After the automatic detection of ND entries is enabled on the router, the router can send NS packets to check whether neighbors are reachable before aging ND entries. If neighbors are reachable, the router updates ND entries; otherwise, the router ages ND entries.

You can enable the router to send RA packets. After receiving the RA packets, network nodes perform address autoconfiguration and router/prefix discovery based on the prefix and other configuration information contained in RA packets.

After the preceding configurations are complete, NDP functions work properly. You can also adjust ND parameters based on service requirements.

Procedure

  1. Run the following commands to enable NDP functions to work properly.

    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The specified interface view is displayed.

    3. Run undo ipv6 nd ra halt

      The system is enabled to send RA packets.

      By default, the system is disabled from sending RA packets.

      NOTE:

      To configure neighbor discovery on a subinterface, you need to run the ipv6 nd ns multicast-enable command to enable the subinterface to send NS multicast packets.

  2. (Optional) After completing the preceding steps, adjust ND parameters to meet service requirements.

    Run the following commands in the system view.

    Run quitipv6 nd hop-limit limitipv6 nd stale-timeout timeout-valueinterface interface-type interface-numberipv6 nd stale-timeout timeout-valueipv6 nd ns retrans-timer intervalipv6 nd ra { max-interval maximum-interval | min-interval minimum-interval }ipv6 nd ra prefix default no-advertiseipv6 nd ra prefix ipv6-address prefix-length valid-lifetime preferred-lifetime [ no-autoconfig ] [ off-link ]ipv6 nd autoconfig managed-address-flagipv6 nd autoconfig other-flagipv6 nd nud reachable-time valueipv6 nd ra router-lifetime ra-lifetimeipv6 nd ra preference { high | medium | low }ipv6 nd ra route-information ipv6-address prefix-length lifetime route-lifetime [ preference { high | medium | low } ]ipv6 nd dad attempts value

    Return to the system view.

    • In the system view, run:

      The hop limit for IPv6 unicast packets initially sent by a device is set.

      By default, the IPv6 unicast packets initially sent by a device can travel a maximum of 64 hops.

    • In the system view, run:

      The aging time of ND entries in STALE state is set.

      By default, the aging time of ND entries in STALE state is 1200 seconds.

    Run the following commands on the interface.

    Run

    The specified interface view is displayed.

    • Run

      The aging time of ND entries in STALE state is set.

      By default, the aging time of ND entries in STALE state is not set on interfaces and is the same as the aging time set in the system view.

    • Run

      The interval for sending NS packets is set.

      By default, the interval for sending NS packets is 1000 ms.

    • Run

      The interval for sending RA packets is set.

      By default, the maximum interval is 600s and the minimum interval is 200s.

    • (Optional) Run

      RA messages are configured not to carry the default prefix generated based on the interface IPv6 address.

      By default, RA messages carry the default prefix generated based on the interface IPv6 address.

    • Run

      Prefix information in RA packets is configured.

      By default, the prefix in RA packets is the network prefix of the link where the interface sending RA packets resides.

      Prefixes configured using the ipv6 nd ra prefix command take precedence over the default prefix generated based on the interface IPv6 address. An RA packet can carry a maximum of 10 prefixes. If exactly 10 prefixes are configured manually, the default prefix is not used.

    • Run

      The managed address configuration flag (M flag) for stateful autoconfiguration in RA packets is set.

      By default, the M flag in an RA packet is not set.

    • Run

      The other configuration flag (O flag) for stateful autoconfiguration in RA packets is set.

      By default, the O flag in an RA packet is not set.

    • Run

      The IPv6 neighbor reachable time is set.

      By default, the IPv6 neighbor reachable time is 1200000 ms.

    • Run

      The time to live (TTL) is set for RA packets.

      By default, the TTL of RA packets is 1800s.

    • Run

      The priority of the default router in RA packets is set.

    • Run

      Route option information in RA packets is set.

    • Run

      The number of times NS packets are sent when the system performs DAD is set.

      By default, the number of times NS packets are sent when the system performs DAD is 1.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069333

Views: 43991

Downloads: 204

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next