ipv6 nd ra preference
Function
The ipv6 nd ra preference command sets the priority of the default router in an RA packet.
The undo ipv6 nd ra preference command restores the priority of the default router in an RA packet to the default value.
By default, the priority of the default router in an RA packet is medium.
Parameters
Parameter | Description | Value |
---|---|---|
high | Sets the default router priority to high. | - |
medium | Sets the default router priority to medium. | - |
low | Sets the default router priority to low. | - |
Usage Guidelines
Usage Scenario
When multiple wireless access controllers exist on the link where a host resides, the host chooses the forwarding wireless access controller based on the destination address of the packet. Each wireless access controller sends an RA packet that contains the default router priority and route information to the host, which helps the host choose the proper wireless access controller based on the destination address. The host updates its routing table after receiving the RA packet. To forward packets to other devices, the host checks the routing table to choose the proper route.
When the default router list of the host includes multiple entries, run this command to configure the wireless access controller with the highest priority on the local link as the default wireless access controller (gateway) of the host.
Prerequisites
The IPv6 function has been enabled on the interface using the ipv6 enable command in the interface view.
By default, the wireless access controller does not send RA packets. You need to run the undo ipv6 nd ra halt command to enable the wireless access controller to send RA packets to the host.
Precautions
If the interface is being unbound from the VPN instance that has IPv6 address family enabled, the system displays a message, indicating that this command cannot be run.