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 8800, 7800, 6800, and 5800 V200R003C00

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 an IPv6 Address Selection Policy Table

Configuring an IPv6 Address Selection Policy Table

If multiple addresses are configured on an interface of the device, the IPv6 address selection policy table can be used to select source and destination addresses for packets.

Pre-configuration Tasks

Before configuring an IPv6 address selection policy table, complete the following tasks:
  • Setting link layer protocol parameters for interfaces to ensure that the link layer protocol status of the interfaces is Up

Context

IPv6 addresses can be classified into different types based on different applications.

  • Link local addresses and global unicast addresses based on the effective range of the IPv6 addresses
  • Temporary addresses and public addresses based on security levels
  • Home addresses and care-of addresses based on the application in the mobile IPv6 field
  • Physical interface addresses and logical interface addresses based on the interface attributes

The preceding IPv6 addresses can be configured on the same interface of the switch. In this case, the device must select a source address or a destination addresses from multiple addresses on the interface. If the device supports the IPv4/IPv6 dual-stack, it also must select IPv4 addresses or IPv6 addresses for communication. For example, if a domain name maps both an IPv4 address and an IPv6 address, the system must select an address to respond to the DNS request of the client.

An IPv6 address selection policy table solves the preceding problems. It defines a group of address selection rules. The source and destination addresses of packets can be specified or planned based on these rules. This table, similar to a routing table, can be queried by using the longest matching rule. The address is selected based on the source and destination addresses.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ipv6 address-policy [ vpn-instance vpn-instance-name ] ipv6-address prefix-length precedence label

    The source or destination address selection policies are configured.

    By default, only default address selection policy entries are contained. These entries are prefixed with ::1, ::, 2002::, FC00::, and ::FFFF:0.0.0.0.

    A maximum of 50 address selection policy entries are supported by the system.

    • The label parameter can be used to determine the result of source address selection. The address whose label value is the same as the label value of the destination address is selected preferably as the source address.
    • The destination address is selected based on both the label and the precedence parameters. If label values of the candidate addresses are the same, the address whose precedence value is largest is selected preferably as the destination address.

  3. Run commit

    The configuration is committed.

Verifying the Configuration

Run the following commands to check the previous configuration.

  • Run the display ipv6 address-policy [ vpn-instance vpn-instance-name ] { all | ipv6-address prefix-length } command to check address selection policy entries.

Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004354

Views: 69156

Downloads: 147

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