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

Configuration Guide - IP Service

CloudEngine 12800 and 12800E V200R005C00

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DNS, IP performance optimization, IPv6, DHCPv6, and IPv6 DNS.
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 switch, the switch 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 switch 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 switch, the switch can send NS packets to check whether neighbors are reachable before aging ND entries. If neighbors are reachable, the switch updates ND entries; otherwise, the switch ages ND entries.

You can enable the switch 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 undo ipv6 nd auto-detect disable

      Automatic detection of ND entries is enabled.

      By default, automatic detection of ND entries is enabled.

    3. Run interface interface-type interface-number

      The specified interface view is displayed.

    4. On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      The command fails if any Layer 2 configuration exists on the interface. In such a case, clear the Layer 2 configurations on the interface before running the undo portswitch command.
      NOTE:

      You can run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch the working mode of multiple Ethernet interfaces in batches.

    5. Run ipv6 enable

      The IPv6 function is enabled.

      By default, the IPv6 function is disabled on an interface.

    6. Run ipv6 nd ra halt disable

      The system is enabled to send RA packets.

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

    7. Run commit

      The configuration is committed.

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

    Run the following commands in the system view.

    Run quit

    Return to the system view.

    • In the system view, run ipv6 nd hop-limit limit

      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 ipv6 nd pre-detect

      Pre-detection of ND entries is enabled.

      By default, pre-detection of ND entries is disabled, which is recommended.

    • In the system view, run ipv6 nd stale-timeout timeout-value

      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 interface interface-type interface-number

    The specified interface view is displayed.

    • Run ipv6 nd stale-timeout timeout-value

      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 ipv6 nd ra hop-limit limit

      The hop limit for RA packets is set.

      By default, the hop limit for RA packets is 64.

    • Run ipv6 nd ns retrans-timer interval

      The interval for sending NS packets is set.

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

    • Run ipv6 nd ra { max-interval maximum-interval | min-interval minimum-interval }

      The interval for sending RA packets is set.

      By default, the maximum interval is 600s. For the minimum interval, if the maximum interval for advertising RA packets is 9s or greater, it is 1/3 of the maximum interval. In other cases, the default minimum interval is the same as the maximum interval for advertising RA packets.

    • Run ipv6 nd ra prefix { ipv6-address prefix-length | ipv6-address/prefix-length } valid-lifetime preferred-lifetime [ no-autoconfig ] [ off-link ]

      Or run ipv6 nd ra prefix default no-advertise

      Prefix information in RA packets is configured.

      By default, an RA packet carries only the address prefix configured using the ipv6 address command.

    • Run ipv6 nd autoconfig managed-address-flag

      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 ipv6 nd autoconfig other-flag

      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 ipv6 nd nud reachable-time value

      The IPv6 neighbor reachable time is set.

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

    • Run ipv6 nd ra router-lifetime ra-lifetime

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

      By default, the lifetime for RA messages is three times of the maximum interval for advertising RA messages.

    • Run ipv6 nd ra preference { high | medium | low }

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

      By default, the priority of the default router in an RA packet is medium.

    • Run ipv6 nd ra route-information ipv6-address prefix-length lifetime route-lifetime [ preference { high | medium | low } ]

      Route option information in RA packets is set.

      By default, no route option information is configured in RA packets.

    • Run ipv6 nd dad attempts value

      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.

    • Run ipv6 nd ra advertised-mtu disable

      The device is configured not to contain the MTU option in RA packets.

      By default, RA packets contain the MTU option.

    Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-18

Document ID: EDOC1100039535

Views: 42849

Downloads: 25

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next