The map-rule command binds a MAP rule to an IPv6 delegation prefix pool.
The undo map-rule command deletes the binding between a MAP rule and an IPv6 delegation prefix pool.
By default, no MAP rule is bound to an IPv6 delegation prefix pool.
This command is supported only on the NetEngine 8000 F1A.
Usage Scenario
In the MAP-E or MAP-T scenario, the device uses IA-PD to assign MAP prefixes to MAP users. After a MAP rule is bound to an IPv6 delegation prefix pool configured using the map-rule command, the device uses the configured MAP rule to assign MAP prefixes to MAP-E and MAP-T users.
Prerequisites
The map-rule command has been run in the system view, and an IPv6 prefix and its length, an IPv4 prefix and its length, and an EA length have been specified for the MAP rule.
Precautions
<HUAWEI> system-view [~HUAWEI] map rule map [*HUAWEI-map-rule-map] rule-prefix 1111::1 prefix-length 48 ipv4-prefix 192.168.10.0 prefix-length 24 ea-length 16 psid-offset 4 [*HUAWEI-map-rule-map] commit [~HUAWEI-map-rule-map] quit [~HUAWEI] ipv6 prefix test delegation Info: Create a prefix pool. [*HUAWEI-ipv6-prefix-test] commit [~HUAWEI-ipv6-prefix-test] map-rule map