It appears we get an Access-Internal route inserted in the route table for every DHCP Relay.
How can I stop this? Also how can I remove these unneeded routes?
By default the DHCP process adds route information for the DHCP sessions during the DHCP client binding operation. You can use the route suppression to override this default route installation behavior. For further information on how to do this, refer to the document: Suppressing DHCP Routes
After adding the route suppression commands, if the Access-Internal routes are still present in the routing table, you can manually clear them out this way:
For Local Server:
> clear dhcp server binding <mac/ip> routing-instance <RI-Name>
For DHCP Relay:
> clear dhcp relay binding <mac/ip> routing-instance <RI-Name>
Note: routing-instance knob is only needed if the DHCP is configured on a routing-instance.
2023-10-23 : Article Created02/06/2025 : Minor changes to formatting, appearance and aesthetic.