The ipv6 hostcar hash-arithmetic all-ip command configures the hostcar hash rule as the 128 bits of IPv6 address for the Layer 3 IPv6 user packets on a BAS interface.
The undo ipv6 hostcar hash-arithmetic all-ip command cancels the configuration of hostcar hash rule as the 128 bits of IPv6 address for the Layer 3 IPv6 user packets on a BAS interface.
By default, Layer 3 IPv6 user packets on a BAS interface are sent to the hostcar channel based on the key obtained using the "first 64 bits of IPv6 address + MAC address" hostcar hash rule.
This command is supported only on the NetEngine 8000 F1A.
Usage Scenario
If the IPv6 addresses of multiple IPv6 users have the same first 64 bits, Layer 3 IPv6 user packets are sent to the same channel by default. This may lead to channel congestion if there are a large number of users, thereby affecting the user access performance. To configure the device to hash packets based on the 128 bits of a user IPv6 address, run the ipv6 hostcar hash-arithmetic all-ip command. That is, Layer 3 IPv6 user packets are sent based on the "first 64 bits of IPv6 ^ last 64 bits of IPv6 address + MAC address" hostcar hash rule. (^ indicates the exclusive OR algorithm.)
Prerequisites
The user access type has been set to Layer 3 common access on the BAS interface using the access-type layer3-subscriber command.
Precautions
In VS mode, this command is supported only by the admin VS.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] bas [~HUAWEI-GigabitEthernet0/1/0-bas] access-type layer3-subscriber [*HUAWEI-GigabitEthernet0/1/0-bas] commit [~HUAWEI-GigabitEthernet0/1/0-bas] ipv6 hostcar hash-arithmetic all-ip